Skip to contentSkip to conversation

Problem with baking GStreamer Plugins

DISCUSSION Ali Botorabi 2 participants 2 messages Feb 11, 2009 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hello,

I am trying to include some of the GStreamer plugins into an own image. The image bases on angstrom base and X11 images. Koen helped me to setup a task for the GStreamer plugins:

-------------------------------------
DESCRIPTION = "ToDo"
LICENSE = "ToDo"
PR = "r1.4"

#PREFERRED_PROVIDER_gst-plugin-alsa ?= "gst-plugins-good"

DEPENDS = "gst-plugins-base gst-plugins-bad gst-plugins-good gst-plugins-ugly libogg libvorbis directfb"

RDEPENDS_${PN} = "\
        libid3tag \
        libsidplay \
        libvorbis \
        libogg \
        directfb \
        alsa-lib \
        gstreamer \
        gst-plugin-alsa \
        gst-plugin-icydemux \
        gst-plugin-asfdemux \
        gst-plugin-dvdlpcmdec \
        gst-plugin-mpegstream \
        gst-plugin-realmedia \

"

inherit task
------------------------------

This task is included by the image recipe. Bitbake evaluates the task and complains about various packages providing the plugins (base, good, ugly, bad). I have also tried to use PREFERRED_PROVIDER, it had no effect.

The major problem is that the plugins do not end in the image.

Any help is highly appreciated.

Cheers
Botorabi

Signature · 1 line
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
#2 lore raw
Quoted 3 lines · Ali Botorabi

Hello,

I am trying to include some of the GStreamer plugins into an own image. The image bases on angstrom base and X11 images. Koen helped me to setup a task for the GStreamer plugins:

[snip]

Quoted 1 line

The major problem is that the plugins do not end in the image.

There is a simple solution to this, but I'm not sure everyone will like it:

packages/gstreamer/gst-plugins.inc +0 -0
@@ -3,8 +3,6 @@ DESCRIPTION = "Plugins for GStreamer"
 DEPENDS = "gstreamer libmikmod liboil libogg tremor libvorbis"
 DEPENDS += "${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad 

libid3tag', d)}"

-PACKAGES_DYNAMIC = "gst-plugin-*"
-

gst-plugins.bb 2009-02-11 12:43:23.000000000 +0100 renamed from dev/null 2008-08-09 15:46:29.777083446 +0200 +5 -0
@@ -0,0 +1,5 @@
+
+DEPENDS = "gst-plugins-good gst-plugins-bad gst-plugins-ugly"
+
+PACKAGES_DYNAMIC = "gst-plugin-*"
+

Doing it like that will git rid of the PACKAGES_DYNAMIC statements confusing eachother. It also means you have to build *all* plugin sets.

regards,

Koen