gstreamer: bump to gstreamer-0.8.10. apply patch submitted in gnome bug #313322....
authorRene Wagner <rw@handhelds.org>
Sat, 13 Aug 2005 21:09:42 +0000 (21:09 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 13 Aug 2005 21:09:42 +0000 (21:09 +0000)
packages/gstreamer/gst-plugins/lame-autoconf.patch [moved from packages/gstreamer/files/lame-autoconf.patch with 100% similarity]
packages/gstreamer/gst-plugins/try-esdsink.patch [moved from packages/gstreamer/files/try-esdsink.patch with 100% similarity]
packages/gstreamer/gstreamer-0.8.10/.mtn2git_empty [moved from packages/gstreamer/files/.mtn2git_empty with 100% similarity]
packages/gstreamer/gstreamer-0.8.10/filesrc-uri.patch [new file with mode: 0644]
packages/gstreamer/gstreamer-0.8.9/no-libxml2.patch [moved from packages/gstreamer/files/no-libxml2.patch with 100% similarity]
packages/gstreamer/gstreamer_0.8.10.bb [new file with mode: 0644]

diff --git a/packages/gstreamer/gstreamer-0.8.10/filesrc-uri.patch b/packages/gstreamer/gstreamer-0.8.10/filesrc-uri.patch
new file mode 100644 (file)
index 0000000..0bde73d
--- /dev/null
@@ -0,0 +1,22 @@
+Index: gst/elements/gstfilesrc.c
+===================================================================
+RCS file: /cvs/gstreamer/gstreamer/gst/elements/gstfilesrc.c,v
+retrieving revision 1.108.4.3
+diff -u -r1.108.4.3 gstfilesrc.c
+--- gstreamer.orig/gst/elements/gstfilesrc.c   3 Jun 2005 09:29:31 -0000       1.108.4.3
++++ gstreamer/gst/elements/gstfilesrc.c        12 Aug 2005 11:54:38 -0000
+@@ -306,7 +306,13 @@
+     src->filename = NULL;
+     src->uri = NULL;
+   } else {
+-    src->filename = g_strdup (location);
++    const gchar *file_prefix = "file://";
++
++    if (g_str_has_prefix (location, file_prefix)) {
++      src->filename = g_strdup (location + strlen (file_prefix));
++    } else {
++      src->filename = g_strdup (location);
++    }
+     src->uri = gst_uri_construct ("file", src->filename);
+   }
+   g_object_notify (G_OBJECT (src), "location");
diff --git a/packages/gstreamer/gstreamer_0.8.10.bb b/packages/gstreamer/gstreamer_0.8.10.bb
new file mode 100644 (file)
index 0000000..7247bd8
--- /dev/null
@@ -0,0 +1,34 @@
+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 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://filesrc-uri.patch;patch=1 \
+       file://gstreamer.xsession"
+
+EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --disable-loadsave"
+
+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}${sysconfdir}/X11/Xsession.d
+       install ${WORKDIR}/gstreamer.xsession ${D}${sysconfdir}/X11/Xsession.d/90gst-register
+}
+