aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-02-05 16:12:34 +0100
committerCem Keylan <cem@ckyln.com>2022-02-05 16:12:34 +0100
commit0bebfae0fbe03a663538b5adea8d08c4a8e46b38 (patch)
tree51d111ebee1377405062c97393d6a63e657ce5c9 /extra
parentd5d265543d71950c2876e737b07ab9fde1aab688 (diff)
downloadrepository-0bebfae0fbe03a663538b5adea8d08c4a8e46b38.tar.gz
gst-plugins: bump to 1.20.0
Diffstat (limited to 'extra')
-rwxr-xr-xextra/gst-plugins/build17
-rw-r--r--extra/gst-plugins/checksums8
-rw-r--r--extra/gst-plugins/sources8
-rw-r--r--extra/gst-plugins/version2
4 files changed, 23 insertions, 12 deletions
diff --git a/extra/gst-plugins/build b/extra/gst-plugins/build
index 8f54ad02..06055851 100755
--- a/extra/gst-plugins/build
+++ b/extra/gst-plugins/build
@@ -1,5 +1,15 @@
#!/bin/sh -e
+check_option() {
+ # Meson >=0.60.0 fails when an option used is unspecified in the project.
+ # Meson also fails when supplied with empty arguments, so we set the return
+ # value to something that the project provides
+ grep -q "^option('$1'," meson_options.txt || set -- localedir share/locale
+ # We are not trying to pass an option to printf here.
+ # shellcheck disable=3045
+ printf '-D%s=%s' "$@"
+}
+
export DESTDIR="$1"
[ "$CPT_TEST" ] && test=enabled
@@ -10,9 +20,10 @@ for plugin in libav good bad ugly; do (
# Enable auto-features in gst-plugins
cl-meson \
--auto-features=auto \
- -Dexample=false \
- -Dtests=${test:-disabled} \
- -Dqt5=disabled \
+ "$(check_option example false)" \
+ "$(check_option introspection disabled)" \
+ "$(check_option tests ${test:-disabled})" \
+ "$(check_option qt5 disabled)" \
. output
ninja -C output
diff --git a/extra/gst-plugins/checksums b/extra/gst-plugins/checksums
index 7ad1b13e..7610a576 100644
--- a/extra/gst-plugins/checksums
+++ b/extra/gst-plugins/checksums
@@ -1,5 +1,5 @@
%BLAKE3
-8db280af3652e09587fb78e0314de69b0188f25c411e13cb3a24037fccf9131f gst-plugins-good-1.18.5.tar.xz
-7c7983afdd1219fe7732204da66e40b1681823c4fbeb6ee9c87d08be170801ad gst-plugins-bad-1.18.5.tar.xz
-12aecd1b68fd5362594513555162a1217e85f05382b884475f9cef223b0d2eb7 gst-plugins-ugly-1.18.5.tar.xz
-6c764e36f81dd46c9f232718c3b0c9e804a11c6eb902fd2ae3722f6b25857faa gst-libav-1.18.5.tar.xz
+b28515f739f0636c02863cf71a2f76c9d9aef878d61f7486f7180c3fba9a0b81 gst-plugins-good-1.20.0.tar.xz
+35d0d64e22d57a6bcb535919f70a7882fdda57394af91f4348c00cac89bafb65 gst-plugins-bad-1.20.0.tar.xz
+39f758910a04eff60a61d7f73eaa4838f60a720435814c4dab10e4d933d65f8e gst-plugins-ugly-1.20.0.tar.xz
+a71a77e71fd6063d43403ce182f6a8ca3933aa79e8bbd4acee6f06f288d88f96 gst-libav-1.20.0.tar.xz
diff --git a/extra/gst-plugins/sources b/extra/gst-plugins/sources
index 10b128b6..811b2c1c 100644
--- a/extra/gst-plugins/sources
+++ b/extra/gst-plugins/sources
@@ -1,4 +1,4 @@
-https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.18.5.tar.xz good
-https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.18.5.tar.xz bad
-https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.18.5.tar.xz ugly
-https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.18.5.tar.xz libav
+https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.20.0.tar.xz good
+https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.20.0.tar.xz bad
+https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.20.0.tar.xz ugly
+https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.20.0.tar.xz libav
diff --git a/extra/gst-plugins/version b/extra/gst-plugins/version
index ab2e3c8a..47b4c52a 100644
--- a/extra/gst-plugins/version
+++ b/extra/gst-plugins/version
@@ -1 +1 @@
-1.18.5 3
+1.20.0 1