commit:     c55507031969148dd7ad8f205f59563f973ca12c
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 30 02:33:12 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Dec 30 02:36:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5550703

games-util/xpadneo: add 0.9.8

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/xpadneo/Manifest             |  1 +
 games-util/xpadneo/xpadneo-0.9.8.ebuild | 54 +++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index 9b6e0ef7a37d..bb4d69aeb2f5 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1 +1,2 @@
 DIST xpadneo-0.9.7.tar.gz 1348791 BLAKE2B 
6715e684d046ad3162db65196896d23f0c70046d02adbf5886d849818120fb731acb86da0a9e18e54b56b31220911ea25c296f1b8473eb0f0fca4fe96b98712b
 SHA512 
c5a3438fef6215f3dd733099f8d5fc86b55b092f3d808969040eb38b29c4fd786f5d3ee547cfc403e6f2c0af90106f91c4d4cf3954295f2e5b11e12949ca3069
+DIST xpadneo-0.9.8.tar.gz 1431768 BLAKE2B 
1cddb91cdd4b055fda5c09112af5441da621c07b14f61a0094cbfffa9a7b746491bff6ea0858a28b1e91a204af2822d005a28ed3b1354b6a367a3eee0fc7250c
 SHA512 
8ec29834587fd8ca8127e6bb1bdea15be40bcb8a11bfb9be3e6f5069f50521ffc93a431ac3a265a3301da64a6e0cfab1166e44b7b1aca0f963a492398d6e684a

diff --git a/games-util/xpadneo/xpadneo-0.9.8.ebuild 
b/games-util/xpadneo/xpadneo-0.9.8.ebuild
new file mode 100644
index 000000000000..7b84f9b3cf38
--- /dev/null
+++ b/games-util/xpadneo/xpadneo-0.9.8.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-mod-r1 udev
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/atar-axis/xpadneo.git";
+       EGIT_MIN_CLONE_TYPE="single"
+else
+       SRC_URI="https://github.com/atar-axis/xpadneo/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Advanced Linux Driver for Xbox One Wireless Controller"
+HOMEPAGE="https://atar-axis.github.io/xpadneo/";
+
+LICENSE="GPL-3"
+SLOT="0"
+
+CONFIG_CHECK="INPUT_FF_MEMLESS"
+
+src_compile() {
+       local modlist=( hid-${PN}=kernel/drivers/hid:hid-${PN}:hid-${PN}/src )
+       local modargs=( KERNEL_SOURCE_DIR="${KV_OUT_DIR}" )
+
+       linux-mod-r1_src_compile
+}
+
+src_install() {
+       local DOCS=( docs/{[^i]*.md,descriptors,reports} NEWS.md )
+       linux-mod-r1_src_install
+
+       insinto /etc/modprobe.d
+       doins hid-${PN}/etc-modprobe.d/${PN}.conf
+
+       udev_dorules hid-${PN}/etc-udev-rules.d/*.rules
+}
+
+pkg_postinst() {
+       linux-mod-r1_pkg_postinst
+       udev_reload
+
+       if [[ ! ${REPLACING_VERSIONS} ]]; then
+               elog "To pair the gamepad and view module options, see 
documentation in:"
+               elog "  ${EROOT}/usr/share/doc/${PF}/"
+       fi
+}
+
+pkg_postrm() {
+       udev_reload
+}

Reply via email to