games-util/xpadneo: drop 0.9.5-r1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
db171da487
commit
44307f1624
|
@ -1,2 +1 @@
|
|||
DIST xpadneo-0.9.5.tar.gz 1341366 BLAKE2B d04a3e1b626af1f1a9ec114f0a8ed44c50ec8cde9da71483491d1afd7688611fd7548186ea68ef8a144aecec06acba816e81e9f0708c8dceb96fa1d40985bb44 SHA512 e7e299faf78c139d4cd189c4adc9bcbd52e1e1011ff90513cc09fc3e6cac1961018883933ad1db23dc02c8d5006f3166fbb42ae66150dff71138f2ed95f4576c
|
||||
DIST xpadneo-0.9.6.tar.gz 1344171 BLAKE2B 22a85732de2894d310e0994c101ed62b7358f1b6b8ba5b389fc273bfd48a1ce619ebc04f3699818290f61833234d4c444fff25ea852d9dcf420b99ab28687a03 SHA512 f423fb89cf911c727917591d79909acaecc9fdb68ca10c5cc2a128bd66174799f3efb2b9a87e43bb315ab92ddb7513f79300f06d347fabc9de11e63fc1d25689
|
||||
|
|
|
@ -1,73 +0,0 @@
|
|||
# Copyright 1999-2023 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/60-${PN}.rules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod-r1_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() {
|
||||
udev_reload
|
||||
}
|
Loading…
Reference in New Issue