games-util/xpadneo: add 0.10.2

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-04-09 08:37:12 -04:00
parent 9d32a60b09
commit bdd2b3e276
2 changed files with 52 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST xpadneo-0.10.1.tar.gz 1455344 BLAKE2B e654cf387f8bf45110542c7131d27714dc8ae77cf9e1b23c32eb2489f4058411ca944644f825afe8689846ec1dbd0809fa9fa4f4a720e1a1a8a3a1c3b0d8d1d0 SHA512 72fbd924744b9408801d2cc969c5f0883510b1f485a1f88db2f3de23a505d790167fca22229d56b2b77120ad97c65acecf6db8c8da7d13dd6dbb5c199434ef04
DIST xpadneo-0.10.2.tar.gz 1456320 BLAKE2B f822ad82e43df5af263cb76fd837e65931561c34ccd8cbb5fe0d93f9e7cf9903feeb65d0ac66749ae92371b40c2b0cc10d15bca502df36e6a611b9702d5ac81c SHA512 40ded7b72185056fad119cd1eb8d6d34cf5aa045567de53a9ceef56323a7efdf0c811d7d08be183351fba4bd4f1625edf294202db10e73874057e027d7973d25
DIST xpadneo-0.9.8.tar.gz 1431768 BLAKE2B 1cddb91cdd4b055fda5c09112af5441da621c07b14f61a0094cbfffa9a7b746491bff6ea0858a28b1e91a204af2822d005a28ed3b1354b6a367a3eee0fc7250c SHA512 8ec29834587fd8ca8127e6bb1bdea15be40bcb8a11bfb9be3e6f5069f50521ffc93a431ac3a265a3301da64a6e0cfab1166e44b7b1aca0f963a492398d6e684a

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2026 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-2 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() {
linux-mod-r1_src_install
# install modprobe.d/rules.d files and docs
emake PREFIX="${ED}" ETC_PREFIX=/usr/lib DOC_PREFIX=/usr/share/doc/${PF} install
}
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
}