From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 896AC1581C1 for ; Tue, 16 Jul 2024 17:26:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDDB2E2A19; Tue, 16 Jul 2024 17:26:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE973E2A19 for ; Tue, 16 Jul 2024 17:26:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DB557335C31 for ; Tue, 16 Jul 2024 17:26:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4481EB82 for ; Tue, 16 Jul 2024 17:26:34 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1721150597.875833091fe65f3557059ec94321d22d521bb335.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/xboxdrv/Manifest games-util/xboxdrv/xboxdrv-0.8.11.ebuild X-VCS-Directories: games-util/xboxdrv/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 875833091fe65f3557059ec94321d22d521bb335 X-VCS-Branch: master Date: Tue, 16 Jul 2024 17:26:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: acf70c0d-837a-4e11-9376-7a68cc8fded9 X-Archives-Hash: f27bf0c02654384d3f1a0b2f2bf4c150 commit: 875833091fe65f3557059ec94321d22d521bb335 Author: Viorel Munteanu gentoo org> AuthorDate: Tue Jul 16 17:17:37 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Tue Jul 16 17:23:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87583309 games-util/xboxdrv: add 0.8.11 Closes: https://bugs.gentoo.org/936145 Closes: https://bugs.gentoo.org/919829 Signed-off-by: Viorel Munteanu gentoo.org> games-util/xboxdrv/Manifest | 1 + games-util/xboxdrv/xboxdrv-0.8.11.ebuild | 74 ++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest index 794599666186..f7ba7e4a7cf6 100644 --- a/games-util/xboxdrv/Manifest +++ b/games-util/xboxdrv/Manifest @@ -1 +1,2 @@ +DIST xboxdrv-0.8.11.tar.gz 323870 BLAKE2B 3cfc5441496e72226a00a82874b580dd7113ff52317cc63afeca94d53c0c20d0d2bd8c458adabdd0e2358746d43de8a2815788d9fd82b21c4e733638a07379f8 SHA512 d6503ee3a4b0388214dd866e479205d37fc9dcd4aa8e8a10edae5db7368d755e2dcc1e4217ecde234c5dd4d0aec3548fd1eea980aa7d6150895ed6dfa3673e5a DIST xboxdrv-v0.8.8.tar.bz2 268046 BLAKE2B 3092a0e1e1cf1ee351879e791212445c567772f4115eb09eeb0c28bc1692b1951837ae7f6488091eb57d06cd38edae4e964502524606370f1ccd8fc39b307db8 SHA512 9b90f866ab322aaf3223215c78120a7aeacb56970fedf2e603f14704bd517b8316a3e28edb6a75e1a47729e9ced4cde5cac3a2f7a95d8514b83219b8821eb9db 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 +}