From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- games-util/xpadneo/Manifest | 6 +-- games-util/xpadneo/xpadneo-0.9.1.ebuild | 77 --------------------------------- games-util/xpadneo/xpadneo-0.9.4.ebuild | 74 +++++++++++++++++++++++++++++++ games-util/xpadneo/xpadneo-9999.ebuild | 4 +- 4 files changed, 79 insertions(+), 82 deletions(-) delete mode 100644 games-util/xpadneo/xpadneo-0.9.1.ebuild create mode 100644 games-util/xpadneo/xpadneo-0.9.4.ebuild (limited to 'games-util/xpadneo') diff --git a/games-util/xpadneo/Manifest b/games-util/xpadneo/Manifest index 5d57fb8a2c98..1b5b56a042a0 100644 --- a/games-util/xpadneo/Manifest +++ b/games-util/xpadneo/Manifest @@ -1,4 +1,4 @@ -DIST xpadneo-0.9.1.tar.gz 1353080 BLAKE2B fc2207e005cae629da50048330cbaa7d27183b0bbb083d35c3c144e91470273b8c7006c4b62d10b947dbe4fd003ca39623630923e477aa4eff3c243405d876bd SHA512 51063d104f165018b8430e26d2ab5a622c214efaaba3f7706cc99892b2054f57667b419672de5c2696189d389401b07024658c36a88343d980de9802789bcb10 -EBUILD xpadneo-0.9.1.ebuild 2473 BLAKE2B 1d49b48289fe22271ce39ee5a1fd451b34cd6086ac8f11713003e8b525c321c201058917c31b198a5799abcc3517aeb570977b21fa3016393b3c5cc13929939a SHA512 8fdd8aff6c636b537f562b1d880d5eed9bb8b657eac2b8ddf1b1b2daaf2bb19116ac5d3d8ef230b3ff8924672258d83d33b396897dc74f380076a66b87db965e -EBUILD xpadneo-9999.ebuild 2303 BLAKE2B 960138b07e9cfc3be48536ecb2975128244b00d44bc15b6961267fa482c8c34ae5727a8bb2a9f26034109c368a37e92a305dc85b7990367cf78c3914bdf1205f SHA512 adb2a879fe617d94797f1679126cdfc412c9a1d08c353f942079dae64678c475eab303aced5be89c8f730cbd40163488582d73d6e7da2d94b7958a97eaaa605c +DIST xpadneo-0.9.4.tar.gz 1342566 BLAKE2B 82c5bd4e9d68e0b9465047d446a1ffe0c95b9590d76f1c6cec2d6e1c770a6c3f7c6c47cffef5ce27c449f1ada854dd9b6e6413791360c0d8eee8a697718bb320 SHA512 347b0a066044926681863b342a71e5a9a03e9ca58b5f1c5e20b5d7d68d92b373c14ec809b3bd6e0d719f53792b146966a03e169f997a5f65cef762d6058d0d01 +EBUILD xpadneo-0.9.4.ebuild 2303 BLAKE2B d2fb6917074519884902d2037c2d07259ef1e9c65199f0734c0265d29f432712157e1d2ec7e8aa97e005be8b7c7691d8015ef584111afa2a5f284135c6eae858 SHA512 f63983701cd920e01526a7f01d318dc0d66365b1d79628bcf9e3d88ca65d1d4de324b69e904f179e7d0107dd5a60302ef8168d2ad63bb29a94b5d6673d822552 +EBUILD xpadneo-9999.ebuild 2303 BLAKE2B d2fb6917074519884902d2037c2d07259ef1e9c65199f0734c0265d29f432712157e1d2ec7e8aa97e005be8b7c7691d8015ef584111afa2a5f284135c6eae858 SHA512 f63983701cd920e01526a7f01d318dc0d66365b1d79628bcf9e3d88ca65d1d4de324b69e904f179e7d0107dd5a60302ef8168d2ad63bb29a94b5d6673d822552 MISC metadata.xml 328 BLAKE2B 6511430d43b855d83d42dc94ea83bf20867568e9dbf642240ac279179d9f26d0a315f3fb90bebd4a564d4bc63beefcb8aa24af7acf25a60f9b25f732265de41b SHA512 defbfc601b6b61d10edf8947e2251f96416787a1141fccff1e017a6110eb4d8e8801fcd72cc678f816064eb5a5dc796c9c895ca9f74ad288f1338ccaaf3ee5c8 diff --git a/games-util/xpadneo/xpadneo-0.9.1.ebuild b/games-util/xpadneo/xpadneo-0.9.1.ebuild deleted file mode 100644 index 828d24913b9c..000000000000 --- a/games-util/xpadneo/xpadneo-0.9.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# pkgcheck note: toolchain-funcs is not unused -inherit linux-mod toolchain-funcs 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" - -S="${WORKDIR}/${P}/hid-${PN}" -MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)" -BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"' -BUILD_TARGETS="modules" - -CONFIG_CHECK="INPUT_FF_MEMLESS" - -src_install() { - linux-mod_src_install - - insinto /etc/modprobe.d - doins etc-modprobe.d/${PN}.conf - - udev_dorules etc-udev-rules.d/60-${PN}.rules - - dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md - newdoc ../misc/kernel_patches/0001-fix_bluetooth_reconnect.patch \ - L2CAP-fix-for-kernel-5.11-or-older.patch -} - -pkg_postinst() { - linux-mod_pkg_postinst - udev_reload - - local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm - if kernel_is -ge 5 12; then - if [[ $(<${disable_ertm}) == Y ]]; then - elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled." - elog "This is no longer recommended with kernel >=5.12 to use ${PN}." - elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:" - elog " echo N > ${disable_ertm}" - elog "After changing, may need to re-pair the gamepad with bluetooth." - fi - elif [[ $(<${disable_ertm}) == N ]]; then - elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled." - elog "While keeping enabled is recommended for rumble usage stability, it can" - elog "cause connection issues without kernel >=5.12 or the L2CAP kernel patch" - elog "provided in ${EROOT}/usr/share/doc/${PF}/" - elog "If needed, this mode can be disabled by running:" - elog " echo Y > ${disable_ertm}" - elog " echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf" - elog "After changing, may need to re-pair the gamepad with bluetooth." - fi - - 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() { - linux-mod_pkg_postrm - udev_reload -} diff --git a/games-util/xpadneo/xpadneo-0.9.4.ebuild b/games-util/xpadneo/xpadneo-0.9.4.ebuild new file mode 100644 index 000000000000..b193e5517951 --- /dev/null +++ b/games-util/xpadneo/xpadneo-0.9.4.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# pkgcheck note: toolchain-funcs is not unused +inherit linux-mod toolchain-funcs 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" + +S="${WORKDIR}/${P}/hid-${PN}" +MODULE_NAMES="hid-${PN}(kernel/drivers/hid::src)" +BUILD_PARAMS='V=1 LD="$(tc-getLD)" KERNEL_SOURCE_DIR="${KV_OUT_DIR}"' +BUILD_TARGETS="modules" + +CONFIG_CHECK="INPUT_FF_MEMLESS" + +src_install() { + linux-mod_src_install + + insinto /etc/modprobe.d + doins etc-modprobe.d/${PN}.conf + + udev_dorules etc-udev-rules.d/60-${PN}.rules + + dodoc -r ../docs/{[^i]*.md,descriptors,reports} ../NEWS.md +} + +pkg_postinst() { + linux-mod_pkg_postinst + udev_reload + + local disable_ertm=/sys/module/bluetooth/parameters/disable_ertm + if kernel_is -ge 5 12; then + if [[ $(<${disable_ertm}) == Y ]]; then + elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is disabled." + elog "This is no longer recommended with kernel >=5.12 to use ${PN}." + elog "Can remove ${EROOT}/etc/modprobe.d/no-ertm.conf if it exists, and run:" + elog " echo N > ${disable_ertm}" + elog "After changing, may need to re-pair the gamepad with bluetooth." + fi + elif [[ $(<${disable_ertm}) == N ]]; then + elog "Warning: bluetooth ERTM (Enhanced ReTransmission Mode) is enabled." + elog "While keeping enabled is recommended for rumble usage stability, it can" + elog "cause connection issues without a fix included in kernel >=5.12" + elog "If needed, this mode can be disabled by running:" + elog " echo Y > ${disable_ertm}" + elog " echo 'options bluetooth disable_ertm=y' > ${EROOT}/etc/modprobe.d/no-ertm.conf" + elog "After changing, may need to re-pair the gamepad with bluetooth." + fi + + 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() { + linux-mod_pkg_postrm + udev_reload +} diff --git a/games-util/xpadneo/xpadneo-9999.ebuild b/games-util/xpadneo/xpadneo-9999.ebuild index 5927d40b0273..b193e5517951 100644 --- a/games-util/xpadneo/xpadneo-9999.ebuild +++ b/games-util/xpadneo/xpadneo-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 # pkgcheck note: toolchain-funcs is not unused inherit linux-mod toolchain-funcs udev -- cgit v1.2.3