app-id: io.freetubeapp.FreeTube runtime: org.freedesktop.Platform runtime-version: '23.08' branch: stable sdk: org.freedesktop.Sdk base: org.electronjs.Electron2.BaseApp base-version: '23.08' command: run.sh separate-locales: false finish-args: - --device=dri - --share=ipc - --socket=x11 - --socket=pulseaudio - --share=network - --filesystem=xdg-download - --own-name=org.mpris.MediaPlayer2.chromium.* - --own-name=org.mpris.MediaPlayer2.freetube - --talk-name=org.freedesktop.PowerManagement - --talk-name=org.freedesktop.ScreenSaver - --talk-name=org.gnome.SessionManager - --talk-name=org.gnome.SettingsDaemon modules: - name: freetube buildsystem: simple sources: - type: file only-arches: - x86_64 url: https://github.com/FreeTubeApp/FreeTube/releases/download/v0.22.0-beta/freetube-0.22.0-linux-portable-x64.zip sha256: 4a6b5548b2924a747b32366382abad2b6f2665d362a390dec76c296ac3858bd1 - type: file only-arches: - aarch64 url: https://github.com/FreeTubeApp/FreeTube/releases/download/v0.22.0-beta/freetube-0.22.0-linux-portable-arm64.zip sha256: 25cd523a83b37ec5c8c6d9802dc2f600652058eccbe72005af7c7b83e2fae4ed # Icon - type: file url: https://raw.githubusercontent.com/FreeTubeApp/FreeTube/master/_icons/icon.svg sha256: 26c9c74d6684655170d579794886e146cb71faf21cae343393d487600ce318f1 # Wrapper to launch the app - type: file path: run.sh - type: file path: io.freetubeapp.FreeTube.desktop - type: file path: io.freetubeapp.FreeTube.metainfo.xml build-commands: # Bundle app - unzip freetube-*.zip -d /app/freetube # Install app wrapper - install run.sh /app/bin/ # Install app icon and desktop file - install -Dm644 icon.svg /app/share/icons/hicolor/scalable/apps/io.freetubeapp.FreeTube.svg - install -Dm644 io.freetubeapp.FreeTube.desktop -t /app/share/applications/ - install -Dm644 io.freetubeapp.FreeTube.metainfo.xml -t /app/share/metainfo/