Skip to contentSkip to conversation

gstreamer1.0-plugins-bad: respect directfb DISTRO_FEATURE

PATCH New Ross Burton 1 participant 2 messages Dec 4, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gstreamer1.0-plugins-bad: respect directfb DISTRO_FEATURE

---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +2 -1
index c382758..718c6ff 100644
@@ -13,7 +13,8 @@ PACKAGECONFIG ??= " \
     ${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
     ${@base_contains('DISTRO_FEATURES', 'opengl', 'eglgles', '', d)} \
     ${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
-    orc curl uvch264 directfb neon \
+    ${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
+    orc curl uvch264 neon \
     hls sbc dash bz2 smoothstreaming \
     "
 # rsvg plugin requires librsvg >= 2.36
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/2 gstreamer1.0-plugins-bad: add PACKAGECONFIG for librsvg

---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +1 -3
index 718c6ff..08440a2 100644
@@ -17,7 +17,6 @@ PACKAGECONFIG ??= " \
     orc curl uvch264 neon \
     hls sbc dash bz2 smoothstreaming \
     "
-# rsvg plugin requires librsvg >= 2.36
 # dash = Dynamic Adaptive Streaming over HTTP
 PACKAGECONFIG[assrender]       = "--enable-assrender,--disable-assrender,libass"
 PACKAGECONFIG[curl]            = "--enable-curl,--disable-curl,curl"
@@ -43,7 +42,7 @@ PACKAGECONFIG[fluidsynth]      = "--enable-fluidsynth,--disable-fluidsynth,fluid
 PACKAGECONFIG[schroedinger]    = "--enable-schro,--disable-schro,schroedinger"
 PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2"
 PACKAGECONFIG[bluez]           = "--enable-bluez,--disable-bluez,bluez4"
-
+PACKAGECONFIG[rsvg]            = "--enable-rsvg,--disable-rsvg,librsvg"
 
 # these plugins have not been ported to 1.0 (yet):
 #   directdraw vcd apexsink cdaudio dc1394 lv2 linsys musepack mythtv
@@ -92,7 +91,6 @@ EXTRA_OECONF += " \
     --disable-pvr \
     --disable-quicktime \
     --disable-resindvd \
-    --disable-rsvg \
     --disable-rtmp \
     --disable-sdl \
     --disable-sdltest \
Signature · 1 line
1.7.10.4