From 6a2a2cf48518a5fe0ea7b9ae551bfefeb4b7302d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Thu, 4 Jun 2026 17:28:08 +0300 Subject: [PATCH 1/3] Update the runtime version from 6.9 to 6.10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update the runtime version to 6.10 Signed-off-by: Sabri Ünal --- io.github.shiiion.primehack.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/io.github.shiiion.primehack.yml b/io.github.shiiion.primehack.yml index 3481ef3..93f1532 100644 --- a/io.github.shiiion.primehack.yml +++ b/io.github.shiiion.primehack.yml @@ -1,6 +1,6 @@ app-id: io.github.shiiion.primehack runtime: org.kde.Platform -runtime-version: '6.9' +runtime-version: '6.10' sdk: org.kde.Sdk command: primehack-wrapper rename-desktop-file: primehack.desktop @@ -74,6 +74,7 @@ modules: - -DENABLE_SDL=ON - -DENABLE_EVDEV=ON - -DDISTRIBUTOR=Flathub + - -DCMAKE_POLICY_VERSION_MINIMUM=3.5 cleanup: - /share/man post-install: From 32dec42ecf40b8bff9d1f85ef1f405f4055a107e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Thu, 4 Jun 2026 17:37:50 +0300 Subject: [PATCH 2/3] Improve cleanup commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use top-level cleanup commands to catch some extra files. Signed-off-by: Sabri Ünal --- io.github.shiiion.primehack.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/io.github.shiiion.primehack.yml b/io.github.shiiion.primehack.yml index 93f1532..a87b5a1 100644 --- a/io.github.shiiion.primehack.yml +++ b/io.github.shiiion.primehack.yml @@ -22,15 +22,16 @@ finish-args: - --talk-name=org.freedesktop.ScreenSaver # required for Gamescope on Steam Deck - --filesystem=xdg-run/gamescope-0:ro +cleanup: + - /include + - /lib/pkgconfig + - /share/man + - '*.la' modules: # needed for the bluetooth passthrough feature to work - name: libusb config-opts: - --disable-static - cleanup: - - /include - - /lib/*.la - - /lib/pkgconfig sources: - type: archive url: https://github.com/libusb/libusb/releases/download/v1.0.29/libusb-1.0.29.tar.bz2 @@ -75,8 +76,6 @@ modules: - -DENABLE_EVDEV=ON - -DDISTRIBUTOR=Flathub - -DCMAKE_POLICY_VERSION_MINIMUM=3.5 - cleanup: - - /share/man post-install: - install -D primehack-wrapper /app/bin/primehack-wrapper - install -Dm644 appdata.xml /app/share/appdata/primehack.appdata.xml From 0982685837984d99f3d2e712763dea3259975013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Thu, 4 Jun 2026 17:49:36 +0300 Subject: [PATCH 3/3] Use libusb module from the runtime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The runtime version 6.10 already provides it. Signed-off-by: Sabri Ünal --- io.github.shiiion.primehack.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/io.github.shiiion.primehack.yml b/io.github.shiiion.primehack.yml index a87b5a1..8702502 100644 --- a/io.github.shiiion.primehack.yml +++ b/io.github.shiiion.primehack.yml @@ -28,20 +28,6 @@ cleanup: - /share/man - '*.la' modules: - # needed for the bluetooth passthrough feature to work - - name: libusb - config-opts: - - --disable-static - sources: - - type: archive - url: https://github.com/libusb/libusb/releases/download/v1.0.29/libusb-1.0.29.tar.bz2 - sha256: 5977fc950f8d1395ccea9bd48c06b3f808fd3c2c961b44b0c2e6e29fc3a70a85 - x-checker-data: - type: anitya - project-id: 1749 - stable-only: true - url-template: https://github.com/libusb/libusb/releases/download/v$version/libusb-$version.tar.bz2 - # enables motion controls on non-wii controllers (switch, ps4, etc) # requires a udev rule enabling Motion Sensors access - name: libevdev @@ -74,6 +60,9 @@ modules: - -DENABLE_ALSA=OFF - -DENABLE_SDL=ON - -DENABLE_EVDEV=ON + # libusb module needed for the bluetooth passthrough feature to work + # Use libusb module from the runtime + - -DUSE_SYSTEM_LIBUSB=ON - -DDISTRIBUTOR=Flathub - -DCMAKE_POLICY_VERSION_MINIMUM=3.5 post-install: