summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-03-21 18:40:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-25 10:29:15 +0000
commit171adb1e828ea81d5cbedf527e17366865e4b8e1 (patch)
treee5cd7b55d62d435acbe1513ecf0ba3ae65e89fc2 /meta/recipes-multimedia
parent6462d08dc64b46ec4b23f9bd12ef1b86820c9b06 (diff)
downloadpoky-171adb1e828ea81d5cbedf527e17366865e4b8e1.tar.gz
gstreamer1.0-plugins-bad: fix incorrect handling of Cflags in gstreamer-gl.pc file
Cflags had GL_CFLAGS appended, which contained full sysroot path to libdrm include; generally such dependencies should be handled by pkgconfig's Requires facility. It's unlikely that this .pc file is used by anything, but it was causing a QA error. (From OE-Core rev: 67fc36615351dff37516ee6c9239025198379112) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch27
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb1
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
new file mode 100644
index 0000000000..e81b065705
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
@@ -0,0 +1,27 @@
1From a93ca63d01e7cd1e40b5be576992f77fac364bd5 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 21 Mar 2016 18:21:17 +0200
4Subject: [PATCH] gstreamer-gl.pc.in: don't append GL_CFLAGS to CFLAGS
5
6Dependencies' include directories should not be added in this way;
7it causes problems when cross-compiling in sysroot environments.
8
9Upstream-Status: Pending
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12 pkgconfig/gstreamer-gl.pc.in | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig/gstreamer-gl.pc.in
16index 5589e2a..b986450 100644
17--- a/pkgconfig/gstreamer-gl.pc.in
18+++ b/pkgconfig/gstreamer-gl.pc.in
19@@ -10,4 +10,4 @@ Version: @VERSION@
20 Requires: gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@
21
22 Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ @GL_LIBS@
23-Cflags: -I${includedir} @GL_CFLAGS@
24+Cflags: -I${includedir}
25--
262.7.0
27
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
index 5be76db83c..ef6581b2ab 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
@@ -14,6 +14,7 @@ SRC_URI = " \
14 file://fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch \ 14 file://fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch \
15 file://avoid-including-sys-poll.h-directly.patch \ 15 file://avoid-including-sys-poll.h-directly.patch \
16 file://ensure-valid-sentinels-for-gst_structure_get-etc.patch \ 16 file://ensure-valid-sentinels-for-gst_structure_get-etc.patch \
17 file://0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch \
17" 18"
18 19
19PV = "1.7.2+git${SRCPV}" 20PV = "1.7.2+git${SRCPV}"