{ "app-id": "com.github.rafostar.Clapper", "runtime": "org.gnome.Platform", "runtime-version": "master", "sdk": "org.gnome.Sdk", "sdk-extensions": [ "org.freedesktop.Sdk.Extension.rust-nightly", "org.freedesktop.Sdk.Extension.llvm16" ], "add-extensions": { "org.freedesktop.Platform.ffmpeg-full": { "version": "23.08", "directory": "lib/ffmpeg", "add-ld-path": ".", "no-autodownload": false, "autodelete": false } }, "command": "com.github.rafostar.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" ], "build-options": { "append-path": "/usr/lib/sdk/rust-nightly/bin:/usr/lib/sdk/llvm16/bin", "prepend-ld-library-path": "/usr/lib/sdk/llvm16/lib" }, "modules": [ "flathub/shared-modules/gudev/gudev.json", "testing/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", "testing/dav1d.json", "testing/gstreamer.json", "testing/gst-plugins-rs.json", "testing/gtuber.json", { "name": "clapper", "buildsystem": "meson", "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/" ] }