changeset 803:cb49f0818687

bugfix patch to use the correct pkg-config for package gst-plugins-good
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 23 Feb 2010 16:59:42 +0100
parents da259699b575
children 8e46c3cddd35
files src/gst-plugins-good-fix-pkgconfig.patch src/gst-plugins-good.mk
diffstat 2 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/gst-plugins-good-fix-pkgconfig.patch	Tue Feb 23 16:59:42 2010 +0100
@@ -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
--- a/src/gst-plugins-good.mk	Tue Feb 23 16:44:42 2010 +0100
+++ b/src/gst-plugins-good.mk	Tue Feb 23 16:59:42 2010 +0100
@@ -19,6 +19,9 @@
 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)' \