From 9535642dbb3d1e9d9ffe6040dbe5e91f94101735 Mon Sep 17 00:00:00 2001 From: Luca Cinnirella Date: Sat, 18 Jul 2026 14:23:43 +0200 Subject: [PATCH 1/2] New package: python3-ioctl-opt-1.3.1 This is a new dependency for newer versions of sc-controller --- srcpkgs/python3-ioctl-opt/template | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 srcpkgs/python3-ioctl-opt/template diff --git a/srcpkgs/python3-ioctl-opt/template b/srcpkgs/python3-ioctl-opt/template new file mode 100644 index 00000000000000..0a35f848f37f91 --- /dev/null +++ b/srcpkgs/python3-ioctl-opt/template @@ -0,0 +1,13 @@ +# Template file for 'python3-ioctl-opt' +pkgname=python3-ioctl-opt +version=1.3.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Pythonified linux asm-generic/ioctl.h for Python3" +maintainer="Luca Cinnirella " +license="LGPL-2.0-or-later" +homepage="https://github.com/vpelletier/python-ioctl-opt/tree/master" +distfiles="https://github.com/vpelletier/python-ioctl-opt/archive/refs/tags/$version.tar.gz" +checksum=004eb68f116ecfe741347617af55e097936698bbf990b6a558a56dce4635234a From 8ea1b8b0ecc96f52ef52cfbe8b16fa73f61462bc Mon Sep 17 00:00:00 2001 From: Luca Cinnirella Date: Sat, 18 Jul 2026 14:37:21 +0200 Subject: [PATCH 2/2] sc-controller: update to 0.6.1 Ryochan7 fork is dead. Switching to C0rn3j fork as suggested by https://github.com/kozec/sc-controller/issues/741#issuecomment-4972279508 --- srcpkgs/sc-controller/template | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/srcpkgs/sc-controller/template b/srcpkgs/sc-controller/template index e2c25e246473fe..57a9a00680fb7f 100644 --- a/srcpkgs/sc-controller/template +++ b/srcpkgs/sc-controller/template @@ -1,15 +1,24 @@ # Template file for 'sc-controller' pkgname=sc-controller -version=0.4.8.10 -revision=4 +version=0.6.1 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" makedepends="python3-devel zlib-devel" -depends="gtk+3 python3-gobject python3-cairo python3-evdev python3-vdf" -checkdepends="python3-pytest libusb-devel libXfixes libXext-devel python3-vdf" +depends="gtk+3 python3-gobject python3-cairo python3-evdev python3-vdf + python3-libusb1 python3-ioctl-opt gtk-layer-shell" +checkdepends="python3-pytest libXfixes libXext-devel python3-evdev python3-vdf + python3-libusb1 python3-ioctl-opt" short_desc="User-mode driver and GTK3 based GUI for Steam Controller" maintainer="Henry Naguski " license="GPL-2.0-only" -homepage="https://github.com/Ryochan7/sc-controller" -distfiles="https://github.com/Ryochan7/sc-controller/archive/refs/tags/v$version.tar.gz" -checksum=1f55e89a441e911d98d534a5f29deb5f133cdfa4593fd85238356cf6cc781312 +homepage="https://github.com/C0rn3j/sc-controller" +distfiles="https://github.com/C0rn3j/sc-controller/archive/refs/tags/v$version.tar.gz" +checksum=cda5ab9ec2eb899bd345a77f96800f872f3dbc8730c37dd8514f311743d80b3a + + +# Workaround: scc/tools.py:find_library searches for binaries in the source root +# and doesn't respect PYTHONPATH. We symlink compiled libs to root for tests. +pre_check() { + ln -sf $(find build/lib* -name '*.so') . +}