summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer
diff options
context:
space:
mode:
authorJose Quaresma <quaresma.jose@gmail.com>2020-10-29 14:27:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-31 08:54:12 +0000
commitaf090eec2bc98c06ef10b362a3811c27cfc7ecbe (patch)
treeec6377f19dc5e77be96a016c0fbea30efd8a18cd /meta/recipes-multimedia/gstreamer
parentce6b2b57ad2d7136e42ccc13c422f8db55a026a1 (diff)
downloadpoky-af090eec2bc98c06ef10b362a3811c27cfc7ecbe.tar.gz
gstreamer1.0-plugins-good: upgrade to version 1.18.0
* 0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch Removed since these are included in 1.18.0 License-Update: remove file://common/coverage/coverage-report.pl Upstream dont have it any more. (From OE-Core rev: 06f51b0ae0e5a3071778f7d4134bf719b25a103f) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch70
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch8
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.0.bb (renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.2.bb)14
3 files changed, 10 insertions, 82 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch
deleted file mode 100644
index 136848763b..0000000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch
+++ /dev/null
@@ -1,70 +0,0 @@
1From 3e0d5577444b32579bdf5b69d720a322322ff7bc Mon Sep 17 00:00:00 2001
2From: Milian Wolff <milian.wolff@kdab.com>
3Date: Tue, 26 Nov 2019 15:08:20 +0100
4Subject: [PATCH] qmlgl: ensure Qt defines GLsync to fix compile on some platforms
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9By explictly including QtGui/qopengl.h we force the code path that
10defines GLsync in the Qt-specific way. Without that, some platforms
11failed to compile the qmlgl plugin, since neither Qt nor gstreamer
12defined GLsync then, leading to e.g.:
13
14```
15make[4]: Entering directory '/.../gst-plugins-good-1.16.1/ext/qt'
16 CXX libgstqmlgl_la-qtitem.lo
17In file included from gstqtgl.h:32,
18 from qtitem.h:27,
19 from qtitem.cc:28:
20/.../usr/include/gstreamer-1.0/
21gst/gl/gstglfuncs.h:93:17: error: expected identifier before ‘*’ token
22 ret (GSTGLAPI *name) args;
23 ^
24/.../usr/include/gstreamer-1.0/
25gst/gl/glprototypes/sync.h:27:1: note: in expansion of macro
26‘GST_GL_EXT_FUNCTION’
27 GST_GL_EXT_FUNCTION (GLsync, FenceSync,
28 ^~~~~~~~~~~~~~~~~~~
29```
30Signed-off-by: Khem Raj <raj.khem@gmail.com>
31Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/commit/3e0d5577444b32579bdf5b69d720a322322ff7bc]
32---
33 ext/qt/gstqtgl.h | 18 +++++++++++-------
34 1 file changed, 11 insertions(+), 7 deletions(-)
35
36--- a/ext/qt/gstqtgl.h
37+++ b/ext/qt/gstqtgl.h
38@@ -22,14 +22,7 @@
39 #include <QtGui/qtgui-config.h>
40 #endif
41
42-/* qt uses the same trick as us to typedef GLsync on GLES2 but to a different
43- * type which confuses the preprocessor. Instead of trying to reconcile the
44- * two, we instead use the GLsync definition from Qt from above, and ensure
45- * that we don't typedef GLsync in gstglfuncs.h */
46 #include <gst/gl/gstglconfig.h>
47-#undef GST_GL_HAVE_GLSYNC
48-#define GST_GL_HAVE_GLSYNC 1
49-#include <gst/gl/gstglfuncs.h>
50
51 /* The glext.h guard was renamed in 2018, but some software which
52 * includes their own copy of the GL headers (such as qt) might have
53@@ -46,6 +39,17 @@
54 #endif
55 #endif
56
57+/* pulls in GLsync, see below */
58+#include <QtGui/qopengl.h>
59+
60+/* qt uses the same trick as us to typedef GLsync on GLES2 but to a different
61+ * type which confuses the preprocessor. Instead of trying to reconcile the
62+ * two, we instead use the GLsync definition from Qt from above, and ensure
63+ * that we don't typedef GLsync in gstglfuncs.h */
64+#undef GST_GL_HAVE_GLSYNC
65+#define GST_GL_HAVE_GLSYNC 1
66+#include <gst/gl/gstglfuncs.h>
67+
68 #if defined(QT_OPENGL_ES_2)
69 #include <QtGui/QOpenGLContext>
70 #include <QtGui/QOpenGLFunctions>
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch
index 3d423154e0..788d752058 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch
@@ -1,4 +1,4 @@
1From d08234a659bec1fd5c984fedefbeb8192af07839 Mon Sep 17 00:00:00 2001 1From bf8b2fa0f6870589d036f0f33c140a3f85b530a0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 31 Mar 2020 21:23:28 -0700 3Date: Tue, 31 Mar 2020 21:23:28 -0700
4Subject: [PATCH] qt: include ext/qt/gstqtgl.h instead of gst/gl/gstglfuncs.h 4Subject: [PATCH] qt: include ext/qt/gstqtgl.h instead of gst/gl/gstglfuncs.h
@@ -26,7 +26,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 2 files changed, 2 insertions(+), 2 deletions(-) 26 2 files changed, 2 insertions(+), 2 deletions(-)
27 27
28diff --git a/ext/qt/gstqsgtexture.cc b/ext/qt/gstqsgtexture.cc 28diff --git a/ext/qt/gstqsgtexture.cc b/ext/qt/gstqsgtexture.cc
29index 2b314e0..12b15dd 100644 29index a05d26e..4cc9fc6 100644
30--- a/ext/qt/gstqsgtexture.cc 30--- a/ext/qt/gstqsgtexture.cc
31+++ b/ext/qt/gstqsgtexture.cc 31+++ b/ext/qt/gstqsgtexture.cc
32@@ -27,7 +27,7 @@ 32@@ -27,7 +27,7 @@
@@ -39,7 +39,7 @@ index 2b314e0..12b15dd 100644
39 39
40 #define GST_CAT_DEFAULT gst_qsg_texture_debug 40 #define GST_CAT_DEFAULT gst_qsg_texture_debug
41diff --git a/ext/qt/qtwindow.cc b/ext/qt/qtwindow.cc 41diff --git a/ext/qt/qtwindow.cc b/ext/qt/qtwindow.cc
42index 62d26b6..bf68ebb 100644 42index 9360c33..0dfd3f1 100644
43--- a/ext/qt/qtwindow.cc 43--- a/ext/qt/qtwindow.cc
44+++ b/ext/qt/qtwindow.cc 44+++ b/ext/qt/qtwindow.cc
45@@ -25,7 +25,7 @@ 45@@ -25,7 +25,7 @@
@@ -52,5 +52,5 @@ index 62d26b6..bf68ebb 100644
52 #include "gstqsgtexture.h" 52 #include "gstqsgtexture.h"
53 #include "gstqtglutility.h" 53 #include "gstqtglutility.h"
54-- 54--
552.26.0 552.28.0
56 56
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.2.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.0.bb
index 17c9421394..c112f336b2 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.2.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.0.bb
@@ -1,19 +1,16 @@
1require gstreamer1.0-plugins-common.inc 1require gstreamer1.0-plugins-common.inc
2 2
3SRC_URI = " \ 3SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \
4 https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ 4 file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \
5 file://0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch \ 5 "
6 file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \
7 "
8 6
9SRC_URI[md5sum] = "bd025f8f14974f94b75ac69a9d1b9c93" 7SRC_URI[md5sum] = "c437bf42bf830bc0f482c7d088fb37a5"
10SRC_URI[sha256sum] = "40bb3bafda25c0b739c8fc36e48380fccf61c4d3f83747e97ac3f9b0171b1319" 8SRC_URI[sha256sum] = "6329bc377a3afea5cf1ab329a91cc4a906f075781780d1edc59e8bea8c1a8bac"
11 9
12S = "${WORKDIR}/gst-plugins-good-${PV}" 10S = "${WORKDIR}/gst-plugins-good-${PV}"
13 11
14LICENSE = "GPLv2+ & LGPLv2.1+" 12LICENSE = "GPLv2+ & LGPLv2.1+"
15LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ 13LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
16 file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607 \
17 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" 14 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe"
18 15
19DEPENDS += "gstreamer1.0-plugins-base libcap zlib" 16DEPENDS += "gstreamer1.0-plugins-base libcap zlib"
@@ -54,6 +51,7 @@ PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack"
54PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" 51PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
55 52
56EXTRA_OEMESON += " \ 53EXTRA_OEMESON += " \
54 -Ddoc=disabled \
57 -Daalib=disabled \ 55 -Daalib=disabled \
58 -Ddirectsound=disabled \ 56 -Ddirectsound=disabled \
59 -Ddv=disabled \ 57 -Ddv=disabled \