]> code.ossystems Code Review - openembedded-core.git/commitdiff
gstreamer: Fix a problem with configure if check has already been built
authorRichard Purdie <rpurdie@linux.intel.com>
Mon, 10 Nov 2008 13:26:26 +0000 (13:26 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 10 Nov 2008 13:26:26 +0000 (13:26 +0000)
meta/packages/gstreamer/gstreamer/check_fix.patch [new file with mode: 0644]
meta/packages/gstreamer/gstreamer_0.10.20.bb

diff --git a/meta/packages/gstreamer/gstreamer/check_fix.patch b/meta/packages/gstreamer/gstreamer/check_fix.patch
new file mode 100644 (file)
index 0000000..5cdf6a0
--- /dev/null
@@ -0,0 +1,19 @@
+Index: gstreamer-0.10.20/configure.ac
+===================================================================
+--- gstreamer-0.10.20.orig/configure.ac        2008-11-10 13:20:41.000000000 +0000
++++ gstreamer-0.10.20/configure.ac     2008-11-10 13:21:01.000000000 +0000
+@@ -501,13 +501,7 @@
+ AC_SUBST(GST_DISABLE_XML_DEFINE)
+ dnl check for "check", unit testing library/header
+-AM_PATH_CHECK(0.9.2,
+-    [
+-        HAVE_CHECK=yes
+-        AC_MSG_NOTICE(CHECK_CFLAGS: $CHECK_CFLAGS)
+-        AC_MSG_NOTICE(CHECK_LIBS: $CHECK_LIBS)
+-    ],
+-    HAVE_CHECK=no)
++HAVE_CHECK=no
+ AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
+ dnl pkg-config check that for libcheck that works for cross-compiling
index 7b9d1ab3e0fdae57e3da5352a417fcf488b057fb..32f6523b2a45d18c128acb9ce6817444fafcc942 100644 (file)
@@ -5,11 +5,13 @@ PRIORITY = "optional"
 LICENSE = "LGPL"
 HOMEPAGE = "http://www.gstreamer.net/"
 DEPENDS = "glib-2.0 gettext-native libxml2 bison-native flex-native"
+PR = "r1"
 
 inherit autotools pkgconfig
 
 SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2 \
            file://gst-inspect-check-error.patch;patch=1 \
+           file://check_fix.patch;patch=1 \
            file://po-makefile-fix.patch;patch=1"
 EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --with-check=no --disable-examples --disable-tests --disable-valgrind --disable-debug"