gstreamer: package libs seperately to account for things moving between -good, -bad...
authorKoen Kooi <koen@openembedded.org>
Mon, 2 Mar 2009 14:36:02 +0000 (15:36 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 2 Mar 2009 14:36:02 +0000 (15:36 +0100)
packages/gstreamer/gst-plugins-bad_0.10.6.bb
packages/gstreamer/gst-plugins-base_0.10.22.bb
packages/gstreamer/gst-plugins-good_0.10.13.bb
packages/gstreamer/gst-plugins-ugly_0.10.10.bb
packages/gstreamer/gst-plugins.inc

index a8d8783..df7bf75 100644 (file)
@@ -1,5 +1,5 @@
 require gst-plugins.inc
-PR = "r1"
+PR = "r2"
 
 SRC_URI += "file://vorbisenc.h file://vorbisdec.h \
             file://gst-plugins-directfb-fix.patch;patch=1;pnum=2 \
index 4d6f71e..92f2f56 100644 (file)
@@ -2,6 +2,8 @@ require gst-plugins.inc
 
 PROVIDES += "gst-plugins"
 
+PR = "r1"
+
 # gst-plugins-base only builds the alsa plugin
 # if alsa has been built and is present.  You will
 # not get an error if this is not present, just 
index d9f0349..b77d1fc 100644 (file)
@@ -1,5 +1,7 @@
 require gst-plugins.inc
 
+PR = "r1"
+
 inherit gconf 
 
 EXTRA_OECONF += " --enable-experimental  --enable-gst_v4l2 --enable-gconftool  --enable-external --with-check=no"
index 0624041..0678e22 100644 (file)
@@ -1,5 +1,7 @@
 require gst-plugins.inc
 
+PR = "r1"
+
 DEPENDS += "gst-plugins-base mpeg2dec libsidplay"
 
 SRC_URI += "\
index c0b15ef..3bf29ad 100644 (file)
@@ -19,7 +19,9 @@ LIBV = "0.10"
 python populate_packages_prepend () {
        gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d)
        postinst = bb.data.getVar('plugin_postinst', d, 1)
+       glibdir = bb.data.expand('${libdir}', d)
 
+       do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True)
        do_split_packages(d, gst_libdir, '^libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s', postinst=postinst, extra_depends='')
        do_split_packages(d, gst_libdir, '^libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)', extra_depends='')
        
@@ -42,5 +44,10 @@ python populate_packages_prepend () {
 
 ALLOW_EMPTY = "1"
 
+PACKAGES += "${PN}-apps"
+FILES_${PN}-apps = "${bindir}"
+
+FILES_${PN} = ""
 FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug"
 
+