[OE-core] [PATCH] gstreamer1.0-plugins-bad: Add patch for disable pkg-check of wayland-scanner
Nobuhiro Iwamatsu
nobuhiro.iwamatsu.yj at renesas.com
Wed Oct 8 02:49:44 UTC 2014
wayland plugin can not build by pkg-check of wayland-scanner.
By applying patch to disable a check of wayland-scanner, wayland plugin can build.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu at renesas.com>
---
.../gstreamer/gstreamer1.0-plugins-bad.inc | 1 +
.../disable-wayland-scanner-pkg-check.patch | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/disable-wayland-scanner-pkg-check.patch
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
index dab0bf5..71badae 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -7,6 +7,7 @@ DEPENDS += "gstreamer1.0-plugins-base bzip2 libpng jpeg"
S = "${WORKDIR}/gst-plugins-bad-${PV}"
SRC_URI += "file://configure-allow-to-disable-libssh2.patch \
+ file://disable-wayland-scanner-pkg-check.patch \
"
inherit gettext
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/disable-wayland-scanner-pkg-check.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/disable-wayland-scanner-pkg-check.patch
new file mode 100644
index 0000000..decf3f0
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/disable-wayland-scanner-pkg-check.patch
@@ -0,0 +1,19 @@
+diff --git a/configure.ac b/configure.ac
+index d28f5e7..8a5e53f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2011,13 +2011,11 @@ AG_GST_CHECK_FEATURE(DIRECTFB, [directfb], dfbvideosink , [
+ dnl **** Wayland ****
+ translit(dnm, m, l) AM_CONDITIONAL(USE_WAYLAND, true)
+ AG_GST_CHECK_FEATURE(WAYLAND, [wayland sink], wayland , [
+- PKG_CHECK_MODULES(WAYLAND, wayland-client >= 1.4.0 wayland-scanner, [
++ PKG_CHECK_MODULES(WAYLAND, wayland-client >= 1.4.0, [
+ HAVE_WAYLAND="yes" ], [ HAVE_WAYLAND="no"
+ ])
+ ])
+
+-AC_PATH_PROG([wayland_scanner], [wayland-scanner])
+-
+ dnl **** WebP ****
+ translit(dnm, m, l) AM_CONDITIONAL(USE_WEBP, true)
+ AG_GST_CHECK_FEATURE(WEBP, [WebP], webp , [
--
1.7.9.5
More information about the Openembedded-core
mailing list