summaryrefslogtreecommitdiff
path: root/games-util
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-24 06:30:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-24 06:30:58 +0000
commit17e417b73cb3e25edbc6541bd107bc9c593d66bd (patch)
tree866f98b73f846149d0c9e7e5a1cf0527b7c54e08 /games-util
parent338095605b6c9c82690f77f27a32490c9a57bdcb (diff)
gentoo auto-resync : 24:12:2024 - 06:30:57
Diffstat (limited to 'games-util')
-rw-r--r--games-util/Manifest.gzbin7906 -> 7909 bytes
-rw-r--r--games-util/xpadneo/Manifest4
-rw-r--r--games-util/xpadneo/xpadneo-0.9.7.ebuild54
-rw-r--r--games-util/xpadneo/xpadneo-9999.ebuild2
4 files changed, 58 insertions, 2 deletions
diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz
index 6bb61eb3778c..3b01419465ee 100644
--- a/games-util/Manifest.gz
+++ b/games-util/Manifest.gz
Binary files differ
diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest
index 0b0e71245095..e46bf592f096 100644
--- a/games-util/xpadneo/Manifest
+++ b/games-util/xpadneo/Manifest
@@ -1,5 +1,7 @@
AUX xpadneo-0.9.6-kernel-6.12.patch 754 BLAKE2B 061ae8fd13b11aee70138ce46848cf3c58c5167e115d81fd1b58af37c8f9448678b3a9853893c7f4b957635204438419da45ba88a473d097163c6689b5bc6f49 SHA512 605f1f60ddb250079c5411ffc8c7269ee88ba347ff6e3ad2e31d13ab2ae89c0e96a1a5c408a64e9e9d640fc4692cbc6ccc8b2880f368e13a503239e00c205e2c
DIST xpadneo-0.9.6.tar.gz 1344171 BLAKE2B 22a85732de2894d310e0994c101ed62b7358f1b6b8ba5b389fc273bfd48a1ce619ebc04f3699818290f61833234d4c444fff25ea852d9dcf420b99ab28687a03 SHA512 f423fb89cf911c727917591d79909acaecc9fdb68ca10c5cc2a128bd66174799f3efb2b9a87e43bb315ab92ddb7513f79300f06d347fabc9de11e63fc1d25689
+DIST xpadneo-0.9.7.tar.gz 1348791 BLAKE2B 6715e684d046ad3162db65196896d23f0c70046d02adbf5886d849818120fb731acb86da0a9e18e54b56b31220911ea25c296f1b8473eb0f0fca4fe96b98712b SHA512 c5a3438fef6215f3dd733099f8d5fc86b55b092f3d808969040eb38b29c4fd786f5d3ee547cfc403e6f2c0af90106f91c4d4cf3954295f2e5b11e12949ca3069
EBUILD xpadneo-0.9.6.ebuild 1272 BLAKE2B 16b2cbf209b8f8b481ec6a1698aea9bb4ab63f5bd5467d55314ede0637021ace0527fb5406363404a0b31dae74ce3ca8b6f1fb13afbb9efb970ff61a35fe72be SHA512 ec7093cac6f1de8e23e2770d85e32c72e43aa381ee8d91a8de7acf7016e3063cea4a09d182f9d929232bf7c795dda9472d5d235295b90921fc494c57cc3e285d
-EBUILD xpadneo-9999.ebuild 1222 BLAKE2B 6b2a1f8faaaeebc3f406f53bc9b5eb6ce6fd8a00c5d15c7ddc2bd4a44cd49dd44d26a7cb1bbacba54872ea61018680e211c00135dcf2e727e5e9b73b9a949631 SHA512 5a0fb0b032dbc825fdffec1298614de19027900d6c38ce7eb5c0f4ecb1716108462ca3ec5a0cf862cf1f824c066c72e73405d760e82c2b2985b55868afc84e77
+EBUILD xpadneo-0.9.7.ebuild 1215 BLAKE2B 33f146d1fa9928e967e41dd2289fae2b58ac92f72173dca0929e858f5b743bb23c36447af16617f529b73acd95019c9442519cd2a264ed059ab42032c6dcb601 SHA512 be4bd4e0edaf05d84b3197e14eaa49b9ddc7e420aa8f396ce6a246fb579dbc4cf436be884f9b9bbe1253f0c3b5b2cded73ef4fc9e5433049716a1b0a6e1b782e
+EBUILD xpadneo-9999.ebuild 1215 BLAKE2B 33f146d1fa9928e967e41dd2289fae2b58ac92f72173dca0929e858f5b743bb23c36447af16617f529b73acd95019c9442519cd2a264ed059ab42032c6dcb601 SHA512 be4bd4e0edaf05d84b3197e14eaa49b9ddc7e420aa8f396ce6a246fb579dbc4cf436be884f9b9bbe1253f0c3b5b2cded73ef4fc9e5433049716a1b0a6e1b782e
MISC metadata.xml 328 BLAKE2B 6511430d43b855d83d42dc94ea83bf20867568e9dbf642240ac279179d9f26d0a315f3fb90bebd4a564d4bc63beefcb8aa24af7acf25a60f9b25f732265de41b SHA512 defbfc601b6b61d10edf8947e2251f96416787a1141fccff1e017a6110eb4d8e8801fcd72cc678f816064eb5a5dc796c9c895ca9f74ad288f1338ccaaf3ee5c8
diff --git a/games-util/xpadneo/xpadneo-0.9.7.ebuild b/games-util/xpadneo/xpadneo-0.9.7.ebuild
new file mode 100644
index 000000000000..3327d7fff523
--- /dev/null
+++ b/games-util/xpadneo/xpadneo-0.9.7.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 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
+}
diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild
index d57edd3bce17..3327d7fff523 100644
--- a/games-util/xpadneo/xpadneo-9999.ebuild
+++ b/games-util/xpadneo/xpadneo-9999.ebuild
@@ -36,7 +36,7 @@ src_install() {
insinto /etc/modprobe.d
doins hid-${PN}/etc-modprobe.d/${PN}.conf
- udev_dorules hid-${PN}/etc-udev-rules.d/60-${PN}.rules
+ udev_dorules hid-${PN}/etc-udev-rules.d/*.rules
}
pkg_postinst() {