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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C390E158042 for ; Wed, 30 Oct 2024 22:57:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0093E07C9; Wed, 30 Oct 2024 22:57:04 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7F64E07C9 for ; Wed, 30 Oct 2024 22:57:04 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2838E343058 for ; Wed, 30 Oct 2024 22:57:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA7F2AE7 for ; Wed, 30 Oct 2024 22:57:02 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1730329003.f9f73ce3a29ecfaaafee57d3564dcfe1288ef609.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/sc-controller/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/sc-controller/Manifest games-util/sc-controller/sc-controller-0.4.8.21.ebuild X-VCS-Directories: games-util/sc-controller/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: f9f73ce3a29ecfaaafee57d3564dcfe1288ef609 X-VCS-Branch: master Date: Wed, 30 Oct 2024 22:57:02 +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: d0ebac6f-9dfe-4706-901d-de2f0e2f56af X-Archives-Hash: f512726f4168d7519c62d0dfcb15281b commit: f9f73ce3a29ecfaaafee57d3564dcfe1288ef609 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Tue Oct 29 17:53:38 2024 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Wed Oct 30 22:56:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9f73ce3 games-util/sc-controller: add 0.4.8.21 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/39150 Signed-off-by: James Le Cuirot gentoo.org> games-util/sc-controller/Manifest | 1 + .../sc-controller/sc-controller-0.4.8.21.ebuild | 55 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/games-util/sc-controller/Manifest b/games-util/sc-controller/Manifest index 7f5ab71bf83d..412d9eb1ad5d 100644 --- a/games-util/sc-controller/Manifest +++ b/games-util/sc-controller/Manifest @@ -1 +1,2 @@ DIST sc-controller-0.4.8.17.tar.gz 1843813 BLAKE2B 77925152086d516be2b67eee70c36fad7fc6ccfb829196cf433331cce7a5ac43e22a466a7929c2ba2504fcb8ac73a62458be9be77162e138e4abad238e9cf2c1 SHA512 5121a802a719357027e1e850250182b2ace77966938f4add6f2f4a5b91fa768e2ef9064c8bb087c2df0979f34f68b5054e3d8d359ceff71f7ecadc3a51f92dae +DIST sc-controller-0.4.8.21.tar.gz 1846682 BLAKE2B 83892aa73ca2b729b205455b2c094f57538487976f8744170e381ff49f9e7e2d23b274b3b43c887ee8b945793cb6a9e9d0ab03778d47d732d35b8599f65e58ac SHA512 874a180cdac3a0f6a592e507abda572e69dcc4061874512292de2c4f9db0f5739a370d43de4f11031f5c02ff4e1f11237a4720f890a1ae8220940a2d5e03d0a1 diff --git a/games-util/sc-controller/sc-controller-0.4.8.21.ebuild b/games-util/sc-controller/sc-controller-0.4.8.21.ebuild new file mode 100644 index 000000000000..e4c2fe8d623a --- /dev/null +++ b/games-util/sc-controller/sc-controller-0.4.8.21.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 linux-info xdg + +DESCRIPTION="User-mode driver and GTK-based GUI for Steam Controllers and others" +HOMEPAGE="https://github.com/C0rn3j/sc-controller/" +SRC_URI="https://github.com/C0rn3j/sc-controller/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 BSD CC-BY-3.0 CC0-1.0 LGPL-2.1 MIT PSF-2 ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+trayicon +udev wayland" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/evdev[${PYTHON_USEDEP}] + dev-python/pygobject[${PYTHON_USEDEP},cairo] + dev-python/pylibacl[${PYTHON_USEDEP}] + dev-python/vdf[${PYTHON_USEDEP}] + ') + gnome-base/librsvg[introspection] + virtual/libusb + x11-libs/gtk+:3[introspection] + trayicon? ( dev-libs/libayatana-appindicator ) + udev? ( games-util/game-device-udev-rules ) + wayland? ( gui-libs/gtk-layer-shell[introspection(+)] ) +" + +distutils_enable_tests pytest + +pkg_setup() { + local CONFIG_CHECK="~INPUT_UINPUT" + + linux-info_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + default + + # This test fails. Don't know why but seems unimportant. + rm -v tests/test_glade.py || die +} + +src_install() { + distutils-r1_src_install + rm -r "${ED}"/usr/lib/udev/ || die +}