diff --git a/data/flatpak/org.flameshot.flameshot.yml b/data/flatpak/org.flameshot.flameshot.yml index bc9df9a9..e5d9c57b 100644 --- a/data/flatpak/org.flameshot.flameshot.yml +++ b/data/flatpak/org.flameshot.flameshot.yml @@ -4,16 +4,29 @@ runtime-version: '5.15' sdk: org.kde.Sdk command: flameshot finish-args: + # X11 + XShm access - --share=ipc - --socket=x11 + # Wayland access - --socket=wayland + - --device=dri + # Connectivity + - --share=network + # QtSingleApplication, allow other instances to see log files + - --env=TMPDIR=/var/tmp + # Allow loading/saving files from anywhere - --filesystem=host + # Notification access + - --talk-name=org.freedesktop.Notifications + # System Tray Icon + - --talk-name=org.kde.StatusNotifierWatcher + - --own-name=org.kde.StatusNotifierItem-2-1 modules: - name: flameshot buildsystem: cmake-ninja config-opts: - - -DCMAKE_BUILD_TYPE=RelWithDebInfo + - -DCMAKE_BUILD_TYPE=Release sources: - type: git - url: https://github.com/flameshot-org/flameshot + url: https://github.com/flameshot-org/flameshot.git branch: master