diff options
Diffstat (limited to 'source/l/qt-gstreamer')
-rwxr-xr-x | source/l/qt-gstreamer/qt-gstreamer.SlackBuild | 5 | ||||
-rw-r--r-- | source/l/qt-gstreamer/qt-gstreamer.gstreamer-1.16.x.diff | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/source/l/qt-gstreamer/qt-gstreamer.SlackBuild b/source/l/qt-gstreamer/qt-gstreamer.SlackBuild index 62e44c4f..6adc9bc2 100755 --- a/source/l/qt-gstreamer/qt-gstreamer.SlackBuild +++ b/source/l/qt-gstreamer/qt-gstreamer.SlackBuild @@ -82,6 +82,11 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix build with gstreamer-1.16.x. This is rather pointless since qt-gstreamer +# is considered dead (in -current only artikulate uses it, and in Plasma 5 +# nothing does), but we'll queue a fix for the FTBFS anyway: +zcat $CWD/qt-gstreamer.gstreamer-1.16.x.diff.gz | patch -p1 --verbose || exit 1 + mkdir -p build cd build cmake \ diff --git a/source/l/qt-gstreamer/qt-gstreamer.gstreamer-1.16.x.diff b/source/l/qt-gstreamer/qt-gstreamer.gstreamer-1.16.x.diff new file mode 100644 index 00000000..d97ace63 --- /dev/null +++ b/source/l/qt-gstreamer/qt-gstreamer.gstreamer-1.16.x.diff @@ -0,0 +1,12 @@ +--- ./src/QGst/caps.cpp.orig 2014-07-08 13:38:36.000000000 -0500 ++++ ./src/QGst/caps.cpp 2019-04-21 20:39:17.810000919 -0500 +@@ -54,7 +54,8 @@ + + void Caps::append(const CapsPtr & caps2) + { +- gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2)); ++ GstCaps *caps3 = caps2; ++ gst_caps_append(object<GstCaps>(), gst_caps_copy(caps3)); + } + + CapsPtr Caps::merge(CapsPtr & caps2) |