feat(deployment): update flatpak build

This commit is contained in:
Curve 2022-05-19 14:25:45 +02:00
parent b742c6f063
commit e699020cf2
No known key found for this signature in database
GPG Key ID: 460F6C466BD35813

View File

@ -1,16 +1,20 @@
app-id: io.github.Soundux app-id: io.github.Soundux
runtime: org.gnome.Platform runtime: org.gnome.Platform
runtime-version: "40" runtime-version: "42"
sdk: org.gnome.Sdk sdk: org.gnome.Sdk
command: soundux command: soundux
finish-args: finish-args:
- --device=all - --device=dri
- --device=shm
- --share=network
- --socket=pulseaudio - --socket=pulseaudio
- --socket=x11 - --socket=x11
- --filesystem=host - --share=network
- --share=ipc
- --filesystem=xdg-run/pipewire-0 - --filesystem=xdg-run/pipewire-0
- --filesystem=xdg-music:ro
- --filesystem=xdg-download:ro
- --filesystem=xdg-documents:ro
- --filesystem=/run/media:ro
- --filesystem=/media:ro
modules: modules:
- "shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json" - "shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json"
- name: libwnck - name: libwnck
@ -31,14 +35,15 @@ modules:
config-opts: config-opts:
- -DUSE_FLATPAK=ON - -DUSE_FLATPAK=ON
- -DCMAKE_BUILD_TYPE=Release - -DCMAKE_BUILD_TYPE=Release
- -DFETCHCONTENT_FULLY_DISCONNECTED=ON
post-install: post-install:
- "install -Dm 644 -t /app/share/metainfo deployment/appstream/io.github.Soundux.metainfo.xml" - "install -Dm 644 -t /app/share/metainfo deployment/appstream/io.github.Soundux.metainfo.xml"
- "install -Dm 644 -t /app/share/applications deployment/appstream/io.github.Soundux.desktop" - "install -Dm 644 -t /app/share/applications deployment/appstream/io.github.Soundux.desktop"
- "install -Dm 644 deployment/flatpak/icons/io.github.Soundux-256.png /app/share/icons/hicolor/256x256/apps/io.github.Soundux.png" - "install -Dm 644 deployment/flatpak/icons/io.github.Soundux-256.png /app/share/icons/hicolor/256x256/apps/io.github.Soundux.png"
sources: sources:
- type: git - type: archive
url: https://github.com/Soundux/Soundux.git url: https://github.com/Soundux/Soundux/releases/download/0.2.8/soundux-0.2.8.tar.gz
branch: master sha256: d007841ae5bab71d8a25cc86d27ce137b01b29a7f2b42a5bd62b4ed50dd74043
- name: ffmpeg - name: ffmpeg
config-opts: config-opts:
- --enable-shared - --enable-shared