mpv/container.yaml
Yaakov Selkowitz 2c92efae2e Initial import
2023-02-21 23:41:42 -05:00

28 lines
815 B
YAML

compose:
modules:
- mpv:stable
flatpak:
id: io.mpv.Mpv
branch: stable
command: mpv
rename-appdata-file: mpv.metainfo.xml
rename-desktop-file: mpv.desktop
rename-icon: mpv
finish-args: |-
--device=all
--share=ipc
--share=network
--socket=fallback-x11
--socket=wayland
--socket=pulseaudio
--filesystem=/tmp:rw
--filesystem=host:ro
--filesystem=xdg-pictures:rw
--filesystem=xdg-videos:rw
--filesystem=xdg-config/mpv:create
--filesystem=xdg-run/pipewire-0:ro
--env=LC_NUMERIC=C
--own-name=org.mpris.MediaPlayer2.mpv.*
--talk-name=org.gnome.SessionManager
cleanup-commands: |
sed -i -e 's/io\.mpv\.mpv/io.mpv.Mpv/' /app/share/metainfo/mpv.metainfo.xml