From 16857b69f990738d17bc5842e3e49a6e82d1428d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 17 Jul 2024 12:28:32 +0100 Subject: gentoo auto-resync : 17:07:2024 - 12:28:31 --- games-util/xboxdrv/Manifest | 2 + games-util/xboxdrv/xboxdrv-0.8.11.ebuild | 74 ++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 games-util/xboxdrv/xboxdrv-0.8.11.ebuild (limited to 'games-util/xboxdrv') diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest index 4323f522f453..819130b96c70 100644 --- a/games-util/xboxdrv/Manifest +++ b/games-util/xboxdrv/Manifest @@ -7,6 +7,8 @@ AUX xboxdrv.confd 211 BLAKE2B 7a79059b29edbfbde33fe3daf9c89346246ac4323d7053ea4b AUX xboxdrv.initd 446 BLAKE2B f78cf4af5cca703efc0a480c2ba34b0189d2b86a64aa89533e59a4d325ca03592bc911a9c85ff1fe5801ef2ade537dcfcc7266052a77f64ff05dad5f43630167 SHA512 e87d4b4b4313cb4ae983aef4ab7fa799f6b466e0f504eb15905b82f5b8bca2f0ff6f3d9a7d9963c048b6189e2a4c4b862a3f39d4201c2f5f02234362ad7b3af1 AUX xboxdrv.service 371 BLAKE2B afd5f5397f4ae15af69d8e12865201fe159691ba2a36c00fe207304afe5126814fafd0394e7618e9f4d27611bd2c0dd7371717c7a07a57d27c3a4ab8e6e40140 SHA512 80e7657edae9c771740628ef5f9752b79d50288ead33afe97e71ffc6e7d7c24343eeb213668cdc823b28742976e2e56f4defdcd823716897f3262be1fc7832e9 AUX xboxdrv.udev-rules 251 BLAKE2B 5a3af6d378b2d6ad5bb2da0dfa356c6939a274b194f075281bbfc3dcaee1c5b9fc63740bbfec2ecd0c8245065262a0449c47fad6c522e4773ef2e193018dc95f SHA512 131c90bee6ac4da5e3d51c7212abb362a540092db97af56332cdfe14e836c84c97727823462ea378da6e5544fda2fb4d36fbe00b6210e5663316f914eaa3f4ad +DIST xboxdrv-0.8.11.tar.gz 323870 BLAKE2B 3cfc5441496e72226a00a82874b580dd7113ff52317cc63afeca94d53c0c20d0d2bd8c458adabdd0e2358746d43de8a2815788d9fd82b21c4e733638a07379f8 SHA512 d6503ee3a4b0388214dd866e479205d37fc9dcd4aa8e8a10edae5db7368d755e2dcc1e4217ecde234c5dd4d0aec3548fd1eea980aa7d6150895ed6dfa3673e5a DIST xboxdrv-v0.8.8.tar.bz2 268046 BLAKE2B 3092a0e1e1cf1ee351879e791212445c567772f4115eb09eeb0c28bc1692b1951837ae7f6488091eb57d06cd38edae4e964502524606370f1ccd8fc39b307db8 SHA512 9b90f866ab322aaf3223215c78120a7aeacb56970fedf2e603f14704bd517b8316a3e28edb6a75e1a47729e9ced4cde5cac3a2f7a95d8514b83219b8821eb9db +EBUILD xboxdrv-0.8.11.ebuild 1443 BLAKE2B 475b1756bbf84c90a7d54c8682c19afa4af9532d3732be65acf50e6c68b5c2f7d063304c3a887385f2c141c8e571f65442efb28dc4c3e1318983cf97bcce1adb SHA512 269ede8bbd11bd65a1c99a031746dee635436ee227775e4651e849a9111b4cdeacd8fea1dd2b466dc23c8445ca90a52b0949d22ac8abcce80909c76b4ec6f2b8 EBUILD xboxdrv-0.8.8_p20190118-r3.ebuild 1716 BLAKE2B 36a3ce88d7dc72aad32ff6196d3049b2633d7f75a7f9548fc8c3c73ffcb6253745614941ac6d46a6f532c2dcec4314c1d3db18e8281cf1f20474ea26e53ca039 SHA512 8e998dde0e6fc0a0ad81a271a74dfd4735fe1dfc31208ed0aa5aba3528d23f0f62eafe4a6e5bf4a9e3d3fca860fefdab7c5ad23d2a9d36cdae2ec12bceb27dc8 MISC metadata.xml 308 BLAKE2B 12d1bf67b0ed1f91ab38bb105cd12011d25a73502b6c7c7905a160041536a3ca08d4b38366be6f3633bbe3909f5504ccb874beff4d795e52adb1c4318c0dcced SHA512 f7ace9ea241468d66533a3e6da546ee76abfc43651c5198d181b8aeca3ed72c5185d8d5c977dd8abd9f700efae5d579db2ec57fcbbb2b518b51b9c2640004abc diff --git a/games-util/xboxdrv/xboxdrv-0.8.11.ebuild b/games-util/xboxdrv/xboxdrv-0.8.11.ebuild new file mode 100644 index 000000000000..af98062d7b12 --- /dev/null +++ b/games-util/xboxdrv/xboxdrv-0.8.11.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev + +DESCRIPTION="Userspace Xbox 360 Controller driver" +HOMEPAGE="https://github.com/xiota/xboxdrv https://xboxdrv.gitlab.io" +SRC_URI="https://github.com/xiota/xboxdrv/archive/v$(ver_cut 1-3).tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/dbus-glib + dev-libs/glib:2 + sys-apps/dbus + virtual/libudev:= + virtual/libusb:1 + x11-libs/libX11 +" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + dev-util/glib-utils + virtual/pkgconfig +" + +CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" + +pkg_setup() { + linux-info_pkg_setup + python-any-r1_pkg_setup +} + +src_compile() { + escons \ + BUILD=custom \ + CXX="$(tc-getCXX)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + CXXFLAGS="-Wall ${CXXFLAGS}" \ + LINKFLAGS="${LDFLAGS}" +} + +src_install() { + dobin xboxdrv + doman doc/xboxdrv.1 + dodoc AUTHORS NEWS PROTOCOL README.md TODO + + newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv + newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv + + insinto /etc/dbus-1/system.d + doins "${FILESDIR}"/org.seul.Xboxdrv.conf + + udev_newrules "${FILESDIR}"/xboxdrv.udev-rules 99-xbox-controller.rules + systemd_dounit "${FILESDIR}"/xboxdrv.service +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} -- cgit v1.2.3