gstreamer: Fix a problem with configure if check has already been built

This commit is contained in:
Richard Purdie 2008-11-10 13:26:26 +00:00
parent 5751ea748f
commit b618bcfeb9
2 changed files with 21 additions and 0 deletions

View File

@ -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

View 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"