summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRogerio Nunes <ronunes@gmail.com>2013-04-02 20:34:44 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-03 16:55:10 +0100
commit022cc0d3f0f7468428d708c27dbc561f619ee841 (patch)
treeb8059681d2501e45563322fe51012c0e0e6f793d
parente611bba7bba02ba167b2ae3671b00cc99e4fb29c (diff)
downloadopenembedded-core-022cc0d3f0f7468428d708c27dbc561f619ee841.tar.gz
openembedded-core-022cc0d3f0f7468428d708c27dbc561f619ee841.tar.bz2
openembedded-core-022cc0d3f0f7468428d708c27dbc561f619ee841.zip
gst-plugins-bad: disable librsvg when x11 is disabled
librsvg depends on gtk+, which in turn does not support framebuffer as backend in current version (2.15.24). This patch disables librsvg when x11 is not in the distro. Signed-off-by: Rogerio Nunes <ronunes@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
index 9039f97804..eb289c70de 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb
@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
file://gst/tta/crc32.h;beginline=12;endline=29;md5=71a904d99ce7ae0c1cf129891b98145c"
-DEPENDS += "gst-plugins-base tremor librsvg curl"
+DEPENDS += "gst-plugins-base tremor curl"
-PR = "r3"
+PR = "r4"
inherit gettext
@@ -16,6 +16,9 @@ EXTRA_OECONF += "--disable-examples --disable-experimental --disable-sdl --disab
--with-plugins=wavpack,ivorbis,mpegvideoparse --disable-vdpau --disable-apexsink \
--disable-orc"
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'librsvg', '', d)}"
+PACKAGECONFIG[librsvg] = "--enable-librsvg,--disable-librsvg,librsvg,"
+
ARM_INSTRUCTION_SET = "arm"
do_configure_prepend() {