Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : razer-drivers | name : openrazer | ||||
JoshStrobl: Let's get this updated to 2.5.0 while we're at it. | |||||
Not Done Inline ActionsAbsolutely, will do ? Jacalz: Absolutely, will do ? | |||||
| version : 2.4.0 | version : 2.5.0 | ||||
| release : 142 | release : 143 | ||||
| source : | source : | ||||
| - https://github.com/openrazer/openrazer/releases/download/v2.4.0/openrazer-2.4.0.tar.xz : 332ee525696ae1bb831f22bf2c699f028fbc8053445aaf6e5c9c2a2dc2760853 | - https://github.com/openrazer/openrazer/releases/download/v2.5.0/openrazer-2.5.0.tar.xz : 7cae0b3eebe2f3435521a109fdeb0da68c45e46d931fd3ec7ea354c4502c4e41 | ||||
| license : GPL-2.0 | license : GPL-2.0-or-later | ||||
| component : | component : | ||||
| - kernel.drivers | - kernel.drivers | ||||
| - current : kernel.drivers | - current : kernel.drivers | ||||
| - common : system.utils | - common : system.utils | ||||
| - modaliases : kernel.drivers | - modaliases : kernel.drivers | ||||
| summary : | summary : | ||||
| - A collection of Linux drivers for the Razer devices | - A collection of Linux drivers for the Razer devices | ||||
| - common : Common component for razer-drivers kernel modules | - common : Common component for openrazer kernel modules | ||||
| - current : razer-drivers for the linux-current kernel | - current : openrazer for the linux-current kernel | ||||
| - modaliases : These files are used by the Software Center for hardware detection. | - modaliases : These files are used by the Software Center for hardware detection. | ||||
| description: | | description: | | ||||
| A collection of Linux drivers for the Razer devices, providing kernel drivers, DBus services and Python bindings to interact with the DBus interface | A collection of Linux drivers for the Razer devices, providing kernel drivers, DBus services and Python bindings to interact with the DBus interface | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(dbus-1) | - pkgconfig(dbus-1) | ||||
| - pkgconfig(fftw3) | - pkgconfig(fftw3) | ||||
| - pkgconfig(libelf) | - pkgconfig(libelf) | ||||
| - pkgconfig(SDL2_image) | - pkgconfig(SDL2_image) | ||||
| Show All 17 Lines | - common : | ||||
| - python-notify2 | - python-notify2 | ||||
| - python-setproctitle | - python-setproctitle | ||||
| - python-daemonize | - python-daemonize | ||||
| - python3-dbus | - python3-dbus | ||||
| - python3-gobject | - python3-gobject | ||||
| - python3-pyudev | - python3-pyudev | ||||
| - xaut | - xaut | ||||
| - xdotool | - xdotool | ||||
| - razer-drivers-common | - openrazer-common | ||||
| - current : | - current : | ||||
| - razer-drivers-common | - openrazer-common | ||||
| replaces : | |||||
| - razer-drivers | |||||
| - common : razer-drivers-common | |||||
| - current : razer-drivers-current | |||||
| - modaliases : razer-drivers-modaliases | |||||
| setup : | | setup : | | ||||
| sed -i "s|depmod||g" Makefile | sed -i "s|depmod||g" Makefile | ||||
| pushd ../ | pushd ../ | ||||
| cp -a "openrazer-${version}" lts-build | cp -a "openrazer-${version}" lts-build | ||||
| cp -a "openrazer-${version}" current-build | cp -a "openrazer-${version}" current-build | ||||
| build : | | build : | | ||||
| pushd .. | pushd .. | ||||
| pushd lts-build | pushd lts-build | ||||
| KVER=%kernel_version_lts% | KVER=%kernel_version_lts% | ||||
| %make KERNELDIR=/lib/modules/$KVER/build MODULEDIR=/lib/modules/$KVER/kernel/drivers/hid | %make KERNELDIR=/lib/modules/$KVER/build MODULEDIR=/lib/modules/$KVER/kernel/drivers/hid | ||||
| pushd ../current-build | pushd ../current-build | ||||
| KVER=%kernel_version_current% | KVER=%kernel_version_current% | ||||
| %make KERNELDIR=/lib/modules/$KVER/build MODULEDIR=/lib/modules/$KVER/kernel/drivers/hid | %make KERNELDIR=/lib/modules/$KVER/build MODULEDIR=/lib/modules/$KVER/kernel/drivers/hid | ||||
| # Generate modaliases from the LTS tree | # Generate modaliases from the LTS tree | ||||
| pushd ../lts-build | pushd ../lts-build | ||||
| mkmodaliases "${package}" -o "${package}.modaliases" driver/*.ko | mkmodaliases "${package}" -o "${package}.modaliases" driver/*.ko | ||||
| install : | | install : |- | ||||
| pushd .. | pushd .. | ||||
| pushd lts-build | pushd lts-build | ||||
| KVER=%kernel_version_lts% | KVER=%kernel_version_lts% | ||||
| install -d -m 00644 $installdir/lib/modules/$KVER/kernel/drivers/hid | install -d -m 00644 $installdir/lib/modules/$KVER/kernel/drivers/hid | ||||
| %make install_i_know_what_i_am_doing KERNELDIR=/lib/modules/$KVER/build MODULEDIR=/lib/modules/$KVER/kernel/drivers/hid DESTDIR=$installdir | %make install_i_know_what_i_am_doing KERNELDIR=/lib/modules/$KVER/build MODULEDIR=/lib/modules/$KVER/kernel/drivers/hid DESTDIR=$installdir | ||||
| # Razer's build system really flops when things already exist.. Autotools wouldn't hurt. | # Razer's build system really flops when things already exist.. Autotools wouldn't hurt. | ||||
| rm -rf $installdir/usr | rm -rf $installdir/usr | ||||
| pushd ../current-build | pushd ../current-build | ||||
| Show All 9 Lines | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
Let's get this updated to 2.5.0 while we're at it.