From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- games-util/sc-controller/Manifest | 4 +++ .../sc-controller/files/status-icon-click.patch | 28 ++++++++++++++++++ games-util/sc-controller/metadata.xml | 11 ++++++++ .../sc-controller/sc-controller-0.4.8.1.ebuild | 33 ++++++++++++++++++++++ 4 files changed, 76 insertions(+) create mode 100644 games-util/sc-controller/Manifest create mode 100644 games-util/sc-controller/files/status-icon-click.patch create mode 100644 games-util/sc-controller/metadata.xml create mode 100644 games-util/sc-controller/sc-controller-0.4.8.1.ebuild (limited to 'games-util/sc-controller') diff --git a/games-util/sc-controller/Manifest b/games-util/sc-controller/Manifest new file mode 100644 index 000000000000..0def8cd0d6fc --- /dev/null +++ b/games-util/sc-controller/Manifest @@ -0,0 +1,4 @@ +AUX status-icon-click.patch 765 BLAKE2B 2b9cc0b4e079c3b9fb38bcf903fed82eadd73c1b55ad1254c0224461b02a670e8f205f5bce9c6dbda774e7d0fe0759fc9277d50601d29fc3faa8e325f3a5443f SHA512 f9c79a4cb65f4d01a86ec27288b708386c9c8f896286f95fbe163cad5891b57d3bb1c5e58920ef25390084ff47af5249827bc4c5d68ea0e98ec20ae0f4af595f +DIST sc-controller-0.4.8.1.tar.gz 2520167 BLAKE2B 40c8e366519ec2a6d80b31c2b342fba2664fa35f3a889e222665f8f5cd4d59dd912804f6cdf4ecd844ab94075f5f45f88a61138ac1c0cb528652c9fd9b710afa SHA512 bc57bd381c71e94c0771ecdb08f95326d0c1478e25cdf3955b71c203abe6cb78091ca977deb8a1e954b5b1b65a6df487f8b8921920b1eb672aa6f1f5554a4847 +EBUILD sc-controller-0.4.8.1.ebuild 819 BLAKE2B 93a5ad0132346c313cd98bba3e1764912a519e52741665178e13b968b4d5d71f73973bb7e4e3101fac25eb4a846ad660183d7e81a81c9508315928625523316d SHA512 36cf68c0c2a4ce72458727456790db8aea2705b6eefe33c4f3fe60cae6ab73556f821f9ba6b53fe7a64316585440e27b0f7eab87294e74d537ed00f8537c15d5 +MISC metadata.xml 340 BLAKE2B 838cbda59dcb8298f68b7b5072693bc97d900f5cf34f3ebbd84bf04ba7ed2680ff8ca56551a2bfa196842a10fdaaaf66947a4cab69e3c71a0310047b198d5d7b SHA512 f582099529443464a07e3efdee885306e022a93067bbfa4526ed7baec82f7d5d9329866390aa7b9aa9ffdd3fbaa22031cec500aee5402cef36ad5946e79e3d14 diff --git a/games-util/sc-controller/files/status-icon-click.patch b/games-util/sc-controller/files/status-icon-click.patch new file mode 100644 index 000000000000..46b39553b483 --- /dev/null +++ b/games-util/sc-controller/files/status-icon-click.patch @@ -0,0 +1,28 @@ +From b1388d0e768f0bedd5704ffae9b13500ad325308 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot +Date: Sat, 17 Oct 2020 21:36:49 +0100 +Subject: [PATCH] Fix TypeError when clicking on the status icon + +The error was: + + TypeError: GObject.emit() argument 1 must be str, not bytes +--- + scc/gui/statusicon.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scc/gui/statusicon.py b/scc/gui/statusicon.py +index 61ef9e96..83600492 100644 +--- a/scc/gui/statusicon.py ++++ b/scc/gui/statusicon.py +@@ -322,7 +322,7 @@ class StatusIconProxy(StatusIcon): + self._load_fallback() + + def _on_click(self, *args): +- self.emit(b"clicked") ++ self.emit("clicked") + + def _on_notify_active_gtk(self, *args): + if self._status_fb: +-- +2.26.2 + diff --git a/games-util/sc-controller/metadata.xml b/games-util/sc-controller/metadata.xml new file mode 100644 index 000000000000..e3a736ee87d1 --- /dev/null +++ b/games-util/sc-controller/metadata.xml @@ -0,0 +1,11 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + Ryochan7/sc-controller + + diff --git a/games-util/sc-controller/sc-controller-0.4.8.1.ebuild b/games-util/sc-controller/sc-controller-0.4.8.1.ebuild new file mode 100644 index 000000000000..f5cb8a83901e --- /dev/null +++ b/games-util/sc-controller/sc-controller-0.4.8.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 xdg + +DESCRIPTION="User-mode driver and GTK-based GUI for Steam Controllers and others" +HOMEPAGE="https://github.com/Ryochan7/sc-controller/" +SRC_URI="https://github.com/Ryochan7/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2 CC0-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+udev" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/pygobject[${PYTHON_USEDEP},cairo] + dev-python/pylibacl[${PYTHON_USEDEP}] + dev-python/python-evdev[${PYTHON_USEDEP}] + ') + gnome-base/librsvg + x11-libs/gtk+:3 + udev? ( games-util/game-device-udev-rules ) +" + +PATCHES=( + "${FILESDIR}"/status-icon-click.patch +) -- cgit v1.2.3