From: "John Helmert III" <ajak@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/
Date: Sun, 30 Oct 2022 02:14:05 +0000 (UTC) [thread overview]
Message-ID: <1667095950.870a4b01fffabeb3985f9b9af3b55facd1d4f780.ajak@gentoo> (raw)
commit: 870a4b01fffabeb3985f9b9af3b55facd1d4f780
Author: John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 02:07:36 2022 +0000
Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Sun Oct 30 02:12:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=870a4b01
games-util/xboxdrv: fix binpkg installation, udev_reload, add python3_11
Closes: https://bugs.gentoo.org/776601
Closes: https://bugs.gentoo.org/859325
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
.../xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild | 83 ++++++++++++++++++++++
1 file changed, 83 insertions(+)
diff --git a/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild
new file mode 100644
index 000000000000..7b11030a2c5e
--- /dev/null
+++ b/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev
+
+MY_P="${PN}-v$(ver_cut 1-3)"
+DESCRIPTION="Userspace Xbox 360 Controller driver"
+HOMEPAGE="https://xboxdrv.gitlab.io"
+SRC_URI="https://gitlab.com/xboxdrv/${PN}/-/archive/v$(ver_cut 1-3)/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-libs/boost:=
+ 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
+"
+
+PATCHES=(
+ "${FILESDIR}/"xboxdrv-0.8.8-some-boost-fix.patch
+ "${FILESDIR}/"xboxdrv-0.8.8-Update-SConstruct-to-python3.patch
+ "${FILESDIR}/"xboxdrv-0.8.8-Updating-python-code-to-python3.patch
+)
+
+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
+}
next reply other threads:[~2022-10-30 2:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-30 2:14 John Helmert III [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-16 17:26 [gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/ Viorel Munteanu
2024-04-22 16:52 Viorel Munteanu
2024-04-22 16:52 Viorel Munteanu
2024-04-22 16:52 Viorel Munteanu
2021-08-12 6:45 Joonas Niilola
2021-08-12 6:45 Joonas Niilola
2021-02-26 6:29 Joonas Niilola
2021-01-15 7:07 Joonas Niilola
2021-01-15 7:07 Joonas Niilola
2020-01-02 20:39 James Le Cuirot
2019-01-18 21:59 James Le Cuirot
2019-01-17 22:27 James Le Cuirot
2019-01-17 22:27 James Le Cuirot
2019-01-17 22:27 James Le Cuirot
2018-05-11 20:39 James Le Cuirot
2017-09-30 4:26 Michael Palimaka
2016-08-19 13:21 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1667095950.870a4b01fffabeb3985f9b9af3b55facd1d4f780.ajak@gentoo \
--to=ajak@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox