diff --git a/io.github.shiiion.primehack.yml b/io.github.shiiion.primehack.yml index 3481ef3..8702502 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 @@ -22,25 +22,12 @@ 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 - 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 @@ -73,9 +60,11 @@ 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 - cleanup: - - /share/man + - -DCMAKE_POLICY_VERSION_MINIMUM=3.5 post-install: - install -D primehack-wrapper /app/bin/primehack-wrapper - install -Dm644 appdata.xml /app/share/appdata/primehack.appdata.xml