gstreamer.inc: Use base_conditional for Openmoko instead of a plain override
authorHolger Hans Peter Freyther <zecke@selfish.org>
Tue, 28 Oct 2008 11:18:59 +0000 (12:18 +0100)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Tue, 28 Oct 2008 14:15:18 +0000 (15:15 +0100)
    The plain override undid the changes gst-plugins-{bad,ugly,good} did
    which means that the dependency on gst-plugins-base got dropped.
    Use base_conditional to add the libmad dependency when we are
    building for Openmoko.

    This continues f4fcadb061442a394cbe50041eb6acd9d4125eba.

packages/gstreamer/gst-plugins.inc

index 2964b7d..f8447ee 100644 (file)
@@ -1,7 +1,7 @@
 require gst-common.inc
 DESCRIPTION = "Plugins for GStreamer"
-DEPENDS = "gstreamer libmikmod libmad liboil libogg tremor libvorbis libid3tag"
-DEPENDS_openmoko = "gstreamer libmikmod liboil libogg tremor libvorbis libid3tag"
+DEPENDS = "gstreamer libmikmod liboil libogg tremor libvorbis libid3tag"
+DEPENDS += "${@base_conditional('DISTRO', 'openmoko', '', 'libmad', d)}"
 
 PACKAGES_DYNAMIC = "gst-plugin-*"