summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/sc-controller/sc-controller-0.4.8.17.ebuild')
-rw-r--r--games-util/sc-controller/sc-controller-0.4.8.17.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/games-util/sc-controller/sc-controller-0.4.8.17.ebuild b/games-util/sc-controller/sc-controller-0.4.8.17.ebuild
index 05c53bdb4a47..e61c2e6455f9 100644
--- a/games-util/sc-controller/sc-controller-0.4.8.17.ebuild
+++ b/games-util/sc-controller/sc-controller-0.4.8.17.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 linux-info xdg
DESCRIPTION="User-mode driver and GTK-based GUI for Steam Controllers and others"
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/C0rn3j/sc-controller/archive/v${PV}.tar.gz -> ${P}.t
LICENSE="GPL-2 BSD CC-BY-3.0 CC0-1.0 LGPL-2.1 MIT PSF-2 ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+udev wayland"
+IUSE="+trayicon +udev wayland"
RDEPEND="
$(python_gen_cond_dep '
@@ -28,12 +28,18 @@ RDEPEND="
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
+PATCHES=(
+ "${FILESDIR}"/${P}-tray-icon.patch
+ "${FILESDIR}"/${P}-log-warning.patch
+)
+
pkg_setup() {
local CONFIG_CHECK="~INPUT_UINPUT"