mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
Since now we do multiple windows, an instance number is added to owned connection name (as specified in MPRIS spec). Update Flatpak MPRIS permission to handle that.
64 lines
1.9 KiB
JSON
64 lines
1.9 KiB
JSON
{
|
|
"app-id": "com.github.rafostar.Clapper",
|
|
"runtime": "org.gnome.Platform",
|
|
"runtime-version": "45",
|
|
"sdk": "org.gnome.Sdk",
|
|
"add-extensions": {
|
|
"org.freedesktop.Platform.ffmpeg-full": {
|
|
"version": "23.08",
|
|
"directory": "lib/ffmpeg",
|
|
"add-ld-path": ".",
|
|
"no-autodownload": false,
|
|
"autodelete": false
|
|
}
|
|
},
|
|
"command": "clapper",
|
|
"separate-locales": false,
|
|
"finish-args": [
|
|
"--share=ipc",
|
|
"--socket=fallback-x11",
|
|
"--socket=wayland",
|
|
"--device=dri",
|
|
"--socket=pulseaudio",
|
|
"--share=network",
|
|
"--device=all",
|
|
"--filesystem=xdg-run/pipewire-0:ro",
|
|
"--filesystem=xdg-videos",
|
|
"--filesystem=xdg-run/gvfsd",
|
|
"--own-name=org.mpris.MediaPlayer2.Clapper.*",
|
|
"--talk-name=org.gtk.vfs.*",
|
|
"--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0"
|
|
],
|
|
"modules": [
|
|
"flathub/shared-modules/gudev/gudev.json",
|
|
"flathub/lib/liba52.json",
|
|
"flathub/lib/libmpeg2.json",
|
|
"flathub/lib/libdv.json",
|
|
"flathub/lib/libdvdcss.json",
|
|
"flathub/lib/libdvdread.json",
|
|
"flathub/lib/libdvdnav.json",
|
|
"flathub/lib/libass.json",
|
|
"flathub/lib/uchardet.json",
|
|
"flathub/lib/libmicrodns.json",
|
|
"flathub/gstreamer-1.0/gstreamer.json",
|
|
"testing/gtuber.json",
|
|
{
|
|
"name": "clapper",
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dc_args=\"-DHAVE_GST_PATCHES=1\""
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "../../."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"cleanup-commands": [
|
|
"mkdir -p /app/lib/ffmpeg",
|
|
"ln -s /lib/$FLATPAK_ARCH-linux-*/gstreamer-1.0/libgstpipewire.so /app/lib/gstreamer-1.0/"
|
|
]
|
|
}
|