]> code.ossystems Code Review - openembedded-core.git/commitdiff
gst-plugins-bad: disable librsvg when x11 is disabled
authorRogerio Nunes <ronunes@gmail.com>
Wed, 3 Apr 2013 00:34:44 +0000 (20:34 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Apr 2013 15:55:10 +0000 (16:55 +0100)
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>
meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bb

index 9039f97804005286ead584d7ee0f52035e1eb156..eb289c70de6d86deeb7ce2dde4ae6460ce8eaf58 100644 (file)
@@ -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() {