Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 10 additions & 21 deletions io.github.shiiion.primehack.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down