summaryrefslogtreecommitdiff
path: root/gstreamer
diff options
context:
space:
mode:
Diffstat (limited to 'gstreamer')
-rw-r--r--gstreamer/gpe-gst-plugins_0.8.4.oe1
-rw-r--r--gstreamer/gst-plugins_0.8.4.oe1
-rw-r--r--gstreamer/gst-plugins_0.8.6.oe55
-rw-r--r--gstreamer/gstreamer_0.8.5.oe1
-rw-r--r--gstreamer/gstreamer_0.8.7.oe33
5 files changed, 91 insertions, 0 deletions
diff --git a/gstreamer/gpe-gst-plugins_0.8.4.oe b/gstreamer/gpe-gst-plugins_0.8.4.oe
index ef8f06bda5..b984f09863 100644
--- a/gstreamer/gpe-gst-plugins_0.8.4.oe
+++ b/gstreamer/gpe-gst-plugins_0.8.4.oe
@@ -1,3 +1,4 @@
+LICENSE = GPL
DESCRIPTION = "Plugins for GStreamer"
SECTION = "x11/libs"
PRIORITY = "optional"
diff --git a/gstreamer/gst-plugins_0.8.4.oe b/gstreamer/gst-plugins_0.8.4.oe
index ac310d79c9..b5abf3b001 100644
--- a/gstreamer/gst-plugins_0.8.4.oe
+++ b/gstreamer/gst-plugins_0.8.4.oe
@@ -1,3 +1,4 @@
+LICENSE = GPL
DESCRIPTION = "Plugins for GStreamer"
SECTION = "x11/libs"
PRIORITY = "optional"
diff --git a/gstreamer/gst-plugins_0.8.6.oe b/gstreamer/gst-plugins_0.8.6.oe
index e69de29bb2..f7518d6f15 100644
--- a/gstreamer/gst-plugins_0.8.6.oe
+++ b/gstreamer/gst-plugins_0.8.6.oe
@@ -0,0 +1,55 @@
+LICENSE = GPL
+DESCRIPTION = "Plugins for GStreamer"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+PR = "r0"
+
+DEPENDS = "gstreamer libmikmod libmad libogg tremor libvorbis libid3tag gpe-soundserver gconf"
+
+SRC_URI = "http://gstreamer.freedesktop.org/src/gst-plugins/gst-plugins-${PV}.tar.bz2 \
+ 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
+}
diff --git a/gstreamer/gstreamer_0.8.5.oe b/gstreamer/gstreamer_0.8.5.oe
index 20ac9bbcc2..26b714786e 100644
--- a/gstreamer/gstreamer_0.8.5.oe
+++ b/gstreamer/gstreamer_0.8.5.oe
@@ -1,3 +1,4 @@
+LICENSE = LGPL
PR = "r0"
DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \
diff --git a/gstreamer/gstreamer_0.8.7.oe b/gstreamer/gstreamer_0.8.7.oe
index e69de29bb2..7c8a317b7e 100644
--- a/gstreamer/gstreamer_0.8.7.oe
+++ b/gstreamer/gstreamer_0.8.7.oe
@@ -0,0 +1,33 @@
+LICENSE = LGPL
+PR = "r0"
+
+DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \
+It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime."
+DEPENDS = "glib-2.0 gettext-native libxml2 popt"
+SECTION = "base"
+PRIORITY = "optional"
+
+FILES_${PN} += " ${libdir}/gstreamer-0.8/*.so"
+FILES_${PN}-dev += " ${libdir}/gstreamer-0.8/*.la ${libdir}/gstreamer-0.8/*.a"
+
+SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2 \
+ file://gstreamer.xsession"
+
+EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ oe_runmake install prefix=${STAGING_DIR} \
+ bindir=${STAGING_BINDIR} \
+ includedir=${STAGING_INCDIR} \
+ libdir=${STAGING_LIBDIR} \
+ datadir=${STAGING_DATADIR} \
+ mandir=${STAGING_DIR}/share/man
+}
+
+do_install_append() {
+ install -d ${D}/etc/X11/Xsession.d
+ install ${WORKDIR}/gstreamer.xsession ${D}/etc/X11/Xsession.d/90gst-register
+}
+