All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rogerio Nunes <ronunes@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] gst-plugins-bad: disable librsvg when x11 is disabled
Date: Tue,  2 Apr 2013 20:34:44 -0400	[thread overview]
Message-ID: <1364949284-32569-2-git-send-email-ronunes@gmail.com> (raw)
In-Reply-To: <1364949284-32569-1-git-send-email-ronunes@gmail.com>

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>
---
 .../gstreamer/gst-plugins-bad_0.10.23.bb           |    7 +++++--
 1 file 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() {
-- 
1.7.9.5




  reply	other threads:[~2013-04-03  0:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-03  0:34 [PATCH 1/2] alsa-tools: fix build when x11 and gtk+ not available Rogerio Nunes
2013-04-03  0:34 ` Rogerio Nunes [this message]
2013-04-03 11:30   ` [PATCH 2/2] gst-plugins-bad: disable librsvg when x11 is disabled Burton, Ross
2013-04-03 11:57     ` Otavio Salvador
2013-04-03 13:49       ` Rogerio Nunes
2013-04-08 13:33 ` [PATCH 1/2] alsa-tools: fix build when x11 and gtk+ not available Trevor Woerner
2013-04-08 18:20   ` Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1364949284-32569-2-git-send-email-ronunes@gmail.com \
    --to=ronunes@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.