diff options
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}" | 
