Merge pull request #13408 from infirit/flatpakscreensaver

Update the flatpak with the changes how screensavers are handled
This commit is contained in:
OatmealDome 2025-03-14 02:19:05 -04:00 committed by GitHub
commit e82f03b825
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,10 @@ finish-args:
# required for the emulated bluetooth adapter feature to work.
- --allow=bluetooth
- --filesystem=xdg-run/app/com.discordapp.Discord:create
# required to disable the screensaver in various desktops
- --talk-name=org.freedesktop.ScreenSaver
- --talk-name=org.xfce.ScreenSaver
- --talk-name=org.mate.ScreenSaver
# required for Gamescope on Steam Deck
- --filesystem=xdg-run/gamescope-0:ro
modules:
@ -35,14 +38,6 @@ modules:
stable-only: true
url-template: https://www.freedesktop.org/software/libevdev/libevdev-$version.tar.xz
# needed for screensaver inhibition
- name: xdg-screensaver-shim
buildsystem: meson
sources:
- type: archive
url: https://github.com/Unrud/xdg-screensaver-shim/archive/0.0.2.tar.gz
sha256: 0ed2a69fe6ee6cbffd2fe16f85116db737f17fb1e79bfb812d893cf15c728399
# build the vendored SDL2 from Externals until the runtime gets 2.30.9
- SDL2/SDL2.json