diff options
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.36')
3 files changed, 84 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.36/audioresample-Fix-build-on-x86-if-emmintrin.h-is-ava.patch b/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.36/audioresample-Fix-build-on-x86-if-emmintrin.h-is-ava.patch new file mode 100644 index 0000000000..52142562ab --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.36/audioresample-Fix-build-on-x86-if-emmintrin.h-is-ava.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | audioresample: Fix build on x86 if emmintrin.h is available but can't be used | ||
2 | |||
3 | On x86, EMMINTRIN is defined but not usable without SSE so check for | ||
4 | __SSE__ and __SSE2__ as well. | ||
5 | |||
6 | https://bugzilla.gnome.org/show_bug.cgi?id=670690 | ||
7 | |||
8 | Upstream-Status: Backport | ||
9 | |||
10 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
11 | --- | ||
12 | gst/audioresample/resample.c | 4 ++-- | ||
13 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/gst/audioresample/resample.c b/gst/audioresample/resample.c | ||
16 | index 98d006c..481fa01 100644 | ||
17 | --- a/gst/audioresample/resample.c | ||
18 | +++ b/gst/audioresample/resample.c | ||
19 | @@ -77,13 +77,13 @@ | ||
20 | #define EXPORT G_GNUC_INTERNAL | ||
21 | |||
22 | #ifdef _USE_SSE | ||
23 | -#ifndef HAVE_XMMINTRIN_H | ||
24 | +#if !defined(__SSE__) || !defined(HAVE_XMMINTRIN_H) | ||
25 | #undef _USE_SSE | ||
26 | #endif | ||
27 | #endif | ||
28 | |||
29 | #ifdef _USE_SSE2 | ||
30 | -#ifndef HAVE_EMMINTRIN_H | ||
31 | +#if !defined(__SSE2__) || !defined(HAVE_EMMINTRIN_H) | ||
32 | #undef _USE_SSE2 | ||
33 | #endif | ||
34 | #endif | ||
35 | -- | ||
36 | 1.7.1 | ||
37 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.36/configure.ac-fix-subparse-plugin.patch b/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.36/configure.ac-fix-subparse-plugin.patch new file mode 100644 index 0000000000..b8602c80d7 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.36/configure.ac-fix-subparse-plugin.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | Upstream-Status: Submitted [similar patch by other author, bugzilla] | ||
2 | Bugtracker-URL: https://bugzilla.gnome.org/show_bug.cgi?id=663600 | ||
3 | |||
4 | Prepend PKG_CONFIG_SYSROOT to includedir, so configure doesn't | ||
5 | search for gstconfig.h in /usr/include. | ||
6 | |||
7 | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> | ||
8 | --- | ||
9 | configure.ac | 2 +- | ||
10 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
11 | |||
12 | diff --git a/configure.ac b/configure.ac | ||
13 | index 1901bcf..460fb0a 100644 | ||
14 | --- a/configure.ac | ||
15 | +++ b/configure.ac | ||
16 | @@ -435,7 +435,7 @@ AG_GST_CHECK_PLUGIN(volume) | ||
17 | dnl check for gstreamer core features (subsystems) | ||
18 | dnl FIXME: this assumes srcdir == builddir for uninstalled setups | ||
19 | GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h" | ||
20 | -AG_GST_PARSE_SUBSYSTEM_DISABLES($GST_CONFIGPATH) | ||
21 | +AG_GST_PARSE_SUBSYSTEM_DISABLES($PKG_CONFIG_SYSROOT_DIR$GST_CONFIGPATH) | ||
22 | AM_CONDITIONAL(USE_XML, test $GST_DISABLE_XML != "1") | ||
23 | |||
24 | dnl disable plug-ins that require libxml2's HTML support if it is not available | ||
25 | -- | ||
26 | 1.7.5.4 | ||
27 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.36/gst-plugins-base-tremor.patch b/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.36/gst-plugins-base-tremor.patch new file mode 100644 index 0000000000..99dbc9d52e --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.36/gst-plugins-base-tremor.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Remove -DTREMOR option since Tremor has dropped its internal | ||
2 | libogg2, and gst-plugins-base has dependency on that. | ||
3 | |||
4 | Upstream-Status: Inappropriate [configuration] | ||
5 | |||
6 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
7 | Signed-off-by: Shane Wang <shane.wang@intel.com> | ||
8 | |||
9 | diff -r 70065fb4e085 ext/vorbis/Makefile.am | ||
10 | --- a/ext/vorbis/Makefile.am Tue Mar 13 16:36:56 2012 +0800 | ||
11 | +++ b/ext/vorbis/Makefile.am Tue Mar 13 16:38:53 2012 +0800 | ||
12 | @@ -30,7 +30,7 @@ | ||
13 | gstvorbisdec.c gstvorbisdeclib.c gstvorbiscommon.c | ||
14 | libgstivorbisdec_la_CFLAGS = \ | ||
15 | $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \ | ||
16 | - -DTREMOR $(IVORBIS_CFLAGS) | ||
17 | + $(IVORBIS_CFLAGS) | ||
18 | libgstivorbisdec_la_LIBADD = \ | ||
19 | $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \ | ||
20 | $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \ | ||