mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
games-util/xpadneo: add 0.10.5
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST xpadneo-0.10.4.tar.gz 1458424 BLAKE2B 2858e466c5fde7e3d06d878dd7fb695751375e11a112bd3d389f9db5a82ef3ffcc1e3431b213f4807aeb8f05fd4280c7ca2a0a56305b0e984eb9b70df4843735 SHA512 3dd9aab02dc825764050f2b10d997435312bda697c9821a8b884fa70d46c23e92d4d1914e3ab8f57e56ffd4f7c0eec9e02852df8584eea930b01b97c9cbd9c82
|
||||
DIST xpadneo-0.10.5.tar.gz 1482332 BLAKE2B b980c98a92c64dafd459ac98783d2cc2bf4a4af2fef6e72dc89adac0bf304c1c6a1449a40639b4dc75d0ae4733d4d98f6a28d70d992d07053514a04862ddcb25 SHA512 e31b40a9f034b8ba617892d5fb31dfac331973249e810de26de3e3dff27341fca7b7e80c1ffa8f6880417543cac5a6ef6886469537895dd762c7af5ad426eab6
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user