summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gst-plugins-good-fix-pkgconfig.patch15
-rw-r--r--src/gst-plugins-good.mk3
2 files changed, 18 insertions, 0 deletions
diff --git a/src/gst-plugins-good-fix-pkgconfig.patch b/src/gst-plugins-good-fix-pkgconfig.patch
new file mode 100644
index 0000000..05986e3
--- /dev/null
+++ b/src/gst-plugins-good-fix-pkgconfig.patch
@@ -0,0 +1,15 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+diff -ru gst-plugins-good-0.10.18.orig/configure.ac gst-plugins-good-0.10.18/configure.ac
+--- gst-plugins-good-0.10.18.orig/configure.ac 2010-02-10 23:46:02.000000000 +0100
++++ gst-plugins-good-0.10.18/configure.ac 2010-02-23 16:53:57.000000000 +0100
+@@ -216,7 +216,7 @@
+ AG_GST_CHECK_GST_CHECK($GST_MAJORMINOR, [$GST_REQ], no)
+ AG_GST_CHECK_GST_PLUGINS_BASE($GST_MAJORMINOR, [$GSTPB_REQ], yes)
+
+-GST_TOOLS_DIR=`pkg-config --variable=toolsdir gstreamer-$GST_MAJORMINOR`
++GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
+ if test -z $GST_TOOLS_DIR; then
+ AC_MSG_ERROR([no tools dir defined in GStreamer pkg-config file; core upgrade needed.])
+ fi
diff --git a/src/gst-plugins-good.mk b/src/gst-plugins-good.mk
index 8717e7b..d5ef7aa 100644
--- a/src/gst-plugins-good.mk
+++ b/src/gst-plugins-good.mk
@@ -19,6 +19,9 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ cd '$(1)' && aclocal -I m4 -I common/m4
+ cd '$(1)' && automake
+ cd '$(1)' && autoconf
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \