flatpak: Support PipeWire GStreamer plugins

We need to allow PipeWire socket access and symlink the pipewire
plugin to the dir where our custom GStreamer installation is.
This commit is contained in:
Rafostar
2021-05-09 21:39:54 +02:00
parent 1c414ef36b
commit af2c74a4b1

View File

@@ -12,6 +12,7 @@
"--socket=pulseaudio", "--socket=pulseaudio",
"--share=network", "--share=network",
"--device=all", "--device=all",
"--filesystem=xdg-run/pipewire-0:ro",
"--filesystem=xdg-videos", "--filesystem=xdg-videos",
"--talk-name=org.gnome.Shell", "--talk-name=org.gnome.Shell",
"--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0", "--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0",
@@ -49,5 +50,8 @@
} }
] ]
} }
],
"cleanup-commands": [
"ln -s /lib/$FLATPAK_ARCH-linux-*/gstreamer-1.0/libgstpipewire.so /app/lib/gstreamer-1.0/"
] ]
} }