ci: Include gpl plugins when building gst

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1176>
This commit is contained in:
Jordan Petridis 2022-12-16 09:59:11 +02:00 committed by Sebastian Dröge
parent 6f55e5e8b5
commit 56007b3a4b

View file

@ -11,11 +11,14 @@ cd gstreamer
# plugins required by tests
PLUGINS="-D gst-plugins-base:ogg=enabled -D gst-plugins-base:vorbis=enabled -D gst-plugins-base:theora=enabled -D gst-plugins-good:matroska=enabled -D gst-plugins-good:vpx=enabled -D gst-plugins-bad:opus=enabled"
meson build -D prefix=/usr/local -D examples=disabled -D gtk_doc=disabled -D introspection=disabled -D libav=disabled -D python=disabled -D ugly=disabled -D vaapi=disabled $PLUGINS
meson build -D prefix=/usr/local -D gpl=enabled -D examples=disabled -D gtk_doc=disabled -D introspection=disabled -D libav=disabled -D python=disabled -D ugly=disabled -D vaapi=disabled $PLUGINS
ninja -C build
ninja -C build install
cd ..
rm -rf gstreamer/
# Check what plugins we installed
gst-inspect-1.0
popd