libxine: remove old/new header configure stuff from 1.1.16.3
authorHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 28 Jul 2009 23:50:00 +0000 (01:50 +0200)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 28 Jul 2009 23:50:00 +0000 (01:50 +0200)
* now buildable again
* make 1.1.16.3 the default again
* bump PR

recipes/libxine/libxine-1.1.16/ffmpeg_headers.patch [new file with mode: 0644]
recipes/libxine/libxine_1.1.16.3.bb

diff --git a/recipes/libxine/libxine-1.1.16/ffmpeg_headers.patch b/recipes/libxine/libxine-1.1.16/ffmpeg_headers.patch
new file mode 100644 (file)
index 0000000..be20fe6
--- /dev/null
@@ -0,0 +1,19 @@
+Index: xine-lib-1.1.16.3/configure.ac
+===================================================================
+--- xine-lib-1.1.16.3.orig/configure.ac        2009-07-29 01:27:23.448366991 +0200
++++ xine-lib-1.1.16.3/configure.ac     2009-07-29 01:29:12.556348147 +0200
+@@ -350,14 +350,6 @@
+    AC_SUBST([FFMPEG_POSTPROC_LIBS])
+    AC_DEFINE([HAVE_FFMPEG], [1], [Define this if you have ffmpeg library])
+-   dnl Check presence of ffmpeg/avutil.h to see if it's old or new
+-   dnl style for headers. The new style would be preferred actually...
+-   AC_CHECK_HEADERS([ffmpeg/avutil.h])
+-   AC_CHECK_HEADERS([libavutil/avutil.h])
+-   if test "$ac_cv_header_ffmpeg_avutil_h" = "yes" && test "$ac_cv_header_libavutil_avutil_h" = "yes"; then
+-     AC_MSG_ERROR([old & new ffmpeg headers found - you need to clean up!])
+-   fi
+-   
+    AC_MSG_RESULT([using external ffmpeg])
+ else
+   AC_MSG_NOTICE([
index 1fe265e..1d7ccb2 100644 (file)
@@ -1,16 +1,14 @@
 require libxine.inc
 
-#fails do_configure in minimal and angstrom
-DEFAULT_PREFERENCE = "-1"
-
 PPDIR = "1.26"
-PR = "r0"
+PR = "r1"
 
 FILESPATHPKG .= ":libxine-1.1.16"
 
 SRC_URI += " \
        file://libxine-arm-configure.patch;patch=1 \
        file://iconv.patch;patch=1 \
+       file://ffmpeg_headers.patch;patch=1 \
         "
 
 python populate_packages_prepend () {