Files
spotifast/packaging/flatpak/rocks.fastpotify.Fastpotify.bundle.yml
T
Carmine Paolino ef50fc2d0e Ship a Flatpak bundle with each release
Fedora and the other distributions without a package had no build of
ours to turn to, and the community one broke for several people (#73).
The release workflow now packages the Linux build it already made into
rocks.fastpotify.Fastpotify, a bundle anyone with Flatpak can install,
in a sandbox with sound, the network, the tray, and MPRIS. The manifest
Flathub builds from source sits beside it with a script that pins it to
a tag, and the AppStream metadata both need. Inside a sandbox MPRIS
names the desktop entry by the app id, which is the name the entry is
exported under.
2026-08-30 11:11:58 +02:00

32 lines
1.4 KiB
YAML

# The release workflow's Flatpak: the binary the Linux job built, packaged
# into the same sandbox as rocks.fastpotify.Fastpotify.yml describes. The
# job unpacks the release tarball into built/ beside this file first.
id: rocks.fastpotify.Fastpotify
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: fastpotify
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --device=dri
- --socket=pulseaudio
- --share=network
- --talk-name=org.kde.StatusNotifierWatcher
- --own-name=org.mpris.MediaPlayer2.fastpotify
- --own-name=rocks.fastpotify.Instance
modules:
- name: fastpotify
buildsystem: simple
build-commands:
- install -Dm755 fastpotify /app/bin/fastpotify
- install -Dm644 packaging/applications/fastpotify.desktop /app/share/applications/rocks.fastpotify.Fastpotify.desktop
- sed -i 's/^Icon=fastpotify$/Icon=rocks.fastpotify.Fastpotify/' /app/share/applications/rocks.fastpotify.Fastpotify.desktop
- install -Dm644 packaging/icons/fastpotify.svg /app/share/icons/hicolor/scalable/apps/rocks.fastpotify.Fastpotify.svg
- install -Dm644 packaging/flatpak/rocks.fastpotify.Fastpotify.metainfo.xml /app/share/metainfo/rocks.fastpotify.Fastpotify.metainfo.xml
- install -Dm644 LICENSE /app/share/licenses/fastpotify/LICENSE
sources:
- type: dir
path: built