summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gst-plugins-base-1-fix-sh.patch19
-rw-r--r--src/gst-plugins-base.mk2
-rw-r--r--src/gst-plugins-good-1-fix-sh.patch19
-rw-r--r--src/gst-plugins-good.mk2
-rw-r--r--src/gstreamer-1-fix-sh.patch35
-rw-r--r--src/gstreamer.mk2
6 files changed, 79 insertions, 0 deletions
diff --git a/src/gst-plugins-base-1-fix-sh.patch b/src/gst-plugins-base-1-fix-sh.patch
new file mode 100644
index 0000000..f7f2775
--- /dev/null
+++ b/src/gst-plugins-base-1-fix-sh.patch
@@ -0,0 +1,19 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+This patch has been taken from:
+http://cgit.freedesktop.org/gstreamer/common/commit/?id=9aa18ac420a19332ec215be14a6b966cc45948cf
+
+diff --git a/m4/gst-package-release-datetime.m4 b/m4/gst-package-release-datetime.m4
+index e0b9334..126919b 100644
+--- a/common/m4/gst-package-release-datetime.m4
++++ b/common/m4/gst-package-release-datetime.m4
+@@ -37,7 +37,7 @@ AC_DEFUN([AG_GST_SET_PACKAGE_RELEASE_DATETIME],
+ GST_PACKAGE_RELEASE_DATETIME=$1
+ else
+ dnl we assume the .doap file contains the date as YYYY-MM-DD
+- YYYY_MM_DD=`. "${srcdir}/common/extract-release-date-from-doap-file" $3 $2`;
++ YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $3 $2`;
+ if test "x$YYYY_MM_DD" != "x"; then
+ GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
+ else
diff --git a/src/gst-plugins-base.mk b/src/gst-plugins-base.mk
index d62c96e..b45644c 100644
--- a/src/gst-plugins-base.mk
+++ b/src/gst-plugins-base.mk
@@ -22,6 +22,8 @@ define $(PKG)_BUILD
find '$(1)' -name Makefile.in \
-exec $(SED) -i 's,glib-mkenums,$(PREFIX)/$(TARGET)/bin/glib-mkenums,g' {} \; \
-exec $(SED) -i 's,glib-genmarshal,$(PREFIX)/$(TARGET)/bin/glib-genmarshal,g' {} \;
+ # following autoconf call is only required for release 0.10.31
+ cd '$(1)' && autoconf
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
diff --git a/src/gst-plugins-good-1-fix-sh.patch b/src/gst-plugins-good-1-fix-sh.patch
new file mode 100644
index 0000000..f7f2775
--- /dev/null
+++ b/src/gst-plugins-good-1-fix-sh.patch
@@ -0,0 +1,19 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+This patch has been taken from:
+http://cgit.freedesktop.org/gstreamer/common/commit/?id=9aa18ac420a19332ec215be14a6b966cc45948cf
+
+diff --git a/m4/gst-package-release-datetime.m4 b/m4/gst-package-release-datetime.m4
+index e0b9334..126919b 100644
+--- a/common/m4/gst-package-release-datetime.m4
++++ b/common/m4/gst-package-release-datetime.m4
+@@ -37,7 +37,7 @@ AC_DEFUN([AG_GST_SET_PACKAGE_RELEASE_DATETIME],
+ GST_PACKAGE_RELEASE_DATETIME=$1
+ else
+ dnl we assume the .doap file contains the date as YYYY-MM-DD
+- YYYY_MM_DD=`. "${srcdir}/common/extract-release-date-from-doap-file" $3 $2`;
++ YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $3 $2`;
+ if test "x$YYYY_MM_DD" != "x"; then
+ GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
+ else
diff --git a/src/gst-plugins-good.mk b/src/gst-plugins-good.mk
index 6afd11d..2f517d6 100644
--- a/src/gst-plugins-good.mk
+++ b/src/gst-plugins-good.mk
@@ -25,6 +25,8 @@ define $(PKG)_BUILD
# The value for WAVE_FORMAT_DOLBY_AC3_SPDIF comes from vlc and mplayer:
# http://www.videolan.org/developers/vlc/doc/doxygen/html/vlc__codecs_8h-source.html
# http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/2004-August/019283.html
+ # following autoconf call is only required for release 0.10.26
+ cd '$(1)' && autoconf
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
diff --git a/src/gstreamer-1-fix-sh.patch b/src/gstreamer-1-fix-sh.patch
new file mode 100644
index 0000000..35092c0
--- /dev/null
+++ b/src/gstreamer-1-fix-sh.patch
@@ -0,0 +1,35 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+This patch has been taken from:
+http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=d569bf420d5f915c6a3901b193b69757991f4da8
+
+diff --git a/configure.ac b/configure.ac
+index 7a1d69f..7d0dd5c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -236,7 +236,7 @@ AC_LANG_PUSH([C++])
+ AC_TRY_COMPILE([ class Foo { int bar; };], , working_cxx=yes, working_cxx=no)
+ AC_LANG_POP([C++])
+ AC_MSG_NOTICE([working c++ compiler found: $working_cxx])
+-AM_CONDITIONAL(HAVE_CXX, test "x$working_cxx" == "xyes")
++AM_CONDITIONAL(HAVE_CXX, test "x$working_cxx" = "xyes")
+
+ dnl Perl is used in building documentation and in the version checks
+ AC_PATH_PROG(PERL_PATH, perl, no)
+
+http://cgit.freedesktop.org/gstreamer/common/commit/?id=9aa18ac420a19332ec215be14a6b966cc45948cf
+
+diff --git a/m4/gst-package-release-datetime.m4 b/m4/gst-package-release-datetime.m4
+index e0b9334..126919b 100644
+--- a/common/m4/gst-package-release-datetime.m4
++++ b/common/m4/gst-package-release-datetime.m4
+@@ -37,7 +37,7 @@ AC_DEFUN([AG_GST_SET_PACKAGE_RELEASE_DATETIME],
+ GST_PACKAGE_RELEASE_DATETIME=$1
+ else
+ dnl we assume the .doap file contains the date as YYYY-MM-DD
+- YYYY_MM_DD=`. "${srcdir}/common/extract-release-date-from-doap-file" $3 $2`;
++ YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $3 $2`;
+ if test "x$YYYY_MM_DD" != "x"; then
+ GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
+ else
diff --git a/src/gstreamer.mk b/src/gstreamer.mk
index d5dd1c5..b5808c0 100644
--- a/src/gstreamer.mk
+++ b/src/gstreamer.mk
@@ -21,6 +21,8 @@ endef
define $(PKG)_BUILD
$(SED) -i 's,glib-mkenums,$(PREFIX)/$(TARGET)/bin/glib-mkenums,g' '$(1)'/gst/Makefile.in
$(SED) -i 's,glib-genmarshal,$(PREFIX)/$(TARGET)/bin/glib-genmarshal,g' '$(1)'/gst/Makefile.in
+ # following autoconf call is only required for release 0.10.31
+ cd '$(1)' && autoconf
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \