%global debug_package %{nil} %global commit be0578fbf00c5a14a988a830f914f2c34cdaa1a1 %global __provides_exclude_from ^%{_libdir}/switchdeck/.*$ Name: switchdeck Version: 0.20261018 Release: 7%{?dist} Summary: Steam integration for Nintendo Switch L4T License: GPL-3.0-only URL: https://github.com/SildurFX/Switchdeck Source0: https://raw.githubusercontent.com/SildurFX/Switchdeck/%{commit}/files/steam/launch-steam.sh Source1: https://raw.githubusercontent.com/SildurFX/Switchdeck/%{commit}/LICENSE Source2: https://raw.githubusercontent.com/SildurFX/Switchdeck/%{commit}/NOTICE.txt Source3: prepare-user.py Source4: switchdeck Source5: switchdeck.desktop Source6: native-vulkan-audit.c Source7: launch-webhelper.py Source8: test_prepare_user.py Source9: test_webhelper.py Patch0: switchdeck-packaged.patch ExclusiveArch: aarch64 BuildRequires: gcc BuildRequires: python3 Requires: bash Requires: python3 Requires: lsof Requires: box64 Requires: steam-devices Requires: gtk2 Requires: vulkan-loader Requires: mesa-libGL Requires: mesa-dri-drivers Requires: libpipewire-0.3.so.0()(64bit) Requires: libopenal.so.1()(64bit) Requires: libva.so.2()(64bit) Requires: libvdpau.so.1()(64bit) Requires: libnm.so.0()(64bit) Requires: libibus-1.0.so.5()(64bit) Requires: libSDL2-2.0.so.0()(64bit) Requires: binutils Requires: switchdeck-runtime = %{version} %description Switchdeck's Tegra-compatible Steam launcher and user setup. Each user's Steam root links the read-only switchdeck-runtime tree; account data, games and caches stay in the user's home. %prep %setup -q -c -T cp -p %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE7} %{SOURCE8} %{SOURCE9} . %patch -P0 -p1 %build %{__cc} %{optflags} %{build_ldflags} -shared -fPIC %{SOURCE6} -o libnvidia-vulkan-audit.so %check bash -n launch-steam.sh python3 -B -m unittest discover -p 'test_*.py' -v %install install -Dpm755 launch-steam.sh %{buildroot}%{_libexecdir}/switchdeck/launch-steam.sh install -Dpm755 prepare-user.py %{buildroot}%{_libexecdir}/switchdeck/prepare-user install -Dpm755 launch-webhelper.py %{buildroot}%{_libexecdir}/switchdeck/launch-webhelper install -Dpm755 %{SOURCE4} %{buildroot}%{_bindir}/switchdeck install -Dpm755 libnvidia-vulkan-audit.so %{buildroot}%{_libdir}/switchdeck/libnvidia-vulkan-audit.so install -Dpm644 %{SOURCE5} %{buildroot}%{_datadir}/applications/switchdeck.desktop %files %license LICENSE NOTICE.txt %{_bindir}/switchdeck %{_libexecdir}/switchdeck/ %dir %{_libdir}/switchdeck %{_libdir}/switchdeck/libnvidia-vulkan-audit.so %{_datadir}/applications/switchdeck.desktop %changelog * Tue Oct 20 2026 Azkali Manad - 0.20261018-7 - Require binutils, the Proton 10/11 patching greps libraries with strings * Tue Oct 20 2026 Azkali Manad - 0.20261018-6 - Link the read-only runtime into each Steam root instead of extracting a seed - Keep per-user copies of steam and steamwebhelper, they write next to themselves - Drop the user unit and the upstream self-updater - Fetch upstream files from the pinned commit and carry our changes as a patch - Keep the private auditor library out of the package provides - Require SDL2 for gldriverquery * Sun Oct 18 2026 Azkali Manad - 0.20261018-1 - Package Switchdeck and provision a preinstalled runtime per user