diff options
Diffstat (limited to 'packages/gstreamer')
-rw-r--r-- | packages/gstreamer/gst-plugins/lame-autoconf.patch (renamed from packages/gstreamer/files/lame-autoconf.patch) | 0 | ||||
-rw-r--r-- | packages/gstreamer/gst-plugins/try-esdsink.patch (renamed from packages/gstreamer/files/try-esdsink.patch) | 0 | ||||
-rw-r--r-- | packages/gstreamer/gstreamer-0.8.10/.mtn2git_empty (renamed from packages/gstreamer/files/.mtn2git_empty) | 0 | ||||
-rw-r--r-- | packages/gstreamer/gstreamer-0.8.10/filesrc-uri.patch | 22 | ||||
-rw-r--r-- | packages/gstreamer/gstreamer-0.8.9/no-libxml2.patch (renamed from packages/gstreamer/files/no-libxml2.patch) | 0 | ||||
-rw-r--r-- | packages/gstreamer/gstreamer_0.8.10.bb | 34 |
6 files changed, 56 insertions, 0 deletions
diff --git a/packages/gstreamer/files/lame-autoconf.patch b/packages/gstreamer/gst-plugins/lame-autoconf.patch index 3fb85e7d88..3fb85e7d88 100644 --- a/packages/gstreamer/files/lame-autoconf.patch +++ b/packages/gstreamer/gst-plugins/lame-autoconf.patch diff --git a/packages/gstreamer/files/try-esdsink.patch b/packages/gstreamer/gst-plugins/try-esdsink.patch index 9c6242663c..9c6242663c 100644 --- a/packages/gstreamer/files/try-esdsink.patch +++ b/packages/gstreamer/gst-plugins/try-esdsink.patch diff --git a/packages/gstreamer/files/.mtn2git_empty b/packages/gstreamer/gstreamer-0.8.10/.mtn2git_empty index e69de29bb2..e69de29bb2 100644 --- a/packages/gstreamer/files/.mtn2git_empty +++ b/packages/gstreamer/gstreamer-0.8.10/.mtn2git_empty 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 index 0000000000..0bde73d970 --- /dev/null +++ b/packages/gstreamer/gstreamer-0.8.10/filesrc-uri.patch @@ -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/files/no-libxml2.patch b/packages/gstreamer/gstreamer-0.8.9/no-libxml2.patch index c676c2387f..c676c2387f 100644 --- a/packages/gstreamer/files/no-libxml2.patch +++ b/packages/gstreamer/gstreamer-0.8.9/no-libxml2.patch diff --git a/packages/gstreamer/gstreamer_0.8.10.bb b/packages/gstreamer/gstreamer_0.8.10.bb new file mode 100644 index 0000000000..7247bd831a --- /dev/null +++ b/packages/gstreamer/gstreamer_0.8.10.bb @@ -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 +} + |