Soundux/deployment/flatpak/io.github.Soundux.yml
2022-05-19 14:25:45 +02:00

77 lines
2.5 KiB
YAML

app-id: io.github.Soundux
runtime: org.gnome.Platform
runtime-version: "42"
sdk: org.gnome.Sdk
command: soundux
finish-args:
- --device=dri
- --socket=pulseaudio
- --socket=x11
- --share=network
- --share=ipc
- --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:
- "shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json"
- name: libwnck
buildsystem: meson
config-opts:
- "-Dgtk_doc=false"
cleanup:
- "/include"
- "/lib/pkgconfig"
- "/bin"
sources:
- type: git
url: https://gitlab.gnome.org/GNOME/libwnck.git
tag: "40.0"
commit: "d161ed31914711b97a1c6ebef0558d80ce51113b"
- name: soundux
buildsystem: cmake-ninja
config-opts:
- -DUSE_FLATPAK=ON
- -DCMAKE_BUILD_TYPE=Release
- -DFETCHCONTENT_FULLY_DISCONNECTED=ON
post-install:
- "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 deployment/flatpak/icons/io.github.Soundux-256.png /app/share/icons/hicolor/256x256/apps/io.github.Soundux.png"
sources:
- type: archive
url: https://github.com/Soundux/Soundux/releases/download/0.2.8/soundux-0.2.8.tar.gz
sha256: d007841ae5bab71d8a25cc86d27ce137b01b29a7f2b42a5bd62b4ed50dd74043
- name: ffmpeg
config-opts:
- --enable-shared
- --disable-static
- --disable-doc
- --disable-ffplay
- --disable-devices
- --enable-gnutls
- --enable-libmp3lame
- --enable-libvorbis
sources:
- type: archive
url: https://www.ffmpeg.org/releases/ffmpeg-5.0.1.tar.xz
sha256: ef2efae259ce80a240de48ec85ecb062cecca26e4352ffb3fda562c21a93007b
post-install:
- install -Dm644 COPYING.LGPLv3 /app/share/licenses/ffmpeg/COPYING
cleanup:
- "/share/ffmpeg"
- name: youtube-dl
no-autogen: true
no-make-install: true
make-args:
- youtube-dl
- PYTHON=/usr/bin/python
sources:
- type: archive
url: https://github.com/ytdl-org/youtube-dl/releases/download/2021.12.17/youtube-dl-2021.12.17.tar.gz
sha256: 9f3b99c8b778455165b4525f21505e86c7ff565f3ac319e19733d810194135df
post-install:
- install -Dm0755 -t /app/bin youtube-dl