commit: 30298d890e8072c30f3d7103d109174c179c52a7
parent 6bdb89b5afa5d136dba4d34077cb1fba3b642ec6
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 8 Jan 2022 00:26:16 +0100
games-util/steamcontroller: New package
Done because sc-controller depends on X11
Diffstat:
2 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/games-util/steamcontroller/metadata.xml b/games-util/steamcontroller/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">Ryochan7/sc-controller</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-util/steamcontroller/steamcontroller-9999.ebuild b/games-util/steamcontroller/steamcontroller-9999.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1 git-r3
+
+DESCRIPTION="Standalone Steam Controller Driver"
+HOMEPAGE="https://github.com/ynsta/steamcontroller"
+EGIT_REPO_URI="https://github.com/ynsta/steamcontroller"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="+udev"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/libusb1[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ ')
+ udev? ( games-util/game-device-udev-rules )
+"