summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-12-19 02:08:54 -0500
committerIonen Wolkens <ionen@gentoo.org>2022-12-19 02:11:37 -0500
commit55adf794dd39a7b281681d84c96fc7768aafdc51 (patch)
treed8cfd2e59d733f2450fe5b695542669072297dc3 /games-util
parentgames-util/grfcodec: drop 6.0.6_p20210310 (diff)
downloadgentoo-55adf794dd39a7b281681d84c96fc7768aafdc51.tar.gz
gentoo-55adf794dd39a7b281681d84c96fc7768aafdc51.tar.bz2
gentoo-55adf794dd39a7b281681d84c96fc7768aafdc51.zip
games-util/sc-controller: drop 0.4.8.6_p20211211
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r--games-util/sc-controller/Manifest1
-rw-r--r--games-util/sc-controller/files/sc-controller-bluetooth-evdev.patch38
-rw-r--r--games-util/sc-controller/sc-controller-0.4.8.6_p20211211.ebuild50
3 files changed, 0 insertions, 89 deletions
diff --git a/games-util/sc-controller/Manifest b/games-util/sc-controller/Manifest
index cb4dcb8a51f7..84b03c55a28c 100644
--- a/games-util/sc-controller/Manifest
+++ b/games-util/sc-controller/Manifest
@@ -1,2 +1 @@
-DIST sc-controller-0.4.8.6_p20211211.tar.gz 2527489 BLAKE2B e04e2a9d617b6cfb3b0709f37bbbbb7384ac0c516f1f30a23547f1132c562cafeb8972f23e9cc93967187c881fd78fe6e6d102451aa5afc4bf8fce619e86820b SHA512 9d1030ed2766b9a0984852eafc343e265768489f3d01833e6633019276c0559cb4265d72013c0bc2ecb57ac35c95791ee8e2285f8c45917695ea92826bca6dc3
DIST sc-controller-0.4.8.9.tar.gz 2541647 BLAKE2B f4e4ebcd15f8c32f292293ea21a0c30655fedefba310991082ece3b9159b52700178a31da4b3e7a172e40fde4e718403c0945387f3781628e09fa1fc086eee93 SHA512 e0848d366f6f80c36670adcda717b792b6993e7383c01e969c0478cf187bcdb891ea9c434271f24e7f5dfc96d8f321f953f610bb8efeb6ed843b7cd069b9b18f
diff --git a/games-util/sc-controller/files/sc-controller-bluetooth-evdev.patch b/games-util/sc-controller/files/sc-controller-bluetooth-evdev.patch
deleted file mode 100644
index 6f5b6ae1856d..000000000000
--- a/games-util/sc-controller/files/sc-controller-bluetooth-evdev.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 0b816d9fb06a325477961c50118db670e1cc15d2 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <chewi@gentoo.org>
-Date: Sat, 12 Mar 2022 09:52:54 +0000
-Subject: [PATCH] Allow Bluetooth evdev and HID controllers to appear in the
- list
-
-We currently check whether `dev.phys` is blank to work out whether the
-device is virtual or not. Unfortunately, this is also blank for
-Bluetooth-connected devices.
-
-I thought checking whether `dev.info.bustype` is `BUS_VIRTUAL` might
-help but our emulated gamepad has `BUS_USB`. Given that we deliberately
-make the emulated device look as real as possible, I can't find any
-other way to tell it apart from real USB devices. We should therefore
-only check whether `dev.phys` is blank when the bustype is `BUS_USB`.
-This will allow Bluetooth devices with `BUS_BLUETOOTH` to work.
----
- scc/gui/creg/dialog.py | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/scc/gui/creg/dialog.py b/scc/gui/creg/dialog.py
-index 76658e08..77a94dea 100644
---- a/scc/gui/creg/dialog.py
-+++ b/scc/gui/creg/dialog.py
-@@ -742,7 +742,9 @@ class ControllerRegistration(Editor):
- for fname in evdev.list_devices():
- dev = evdev.InputDevice(fname)
- is_gamepad = ControllerRegistration.does_he_looks_like_a_gamepad(dev)
-- if not dev.phys:
-+ # bustype 3 is BUS_USB, which is the type used for emulated
-+ # gamepads. phys is blank for BUS_BLUETOOTH devices.
-+ if dev.info.bustype == 3 and not dev.phys:
- # Skipping over virtual devices so list doesn't show
- # gamepads emulated by SCC
- continue
---
-2.34.1
-
diff --git a/games-util/sc-controller/sc-controller-0.4.8.6_p20211211.ebuild b/games-util/sc-controller/sc-controller-0.4.8.6_p20211211.ebuild
deleted file mode 100644
index 6f4d359c969c..000000000000
--- a/games-util/sc-controller/sc-controller-0.4.8.6_p20211211.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1 linux-info xdg
-
-COMMIT="3ce2d23c873f6f5ecc80ef90f153c14f744368f9"
-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/sc-controller/archive/${COMMIT}.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="+udev"
-
-RDEPEND="
- $(python_gen_cond_dep '
- dev-python/pygobject[${PYTHON_USEDEP},cairo]
- dev-python/pylibacl[${PYTHON_USEDEP}]
- dev-python/python-evdev[${PYTHON_USEDEP}]
- dev-python/vdf[${PYTHON_USEDEP}]')
- gnome-base/librsvg[introspection]
- virtual/libusb
- x11-libs/gtk+:3[introspection]
- udev? ( games-util/game-device-udev-rules )"
-
-distutils_enable_tests pytest
-
-S="${WORKDIR}/${PN}-${COMMIT}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-bluetooth-evdev.patch
-)
-
-pkg_setup() {
- local CONFIG_CHECK="~INPUT_UINPUT"
-
- linux-info_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_install() {
- distutils-r1_src_install
- rm -r "${ED}"/usr/lib/udev/ || die
-}