summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss2017-10-21 13:24:33 +0200
committerLuca Weiss2017-10-21 13:24:33 +0200
commitabf89a61fc4eb14808842fa116fbc786bfe19726 (patch)
tree07340ffa562ce074ad226b18f2b9343ce60dcbd5
parent8f536685bed7efd2c4051dd12bec8409f2e3d916 (diff)
downloadaur-abf89a61fc4eb14808842fa116fbc786bfe19726.tar.gz
OpenRazer package rename
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD41
-rw-r--r--openrazer-daemon.install (renamed from razer-daemon.install)2
-rw-r--r--openrazer-driver-arch.install (renamed from razer-driver-arch.install)0
-rw-r--r--openrazer-driver-dkms.install (renamed from razer-driver-dkms.install)0
5 files changed, 44 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9f821f0d77f..3ae5e3eeaa8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -11,17 +11,20 @@ pkgbase = razer-drivers
source = https://github.com/openrazer/openrazer/archive/v2.0.0.tar.gz
sha256sums = 34a8bef78086d8fb10e59c8e719aca94500c95a9048dd9ef0cfce01e0ae6e89e
-pkgname = python-razer
+pkgname = python-openrazer
pkgdesc = Python library for accessing the Razer daemon from Python.
- depends = razer-daemon
+ depends = openrazer-daemon
depends = python
depends = python-dbus
depends = python-numpy
+ provides = python-razer
+ conflicts = python-razer
+ replaces = python-razer
-pkgname = razer-daemon
+pkgname = openrazer-daemon
pkgdesc = Userspace daemon that abstracts access to the kernel driver. Provides a DBus service for applications to use.
- install = razer-daemon.install
- depends = razer-driver-dkms
+ install = openrazer-daemon.install
+ depends = openrazer-driver-dkms
depends = python-dbus
depends = python-gobject
depends = python-setproctitle
@@ -32,20 +35,26 @@ pkgname = razer-daemon
depends = python-pyudev
depends = gtk3
depends = dbus-glib
+ provides = razer-daemon
+ conflicts = razer-daemon
+ replaces = razer-daemon
-pkgname = razer-driver-dkms
+pkgname = openrazer-driver-dkms
pkgdesc = Kernel driver for Razer devices (DKMS-variant)
- install = razer-driver-dkms.install
+ install = openrazer-driver-dkms.install
depends = dkms
depends = udev
provides = OPENRAZER-MODULES
+ provides = razer-driver-dkms
conflicts = OPENRAZER-MODULES
+ conflicts = razer-driver-dkms
+ replaces = razer-driver-dkms
pkgname = openrazer-meta
pkgdesc = Meta package for installing all required openrazer packages.
- depends = razer-driver-dkms
- depends = razer-daemon
- depends = python-razer
+ depends = openrazer-driver-dkms
+ depends = openrazer-daemon
+ depends = python-openrazer
optdepends = polychromatic: frontend
optdepends = razergenie: qt frontend
optdepends = razercommander: gtk frontend
diff --git a/PKGBUILD b/PKGBUILD
index 4bcc9b9b240..78ba4d504e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>
# Maintainer: Gabriele Musco <emaildigabry@gmail.com>
-# This PKGBUILD is configured to only build razer-driver-dkms, razer-daemon & python-razer by default.
+# This PKGBUILD is configured to only build openrazer-driver-dkms, openrazer-daemon & python-openrazer by default.
# Kernel modules for the stock kernel (package "linux") can be built into a package by setting the variable "build_kernel_modules" to "true".
build_kernel_modules=false
@@ -9,12 +9,12 @@ build_kernel_modules=false
_newname=openrazer
pkgbase=razer-drivers
-pkgname=('python-razer' 'razer-daemon' 'razer-driver-dkms' 'openrazer-meta')
+pkgname=('python-openrazer' 'openrazer-daemon' 'openrazer-driver-dkms' 'openrazer-meta')
if $build_kernel_modules; then
# For kernel update: Update the two variables and the .install file!
_linux_current=4.12
_linux_next=4.13
- pkgname+=('razer-driver-arch')
+ pkgname+=('openrazer-driver-arch')
fi
pkgver=2.0.0
#_commit=6ae1f7d55bf10cc6b5cb62a5ce99ff22c43e0701
@@ -34,9 +34,12 @@ else
fi
sha256sums=('34a8bef78086d8fb10e59c8e719aca94500c95a9048dd9ef0cfce01e0ae6e89e')
-package_python-razer() {
+package_python-openrazer() {
pkgdesc="Python library for accessing the Razer daemon from Python."
- depends=('razer-daemon' 'python' 'python-dbus' 'python-numpy')
+ depends=('openrazer-daemon' 'python' 'python-dbus' 'python-numpy')
+ provides=('python-razer')
+ conflicts=('python-razer')
+ replaces=('python-razer')
if [ -z $_commit ]; then
cd $srcdir/$_newname-$pkgver
else
@@ -45,11 +48,14 @@ package_python-razer() {
make DESTDIR=$pkgdir python_library_install
}
-package_razer-daemon() {
+package_openrazer-daemon() {
pkgdesc="Userspace daemon that abstracts access to the kernel driver. Provides a DBus service for applications to use."
- depends=('razer-driver-dkms' 'python-dbus' 'python-gobject' 'python-setproctitle' 'xautomation' 'xdotool' 'libdbus' 'python-notify2' 'python-pyudev' 'gtk3' 'dbus-glib')
+ depends=('openrazer-driver-dkms' 'python-dbus' 'python-gobject' 'python-setproctitle' 'xautomation' 'xdotool' 'libdbus' 'python-notify2' 'python-pyudev' 'gtk3' 'dbus-glib')
+ provides=('razer-daemon')
+ conflicts=('razer-daemon')
+ replaces=('razer-daemon')
# gtk3 for "gi.require_version('Gdk', '3.0')"
- install=razer-daemon.install
+ install=openrazer-daemon.install
if [ -z $_commit ]; then
cd $srcdir/$_newname-$pkgver
@@ -59,12 +65,13 @@ package_razer-daemon() {
make DESTDIR=$pkgdir daemon_install
}
-package_razer-driver-dkms() {
+package_openrazer-driver-dkms() {
pkgdesc="Kernel driver for Razer devices (DKMS-variant)"
depends=('dkms' 'udev')
- provides=('OPENRAZER-MODULES')
- conflicts=('OPENRAZER-MODULES')
- install=razer-driver-dkms.install
+ provides=('OPENRAZER-MODULES' 'razer-driver-dkms')
+ conflicts=('OPENRAZER-MODULES' 'razer-driver-dkms')
+ replaces=('razer-driver-dkms')
+ install=openrazer-driver-dkms.install
if [ -z $_commit ]; then
cd $srcdir/$_newname-$pkgver
@@ -76,7 +83,7 @@ package_razer-driver-dkms() {
package_openrazer-meta() {
pkgdesc="Meta package for installing all required openrazer packages."
- depends=('razer-driver-dkms' 'razer-daemon' 'python-razer')
+ depends=('openrazer-driver-dkms' 'openrazer-daemon' 'python-openrazer')
optdepends=('polychromatic: frontend'
'razergenie: qt frontend'
'razercommander: gtk frontend')
@@ -97,13 +104,13 @@ build() {
make DESTDIR=$pkgdir KERNELDIR=/usr/lib/modules/$_kernver/build driver
}
-package_razer-driver-arch() {
+package_openrazer-driver-arch() {
pkgdesc="Kernel driver for Razer devices (for stock 'linux' kernel)"
depends=('udev')
depends=("linux>=$_linux_current" "linux<$_linux_next")
- provides=('OPENRAZER-MODULES' 'razer-driver-dkms')
- conflicts=('OPENRAZER-MODULES' 'razer-driver-dkms')
- install=razer-driver-arch.install
+ provides=('OPENRAZER-MODULES' 'openrazer-driver-dkms')
+ conflicts=('OPENRAZER-MODULES' 'openrazer-driver-dkms')
+ install=openrazer-driver-arch.install
if [ -z $_commit ]; then
cd $srcdir/$_newname-$pkgver
diff --git a/razer-daemon.install b/openrazer-daemon.install
index 4ecd532aeb7..d0716d9f115 100644
--- a/razer-daemon.install
+++ b/openrazer-daemon.install
@@ -1,5 +1,5 @@
msg() {
- echo "==> You might want to enable razer-daemon.service with the command \"systemctl --user enable --now razer-daemon.service\""
+ echo "==> You might want to enable razer-daemon.service with the command \"systemctl --user enable --now openrazer-daemon.service\""
}
post_upgrade() {
diff --git a/razer-driver-arch.install b/openrazer-driver-arch.install
index f79accea627..f79accea627 100644
--- a/razer-driver-arch.install
+++ b/openrazer-driver-arch.install
diff --git a/razer-driver-dkms.install b/openrazer-driver-dkms.install
index 13935a1ed82..13935a1ed82 100644
--- a/razer-driver-dkms.install
+++ b/openrazer-driver-dkms.install