gst-ffmpeg: fix building with libtool2 and above
authorHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 19 Aug 2008 23:00:38 +0000 (23:00 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 19 Aug 2008 23:00:38 +0000 (23:00 +0000)
* gst-lib/ext/configure.ac needed only AC_PROG_CXX entry
* fixes bug 4427
* bump PR

packages/gstreamer/gst-ffmpeg/autotools.patch [new file with mode: 0644]
packages/gstreamer/gst-ffmpeg_0.10.2.bb

diff --git a/packages/gstreamer/gst-ffmpeg/autotools.patch b/packages/gstreamer/gst-ffmpeg/autotools.patch
new file mode 100644 (file)
index 0000000..76e7ac6
--- /dev/null
@@ -0,0 +1,21 @@
+Index: gst-ffmpeg-0.10.2/gst-libs/ext/ffmpeg/configure.ac
+===================================================================
+--- gst-ffmpeg-0.10.2.orig/gst-libs/ext/ffmpeg/configure.ac    2008-08-20 00:20:19.177850039 +0200
++++ gst-ffmpeg-0.10.2/gst-libs/ext/ffmpeg/configure.ac 2008-08-20 00:26:24.567809464 +0200
+@@ -27,13 +27,15 @@
+ AM_MAINTAINER_MODE
+ AC_GNU_SOURCE
++
++AC_PROG_LIBTOOL
+ AM_PROG_AS
+ AC_PROG_CC
++AC_PROG_CXX
+ AC_PROG_INSTALL
+ AC_SYS_LARGEFILE
+ AC_STDC_HEADERS
+ AM_DISABLE_STATIC
+-AC_PROG_LIBTOOL
+ dnl Warning for anyone using these custom macros.
+ dnl before asking me questions on why it doesn't work and why you
index e4dfb0b..2cad978 100644 (file)
@@ -4,12 +4,14 @@ PRIORITY = "optional"
 LICENSE = "LGPL"
 HOMEPAGE = "http://www.gstreamer.net/"
 DEPENDS = "gstreamer zlib"
-PR = "r1"
+PR = "r2"
 
 inherit autotools pkgconfig
 
 SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2 \
-          file://armv5.patch;patch=1"
+          file://armv5.patch;patch=1 \
+          file://autotools.patch;patch=1 \
+          "
 
 FILES_${PN} += "${libdir}/gstreamer-0.10/*.so"
 FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"