]> code.ossystems Code Review - openembedded-core.git/commitdiff
gst-meta-base: pull in X11 plugins when using X11
authorRoss Burton <ross.burton@intel.com>
Tue, 5 Feb 2013 15:13:17 +0000 (15:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Feb 2013 15:17:17 +0000 (15:17 +0000)
If the X11 distro feature is present, make gst-meta-base depend on
gst-meta-x11-base.  Also make -x11-base RRECOMMEND xvimagesink for video
playback performance.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb

index 17881044317dffb7d822e443c9a59386f78c317a..208a849e1208ea5d6230732ea529864fd08f530b 100644 (file)
@@ -5,10 +5,11 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
 
-PR = "r10"
+PR = "r11"
 
 PACKAGES = "\
     gst-meta-base \
+    gst-meta-x11-base \
     gst-meta-audio \
     gst-meta-debug \
     gst-meta-video"
@@ -16,6 +17,7 @@ PACKAGES = "\
 ALLOW_EMPTY = "1"
 
 RDEPENDS_gst-meta-base = "\
+    ${@base_contains('DISTRO_FEATURES', 'x11', 'gst-meta-x11-base', '', d)} \
     gstreamer \
     gst-plugins-base-playbin \
     gst-plugins-base-decodebin \
@@ -23,7 +25,6 @@ RDEPENDS_gst-meta-base = "\
     gst-plugins-base-gio \
     gst-plugins-base-alsa \
     gst-plugins-base-volume \
-    gst-plugins-base-ximagesink \
     gst-plugins-base-audioconvert \
     gst-plugins-base-audioresample \
     gst-plugins-base-typefindfunctions \
@@ -32,6 +33,9 @@ RDEPENDS_gst-meta-base = "\
     gst-plugins-good-autodetect \
     gst-plugins-good-souphttpsrc"
 
+RRECOMMENDS_gst-meta-x11-base = "\
+    gst-plugins-base-ximagesink \
+    gst-plugins-base-xvimagesink"
 
 RDEPENDS_gst-meta-audio = "\
     gst-meta-base \