Package Details: xpadneo-dkms-git 0.9.r54.g7d1e6fd-4

Git Clone URL: https://aur.archlinux.org/xpadneo-dkms-git.git (read-only, click to copy)
Package Base: xpadneo-dkms-git
Description: Advanced Linux Driver for Xbox One Wireless Gamepad
Upstream URL: https://github.com/atar-axis/xpadneo
Licenses: GPL
Conflicts: xpadneo-dkms
Provides: xpadneo-dkms
Submitter: yangtsesu
Maintainer: joeleg
Last Packager: joeleg
Votes: 42
Popularity: 0.62
First Submitted: 2018-06-12 16:34 (UTC)
Last Updated: 2021-04-03 00:38 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

katt commented on 2021-02-13 13:20 (UTC)

@daemon https://wiki.archlinux.org/index.php/Makepkg#Usage

deemon commented on 2021-02-12 17:13 (UTC)

==> ERROR: Cannot find the fakeroot binary. error making: xpadneo-dkms-git

joeleg commented on 2021-02-10 02:03 (UTC) (edited on 2021-02-10 02:04 (UTC) by joeleg)

@pinsl: Sure, although I don't have a raspberry pi to test against, so I will be relying on you to let me know when something fails. Feel free to add yourself as a co-maintainer if you're willing

pinsl commented on 2021-02-09 20:42 (UTC)

Works fine on my raspberry pi 4. Maybe add at least armv7l to the arch variable in the pkgbuild?

l0b0 commented on 2021-01-29 07:05 (UTC)

@xrayfur: The package builds with the current latest commit, 6162dbc58a273b92b2ce854112b4250f3ea8dab0.

xrayfur commented on 2021-01-19 19:23 (UTC) (edited on 2021-01-19 19:26 (UTC) by xrayfur)

==> Starting package()...
* replacing version string if necessary
sed: can't read hid-xpadneo/src/version.h: No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
error making: xpadneo-dkms-git

Package no longer builds due to error. Broken since commit: https://github.com/atar-axis/xpadneo/commit/581adfb222557aacb875c1529c88c9aaf13c6742

hero commented on 2020-11-15 18:20 (UTC) (edited on 2020-11-15 18:20 (UTC) by hero)

The version information was moved into its own file (See this commit). So the PKGBUILD needs to be adapted. Also the version replacement can be simplified by using the already existing $pkgver. I use this PKGBUILD right now: https://gist.github.com/He-Ro/d23a6e64e880b8d30ed04ca3d3265dfd

mike_penner commented on 2020-11-13 20:45 (UTC) (edited on 2020-11-16 18:12 (UTC) by mike_penner)

After removing all traces of this package and the xpadneo-dkms package, I've been using this PKGBUILD with success.

_pkgname=xpadneo
pkgname=xpadneo-dkms-git
pkgver=0.8.r76.gde0c176
pkgrel=1
pkgdesc='Advanced Linux Driver for Xbox One Wireless Gamepad'
arch=('x86_64')
url='https://github.com/atar-axis/xpadneo'
license=('GPL')
depends=('dkms' 'bluez' 'bluez-utils' 'linux-headers')
makedepends=('git')
conflicts=('xpadneo-dkms')
provides=('xpadneo-dkms')
source=('git+https://github.com/atar-axis/xpadneo.git')
sha256sums=('SKIP')

pkgver() {
    cd "${srcdir}/${_pkgname}"
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
    cd "${srcdir}/${_pkgname}"

    echo "* replacing version string if necessary"
    sed -i 's/PACKAGE_VERSION="@DO_NOT_CHANGE@"/PACKAGE_VERSION="'${pkgver}'"/g' hid-xpadneo/dkms.conf
    sed -i 's/#define DRV_VER "@DO_NOT_CHANGE@"/#define DRV_VER "'${pkgver}'"/g' hid-xpadneo/src/version.h

    sed -i 's@/etc/udev/rules\.d@/usr/lib/udev/rules\.d@g' hid-xpadneo/dkms.post_install
    sed -i 's@/etc/udev/rules\.d@/usr/lib/udev/rules\.d@g' hid-xpadneo/dkms.post_remove

    echo "* copying module into /usr/src"
    install -dm755 ${pkgdir}/usr/src/hid-xpadneo-${pkgver}
    cp --recursive $PWD/hid-xpadneo/* ${pkgdir}/usr/src/hid-xpadneo-${pkgver}
}

hero commented on 2020-11-13 19:14 (UTC)

The dkms installation is broken, because the pkgversion contains hyphens (-). These are not allowed in the pkgversion as well as the dkms version, see https://wiki.archlinux.org/index.php/PKGBUILD#pkgver.

deemon commented on 2020-11-12 13:10 (UTC)

and the log does say:

DKMS make.log for hid-xpadneo-v0.8-57-g2126928 for kernel 4.19.154-1-MANJARO (x86_64)
N 12 nov   2020 15:04:32 EET
make: Entering directory '/usr/lib/modules/4.19.154-1-MANJARO/build'
scripts/Makefile.build:45: /var/lib/dkms/hid-xpadneo/v0.8-57-g2126928/build/src/Makefile: No such file or directory
make[1]: *** No rule to make target '/var/lib/dkms/hid-xpadneo/v0.8-57-g2126928/build/src/Makefile'.  Stop.
make: *** [Makefile:1550: _module_/var/lib/dkms/hid-xpadneo/v0.8-57-g2126928/build/src] Error 2
make: Leaving directory '/usr/lib/modules/4.19.154-1-MANJARO/build'