summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lord <chris@openedhand.com>2004-09-14 11:02:15 +0000
committerChris Lord <chris@openedhand.com>2004-09-14 11:02:15 +0000
commitcbca86294b48e2d4ef976743a46a019e7323c3bb (patch)
treeffa37ed47a66b6bbfbcf3e82af9a5538ef5e0155
parentf9e487be1ba452054620f41dabb59fd9527009fd (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into chris.(none):/home/cwiiis/oe/packages 2004/09/14 12:01:34+01:00 (none)!cwiiis Remove unnecessary dependencies for gst-plugins. BKrev: 4146cfb7kZX73tbM8NjejoPi7UAbng
-rw-r--r--gstreamer/gst-plugins_0.8.4.oe55
1 files changed, 55 insertions, 0 deletions
diff --git a/gstreamer/gst-plugins_0.8.4.oe b/gstreamer/gst-plugins_0.8.4.oe
index e69de29bb2..947d04d62a 100644
--- a/gstreamer/gst-plugins_0.8.4.oe
+++ b/gstreamer/gst-plugins_0.8.4.oe
@@ -0,0 +1,55 @@
+DESCRIPTION = "Plugins for GStreamer"
+SECTION = "base"
+PRIORITY = "optional"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+PR = "r1"
+
+DEPENDS = "gstreamer libmikmod libmad libogg tremor libvorbis libid3tag gpe-soundserver"
+
+SRC_URI = "http://gstreamer.freedesktop.org/src/gst-plugins/gst-plugins-${PV}.tar.bz2 \
+ file://ivorbis.patch;patch=1 \
+ file://try-esdsink.patch;patch=1 \
+ file://lame-autoconf.patch;patch=1"
+
+EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --disable-aalib --disable-arts \
+ --disable-artsc --disable-libfame --disable-sdl --disable-shout2 \
+ --disable-gnome_vfs "
+
+inherit autotools pkgconfig gconf
+
+acpaths = "-I ${S}/common/m4 -I ${S}/m4"
+
+LIBV = "0.8"
+
+plugin_postinst() {
+ if [ x"$D" = "x" ]; then
+ gst-register --gst-registry=/var/cache/gstreamer-0.8/registry.xml
+ fi
+}
+
+python populate_packages_prepend () {
+ gst_libdir = oe.data.expand('${libdir}/gstreamer-${LIBV}', d)
+ postinst = oe.data.getVar('plugin_postinst', d, 1)
+
+ do_split_packages(d, gst_libdir, '^libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s', postinst=postinst)
+ do_split_packages(d, gst_libdir, '^libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)')
+}
+
+do_stage() {
+ autotools_stage_includes
+ while read a b; do
+ oe_libinstall -C gst-libs/gst/$a -so libgst$b ${STAGING_LIBDIR}
+ done <<EOF
+. interfaces-0.8
+audio audio
+audio audiofilter
+gconf gconf-0.8
+idct idct
+media-info media-info-0.8
+play play-0.8
+resample resample
+riff riff
+video video
+xwindowlistener xwindowlistener
+EOF
+}