summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoranthraxx2016-02-11 17:19:44 +0100
committeranthraxx2016-02-11 17:19:44 +0100
commit5623c2e6b7e9896f36582e952e57f957b6bf34c7 (patch)
tree9c6304bf855a44ff0c2fc7974d3f0735dbb5bfbc
parenta7f5d5f9e75dcdbbf880ae3fb3f07c5d8f99df3c (diff)
downloadaur-5623c2e6b7e9896f36582e952e57f957b6bf34c7.tar.gz
upgpkg: xboxdrv 0.8.8-1
upstream release
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD19
-rw-r--r--xboxdrv.service12
3 files changed, 26 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 77562f480b5..33299fca24d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Thu Feb 11 16:19:44 UTC 2016
pkgbase = xboxdrv
pkgdesc = Userspace gamepad driver for Linux
- pkgver = 0.8.7
+ pkgver = 0.8.8
pkgrel = 1
url = http://pingus.seul.org/~grumbel/xboxdrv
arch = i686
@@ -10,18 +12,16 @@ pkgbase = xboxdrv
makedepends = boost
makedepends = pkg-config
makedepends = libx11
- makedepends = dbus-glib
- makedepends = libusb
depends = libx11
depends = dbus-glib
- depends = libusbx
- depends = python2
+ depends = libusb
+ depends = python2-dbus
backup = etc/default/xboxdrv
- source = xboxdrv-0.8.7.tar.gz::https://github.com/xboxdrv/xboxdrv/archive/v0.8.7.tar.gz
+ source = xboxdrv-0.8.8.tar.gz::https://github.com/xboxdrv/xboxdrv/archive/v0.8.8.tar.gz
source = xboxdrv.service
source = xboxdrv.default
- sha512sums = 7d72d3e55be048ee005ee4c6383eb8620811d949a02005ce6c01b2866e836040392cef0691ce8cfd8402264c071c9088485ab15b47655578206962b4d3fc280a
- sha512sums = f1094119372512b29c070949606d6ee7ebd119195a717ddac8a60a0c94016b7d82b569283f02e05ad3e5e76227e8437c7072d346b30960d1eb2a4a681894d5d3
+ sha512sums = 3f27856da211a14e27a84fa5919da7965262adc36da16c75eed9bae891098183b5751a3e707573b4ab64e69096ea74d455e8f64827c88b38b65af94cc13b34ad
+ sha512sums = cb6efe6d2254e46c3913cd1f913133deb8e7223ff3bfe49bb17aef20dfa9d30332fe4d0aa2e812eb3199103571b5a79d4475c89f74a09d7b8f1f26ecce38ec05
sha512sums = 4f6e9a12b208254e19daba477dd7787147a8b2c8a83007d92f8cfce6212c21ce3306f23a2669080f0e46986ca102ab08c262b42c678caf1a891326b4e2c40b5f
pkgname = xboxdrv
diff --git a/PKGBUILD b/PKGBUILD
index a86612f5fe2..5331c38280f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,25 +3,25 @@
# Contributor: Kevin MacMartin <prurigro at gmail dot com>
pkgname=xboxdrv
-pkgver=0.8.7
+pkgver=0.8.8
pkgrel=1
-pkgdesc="Userspace gamepad driver for Linux"
-url="http://pingus.seul.org/~grumbel/xboxdrv"
+pkgdesc='Userspace gamepad driver for Linux'
+url='http://pingus.seul.org/~grumbel/xboxdrv'
arch=('i686' 'x86_64')
license=('GPL3')
-depends=('libx11' 'dbus-glib' 'libusbx' 'python2')
-makedepends=('scons' 'boost' 'pkg-config' 'libx11' 'dbus-glib' 'libusb')
+depends=('libx11' 'dbus-glib' 'libusb' 'python2-dbus')
+makedepends=('scons' 'boost' 'pkg-config' 'libx11')
backup=("etc/default/${pkgname}")
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xboxdrv/${pkgname}/archive/v${pkgver}.tar.gz
${pkgname}.service
${pkgname}.default)
-sha512sums=('7d72d3e55be048ee005ee4c6383eb8620811d949a02005ce6c01b2866e836040392cef0691ce8cfd8402264c071c9088485ab15b47655578206962b4d3fc280a'
- 'f1094119372512b29c070949606d6ee7ebd119195a717ddac8a60a0c94016b7d82b569283f02e05ad3e5e76227e8437c7072d346b30960d1eb2a4a681894d5d3'
+sha512sums=('3f27856da211a14e27a84fa5919da7965262adc36da16c75eed9bae891098183b5751a3e707573b4ab64e69096ea74d455e8f64827c88b38b65af94cc13b34ad'
+ 'cb6efe6d2254e46c3913cd1f913133deb8e7223ff3bfe49bb17aef20dfa9d30332fe4d0aa2e812eb3199103571b5a79d4475c89f74a09d7b8f1f26ecce38ec05'
'4f6e9a12b208254e19daba477dd7787147a8b2c8a83007d92f8cfce6212c21ce3306f23a2669080f0e46986ca102ab08c262b42c678caf1a891326b4e2c40b5f')
prepare() {
cd ${pkgname}-${pkgver}
- sed -r 's|(env python)$|\12|g' -i xboxdrvctl
+ sed 's|python|python2|g' -i examples/*.py
}
build() {
@@ -38,6 +38,9 @@ package() {
make PREFIX=/usr DESTDIR="${pkgdir}" install
install -Dm 644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
install -Dm 644 "${srcdir}/${pkgname}.default" "${pkgdir}/etc/default/${pkgname}"
+ install -Dm 644 README.md NEWS PROTOCOL -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+ install -Dm 644 data/org.seul.Xboxdrv.conf -t "${pkgdir}/etc/dbus-1/system.d"
}
# vim: ts=2 sw=2 et:
diff --git a/xboxdrv.service b/xboxdrv.service
index 88699afaed1..88de3e2711f 100644
--- a/xboxdrv.service
+++ b/xboxdrv.service
@@ -1,10 +1,12 @@
[Unit]
-Description = Gamepad management daemon
+Description=Xbox controller driver daemon
+Documentation=man:xboxdrv(1)
[Service]
-User = root
-Type = simple
-ExecStart = /usr/bin/xboxdrv -D -c /etc/default/xboxdrv --detach-kernel-driver
+Type=forking
+User=root
+PIDFile=/var/run/xboxdrv.pid
+ExecStart=/usr/bin/xboxdrv --daemon --pid-file /var/run/xboxdrv.pid -c /etc/default/xboxdrv --detach-kernel-driver --deadzone 4000 --deadzone-trigger 10%
[Install]
-WantedBy = multi-user.target
+WantedBy=multi-user.target