diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-03-21 18:40:08 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-25 10:29:15 +0000 |
commit | 171adb1e828ea81d5cbedf527e17366865e4b8e1 (patch) | |
tree | e5cd7b55d62d435acbe1513ecf0ba3ae65e89fc2 /meta | |
parent | 6462d08dc64b46ec4b23f9bd12ef1b86820c9b06 (diff) | |
download | poky-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')
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 @@ | |||
1 | From a93ca63d01e7cd1e40b5be576992f77fac364bd5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Mon, 21 Mar 2016 18:21:17 +0200 | ||
4 | Subject: [PATCH] gstreamer-gl.pc.in: don't append GL_CFLAGS to CFLAGS | ||
5 | |||
6 | Dependencies' include directories should not be added in this way; | ||
7 | it causes problems when cross-compiling in sysroot environments. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-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 | |||
15 | diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig/gstreamer-gl.pc.in | ||
16 | index 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 | -- | ||
26 | 2.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 | ||
19 | PV = "1.7.2+git${SRCPV}" | 20 | PV = "1.7.2+git${SRCPV}" |