[oe-commits] Rogerio Nunes : gst-plugins-bad: disable librsvg when x11 is disabled

git at git.openembedded.org git at git.openembedded.org
Wed Apr 3 15:58:57 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 022cc0d3f0f7468428d708c27dbc561f619ee841
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=022cc0d3f0f7468428d708c27dbc561f619ee841

Author: Rogerio Nunes <ronunes at gmail.com>
Date:   Tue Apr  2 20:34:44 2013 -0400

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 at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 .../gstreamer/gst-plugins-bad_0.10.23.bb           |    7 +++++--
 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 9039f97..eb289c7 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() {





More information about the Openembedded-commits mailing list