diff --git a/pkgs/flatpak/com.github.rafostar.Clapper-testing.json b/pkgs/flatpak/com.github.rafostar.Clapper-testing.json new file mode 100644 index 00000000..3038b812 --- /dev/null +++ b/pkgs/flatpak/com.github.rafostar.Clapper-testing.json @@ -0,0 +1,53 @@ +{ + "app-id": "com.github.rafostar.Clapper", + "runtime": "org.gnome.Platform", + "runtime-version": "40", + "sdk": "org.gnome.Sdk", + "command": "com.github.rafostar.Clapper", + "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", + "--own-name=org.mpris.MediaPlayer2.Clapper", + "--talk-name=org.gnome.Shell", + "--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0", + "--env=GST_VAAPI_ALL_DRIVERS=1" + ], + "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/ffmpeg.json", + "testing/gstreamer-1.0/gstreamer.json", + "testing/gstreamer-1.0/gst-plugins-base.json", + "testing/gstreamer-1.0/gst-plugins-good.json", + "testing/gstreamer-1.0/gst-plugins-bad.json", + "testing/gstreamer-1.0/gst-plugins-ugly.json", + "testing/gstreamer-1.0/gst-libav.json", + "testing/gstreamer-1.0/gstreamer-vaapi.json", + { + "name": "clapper", + "buildsystem": "meson", + "sources": [ + { + "type": "dir", + "path": "../../." + } + ] + } + ], + "cleanup-commands": [ + "ln -s /lib/$FLATPAK_ARCH-linux-*/gstreamer-1.0/libgstpipewire.so /app/lib/gstreamer-1.0/" + ] +} diff --git a/pkgs/flatpak/testing/gstreamer-1.0/gst-libav.json b/pkgs/flatpak/testing/gstreamer-1.0/gst-libav.json new file mode 100644 index 00000000..25e30ba9 --- /dev/null +++ b/pkgs/flatpak/testing/gstreamer-1.0/gst-libav.json @@ -0,0 +1,15 @@ +{ + "name": "gst-libav", + "buildsystem": "meson", + "config-opts": [ + "-Ddoc=disabled", + "-Dtests=disabled" + ], + "sources": [ + { + "type": "git", + "url": "https://gitlab.freedesktop.org/gstreamer/gst-libav.git", + "branch": "master" + } + ] +} diff --git a/pkgs/flatpak/testing/gstreamer-1.0/gst-plugins-bad.json b/pkgs/flatpak/testing/gstreamer-1.0/gst-plugins-bad.json new file mode 100644 index 00000000..75727fba --- /dev/null +++ b/pkgs/flatpak/testing/gstreamer-1.0/gst-plugins-bad.json @@ -0,0 +1,28 @@ +{ + "name": "gst-plugins-bad", + "buildsystem": "meson", + "config-opts": [ + "-Ddoc=disabled", + "-Dexamples=disabled", + "-Dtests=disabled", + "-Dnls=disabled", + "-Dgobject-cast-checks=disabled", + "-Dglib-asserts=disabled", + "-Dglib-checks=disabled", + "-Dextra-checks=disabled", + + "-Dvulkan=disabled", + "-Dwebrtc=disabled", + "-Dwasapi=disabled", + "-Dwasapi2=disabled", + "-Dwinks=disabled", + "-Dwinscreencap=disabled" + ], + "sources": [ + { + "type": "git", + "url": "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git", + "branch": "master" + } + ] +} diff --git a/pkgs/flatpak/testing/gstreamer-1.0/gst-plugins-base.json b/pkgs/flatpak/testing/gstreamer-1.0/gst-plugins-base.json new file mode 100644 index 00000000..44fb10e9 --- /dev/null +++ b/pkgs/flatpak/testing/gstreamer-1.0/gst-plugins-base.json @@ -0,0 +1,25 @@ +{ + "name": "gst-plugins-base", + "buildsystem": "meson", + "config-opts": [ + "--wrap-mode=nofallback", + + "-Ddoc=disabled", + "-Dexamples=disabled", + "-Dtests=disabled", + "-Dnls=disabled", + "-Dgobject-cast-checks=disabled", + "-Dglib-asserts=disabled", + "-Dglib-checks=disabled", + + "-Dgl_api=opengl,gles2", + "-Dgl_platform=egl,glx" + ], + "sources": [ + { + "type": "git", + "url": "https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git", + "branch": "master" + } + ] +} diff --git a/pkgs/flatpak/testing/gstreamer-1.0/gst-plugins-good.json b/pkgs/flatpak/testing/gstreamer-1.0/gst-plugins-good.json new file mode 100644 index 00000000..b9096033 --- /dev/null +++ b/pkgs/flatpak/testing/gstreamer-1.0/gst-plugins-good.json @@ -0,0 +1,22 @@ +{ + "name": "gst-plugins-good", + "buildsystem": "meson", + "config-opts": [ + "-Ddoc=disabled", + "-Dexamples=disabled", + "-Dtests=disabled", + "-Dnls=disabled", + "-Dgobject-cast-checks=disabled", + "-Dglib-asserts=disabled", + "-Dglib-checks=disabled", + + "-Dgtk3=disabled" + ], + "sources": [ + { + "type": "git", + "url": "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good.git", + "branch": "master" + } + ] +} diff --git a/pkgs/flatpak/testing/gstreamer-1.0/gst-plugins-ugly.json b/pkgs/flatpak/testing/gstreamer-1.0/gst-plugins-ugly.json new file mode 100644 index 00000000..a19948bf --- /dev/null +++ b/pkgs/flatpak/testing/gstreamer-1.0/gst-plugins-ugly.json @@ -0,0 +1,21 @@ +{ + "name": "gst-plugins-ugly", + "buildsystem": "meson", + "config-opts": [ + "-Ddoc=disabled", + "-Dnls=disabled", + "-Dtests=disabled", + "-Dgobject-cast-checks=disabled", + "-Dglib-asserts=disabled", + "-Dglib-checks=disabled", + + "-Dmpeg2dec=enabled" + ], + "sources": [ + { + "type": "git", + "url": "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly.git", + "branch": "master" + } + ] +} diff --git a/pkgs/flatpak/testing/gstreamer-1.0/gstreamer-vaapi.json b/pkgs/flatpak/testing/gstreamer-1.0/gstreamer-vaapi.json new file mode 100644 index 00000000..9d5d4546 --- /dev/null +++ b/pkgs/flatpak/testing/gstreamer-1.0/gstreamer-vaapi.json @@ -0,0 +1,16 @@ +{ + "name": "gstreamer-vaapi", + "buildsystem": "meson", + "config-opts": [ + "-Ddoc=disabled", + "-Dexamples=disabled", + "-Dtests=disabled" + ], + "sources": [ + { + "type": "git", + "url": "https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi.git", + "branch": "master" + } + ] +} diff --git a/pkgs/flatpak/testing/gstreamer-1.0/gstreamer.json b/pkgs/flatpak/testing/gstreamer-1.0/gstreamer.json new file mode 100644 index 00000000..17d0c425 --- /dev/null +++ b/pkgs/flatpak/testing/gstreamer-1.0/gstreamer.json @@ -0,0 +1,23 @@ +{ + "name": "gstreamer", + "buildsystem": "meson", + "config-opts": [ + "-Ddoc=disabled", + "-Dgtk_doc=disabled", + "-Dexamples=disabled", + "-Dtests=disabled", + "-Dbenchmarks=disabled", + "-Dnls=disabled", + "-Dgobject-cast-checks=disabled", + "-Dglib-asserts=disabled", + "-Dglib-checks=disabled", + "-Dextra-checks=disabled" + ], + "sources": [ + { + "type": "git", + "url": "https://gitlab.freedesktop.org/gstreamer/gstreamer.git", + "branch": "master" + } + ] +}