diff --git a/pkgs/flatpak/com.github.rafostar.Clapper.json b/pkgs/flatpak/com.github.rafostar.Clapper.json index 44d7611a..5dbb253f 100644 --- a/pkgs/flatpak/com.github.rafostar.Clapper.json +++ b/pkgs/flatpak/com.github.rafostar.Clapper.json @@ -40,15 +40,12 @@ "flathub/lib/libass.json", "flathub/lib/uchardet.json", "flathub/lib/libmicrodns.json", - "flathub/gstreamer-1.0/gstreamer.json", + "testing/gstreamer_stable.json", "testing/yt-dlp.json", "testing/libpeas.json", { "name": "clapper", "buildsystem": "meson", - "config-opts": [ - "-Dc_args=\"-DHAVE_GST_PATCHES=1\"" - ], "sources": [ { "type": "dir", diff --git a/pkgs/flatpak/testing/gstreamer_stable.json b/pkgs/flatpak/testing/gstreamer_stable.json new file mode 100644 index 00000000..a9140864 --- /dev/null +++ b/pkgs/flatpak/testing/gstreamer_stable.json @@ -0,0 +1,99 @@ +{ + "name": "gstreamer", + "buildsystem": "meson", + "config-opts": [ + "--buildtype=release", + "--wrap-mode=nodownload", + + "-Dbase=enabled", + "-Dgood=enabled", + "-Dbad=enabled", + "-Dugly=enabled", + "-Dlibav=enabled", + "-Dvaapi=enabled", + "-Dsharp=disabled", + "-Drs=disabled", + "-Dpython=disabled", + "-Ddevtools=disabled", + "-Dges=disabled", + "-Drtsp_server=disabled", + "-Dgst-examples=disabled", + "-Dqt5=disabled", + "-Dtests=disabled", + "-Dexamples=disabled", + "-Dintrospection=enabled", + "-Ddoc=disabled", + "-Dgtk_doc=disabled", + "-Dgpl=enabled", + + "-Dgstreamer:benchmarks=disabled", + "-Dgstreamer:gobject-cast-checks=disabled", + "-Dgstreamer:glib-asserts=disabled", + "-Dgstreamer:glib-checks=disabled", + "-Dgstreamer:extra-checks=disabled", + + "-Dgst-plugins-base:gobject-cast-checks=disabled", + "-Dgst-plugins-base:glib-asserts=disabled", + "-Dgst-plugins-base:glib-checks=disabled", + "-Dgst-plugins-base:gl_api=opengl,gles2", + "-Dgst-plugins-base:gl_platform=egl,glx", + + "-Dgst-plugins-good:gobject-cast-checks=disabled", + "-Dgst-plugins-good:glib-asserts=disabled", + "-Dgst-plugins-good:glib-checks=disabled", + "-Dgst-plugins-good:gtk3=disabled", + + "-Dgst-plugins-bad:gobject-cast-checks=disabled", + "-Dgst-plugins-bad:glib-asserts=disabled", + "-Dgst-plugins-bad:glib-checks=disabled", + "-Dgst-plugins-bad:extra-checks=disabled", + "-Dgst-plugins-bad:vulkan=disabled", + "-Dgst-plugins-bad:webrtc=disabled", + "-Dgst-plugins-bad:wasapi=disabled", + "-Dgst-plugins-bad:wasapi2=disabled", + "-Dgst-plugins-bad:winks=disabled", + "-Dgst-plugins-bad:winscreencap=disabled", + "-Dgst-plugins-bad:assrender=enabled", + "-Dgst-plugins-bad:nvcodec=enabled", + "-Dgst-plugins-bad:v4l2codecs=enabled", + "-Dgst-plugins-bad:va=enabled", + + "-Dgst-plugins-ugly:gobject-cast-checks=disabled", + "-Dgst-plugins-ugly:glib-asserts=disabled", + "-Dgst-plugins-ugly:glib-checks=disabled", + "-Dgst-plugins-ugly:mpeg2dec=enabled" + ], + "sources": [ + { + "type": "git", + "url": "https://gitlab.freedesktop.org/gstreamer/gstreamer.git", + "tag": "1.24.9", + "commit": "b309f90bfde36e6d175b70bfa0c941f2829dd6a5", + "disable-submodules": true + }, + { + "type": "patch", + "path": "../flathub/gstreamer-1.0/gst-libav-stop-caching-codecs.patch" + }, + { + "type": "patch", + "path": "../flathub/gstreamer-1.0/gst-plugins-base-autodetect-subtitle-text-encoding.patch" + }, + { + "type": "patch", + "path": "../flathub/gstreamer-1.0/gst-plugins-good-matroska-fix-attachments-detection.patch" + }, + { + "type": "patch", + "path": "../flathub/gstreamer-1.0/gst-plugins-good-dashdemux2-play-last-subfragment.patch" + }, + { + "type": "patch", + "path": "../flathub/gstreamer-1.0/gst-plugins-bad-dashdemux-sidx-range-download.patch" + }, + { + "type": "patch", + "path": "../flathub/gstreamer-1.0/gst-plugins-bad-dashdemux-improve-initial-representation-selection.patch" + } + ] +}