summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-11-06 21:35:45 +0000
committerJames Le Cuirot <chewi@gentoo.org>2020-11-06 21:35:45 +0000
commit5ec6155ac4f96a502512be1936aadc5cf26ae57f (patch)
treebda48c8ab82ee6760689360a58bd7888ee445b4d /games-util/sc-controller/sc-controller-0.4.8.1.ebuild
parentdev-util/git-delta: arm64 keyworded (bug #753038) (diff)
downloadgentoo-5ec6155ac4f96a502512be1936aadc5cf26ae57f.tar.gz
gentoo-5ec6155ac4f96a502512be1936aadc5cf26ae57f.tar.bz2
gentoo-5ec6155ac4f96a502512be1936aadc5cf26ae57f.zip
games-util/sc-controller: New package
This was sys-apps/sc-controller in steam-overlay. Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-util/sc-controller/sc-controller-0.4.8.1.ebuild')
-rw-r--r--games-util/sc-controller/sc-controller-0.4.8.1.ebuild33
1 files changed, 33 insertions, 0 deletions
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
+)