Merge pull request #25 from cpba/upgrade_and_drop_bluez

Upgrade runtime to 6.5 and drop bundled bluez dependency
This commit is contained in:
Sir Mangler 2023-09-14 17:17:32 +01:00 committed by GitHub
commit b036c9c948
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
app-id: io.github.shiiion.primehack
runtime: org.kde.Platform
runtime-version: 5.15-22.08
runtime-version: '6.5'
sdk: org.kde.Sdk
command: primehack-wrapper
rename-desktop-file: primehack.desktop
@ -16,8 +16,7 @@ finish-args:
- --socket=x11
- --share=network
- --share=ipc
# along with the bluez module, required for the
# emulated bluetooth adapter feature to work.
# required for the emulated bluetooth adapter feature to work.
- --allow=bluetooth
- --filesystem=xdg-run/app/com.discordapp.Discord:create
- --talk-name=org.freedesktop.ScreenSaver
@ -40,35 +39,6 @@ modules:
stable-only: true
url-template: https://github.com/libusb/libusb/releases/download/v$version/libusb-$version.tar.bz2
# needed for the emulate bluetooth adapter feature to work
- name: bluez
config-opts:
- --enable-library
- --disable-manpages
- --disable-udev
- --disable-tools
- --disable-cups
- --disable-monitor
- --disable-client
- --disable-systemd
- --disable-a2dp
- --disable-avrcp
- --disable-network
- --disable-obex
- --disable-bap
- --disable-mcp
- --with-dbusconfdir=/app/etc
- --with-dbussessionbusdir=/app/usr/lib/system-services
sources:
- type: archive
url: https://www.kernel.org/pub/linux/bluetooth/bluez-5.66.tar.xz
sha256: 39fea64b590c9492984a0c27a89fc203e1cdc74866086efb8f4698677ab2b574
x-checker-data:
type: anitya
project-id: 10029
stable-only: true
url-template: https://www.kernel.org/pub/linux/bluetooth/bluez-$version.tar.xz
# enables motion controls on non-wii controllers (switch, ps4, etc)
# requires a udev rule enabling Motion Sensors access
- name: libevdev