From 066ad20236b7e9291f771e51499124762fbd510c Mon Sep 17 00:00:00 2001 From: Rene Wagner Date: Sat, 13 Aug 2005 21:49:24 +0000 Subject: gst-plugins: bump to gst-plugins-0.8.8. update try-esd.patch to work with current code. --- .../gstreamer/gst-plugins-0.8.8/.mtn2git_empty | 0 .../gst-plugins-0.8.8-try-esdsink.patch | 19 ++++++++ .../gst-plugins-0.8.8/lame-autoconf.patch | 11 +++++ packages/gstreamer/gst-plugins_0.8.8.bb | 57 ++++++++++++++++++++++ 4 files changed, 87 insertions(+) create mode 100644 packages/gstreamer/gst-plugins-0.8.8/.mtn2git_empty create mode 100644 packages/gstreamer/gst-plugins-0.8.8/gst-plugins-0.8.8-try-esdsink.patch create mode 100644 packages/gstreamer/gst-plugins-0.8.8/lame-autoconf.patch create mode 100644 packages/gstreamer/gst-plugins_0.8.8.bb (limited to 'packages/gstreamer') diff --git a/packages/gstreamer/gst-plugins-0.8.8/.mtn2git_empty b/packages/gstreamer/gst-plugins-0.8.8/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/gstreamer/gst-plugins-0.8.8/gst-plugins-0.8.8-try-esdsink.patch b/packages/gstreamer/gst-plugins-0.8.8/gst-plugins-0.8.8-try-esdsink.patch new file mode 100644 index 0000000000..553c7b4270 --- /dev/null +++ b/packages/gstreamer/gst-plugins-0.8.8/gst-plugins-0.8.8-try-esdsink.patch @@ -0,0 +1,19 @@ +--- gst-plugins-0.8.8.orig/gst-libs/gst/gconf/gconf.c 2005-02-02 09:14:01.000000000 +0100 ++++ gst-plugins-0.8.8/gst-libs/gst/gconf/gconf.c 2005-08-13 23:28:36.000000000 +0200 +@@ -205,9 +205,13 @@ + if (!ret) { + ret = gst_element_factory_make (DEFAULT_AUDIOSINK, NULL); + +- if (!ret) +- g_warning ("No GConf default audio sink key and %s doesn't work", +- DEFAULT_AUDIOSINK); ++ if (!ret) { ++ ret = gst_element_factory_make ("esdsink", NULL); ++ ++ if (!ret) ++ g_warning ("No GConf default audio sink key and neither %s nor esdsink work", ++ DEFAULT_AUDIOSINK); ++ } + } + + return ret; diff --git a/packages/gstreamer/gst-plugins-0.8.8/lame-autoconf.patch b/packages/gstreamer/gst-plugins-0.8.8/lame-autoconf.patch new file mode 100644 index 0000000000..6f2a300254 --- /dev/null +++ b/packages/gstreamer/gst-plugins-0.8.8/lame-autoconf.patch @@ -0,0 +1,11 @@ +--- gst-plugins-0.8.7/configure.ac.orig 2005-03-03 16:40:45.000000000 +0100 ++++ gst-plugins-0.8.7/configure.ac 2005-03-03 16:41:55.000000000 +0100 +@@ -1197,7 +1197,7 @@ + LAME_LIBS="-lmp3lame -lm" + dnl is lame presets available + LAME_CFLAGS="" +- AC_TRY_RUN([ ++ AC_TRY_COMPILE([ + #include + int main (int argc, char *argv[]) + { diff --git a/packages/gstreamer/gst-plugins_0.8.8.bb b/packages/gstreamer/gst-plugins_0.8.8.bb new file mode 100644 index 0000000000..6b28922f27 --- /dev/null +++ b/packages/gstreamer/gst-plugins_0.8.8.bb @@ -0,0 +1,57 @@ +LICENSE = "GPL" +DESCRIPTION = "Plugins for GStreamer" +SECTION = "x11/libs" +PRIORITY = "optional" +MAINTAINER = "Phil Blundell " +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://gst-plugins-0.8.7-httpsrc1.patch;patch=1 \ + file://lame-autoconf.patch;patch=1 \ + file://gst-plugins-0.8.8-try-esdsink.patch;patch=1" + +EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --disable-aalib --disable-arts \ + --disable-artsc --disable-jack --disable-libfame --disable-sdl --disable-shout2 \ + --disable-gnome_vfs --disable-gconf --disable-libcaca --disable-directfb \ + --disable-cairo" + +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 = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) + postinst = bb.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 <