diff options
author | Koen Kooi <koen@openembedded.org> | 2007-08-08 17:05:22 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-08-08 17:05:22 +0000 |
commit | e49a537b2df2adc6ffda01e674960c63bddd4a40 (patch) | |
tree | 117042cf890dca8ac2b482c6b23dbd4a87c5c43d /packages | |
parent | b6cea476b9e88669253d1e8761c8f3f118d91228 (diff) |
fffmpeg svn: fix build
Diffstat (limited to 'packages')
-rw-r--r-- | packages/ffmpeg/ffmpeg_svn.bb | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/packages/ffmpeg/ffmpeg_svn.bb b/packages/ffmpeg/ffmpeg_svn.bb index 4098d721f9..b8bd365d51 100644 --- a/packages/ffmpeg/ffmpeg_svn.bb +++ b/packages/ffmpeg/ffmpeg_svn.bb @@ -2,7 +2,7 @@ DESCRIPTION = "ffmpeg" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPL" -DEPENDS = "zlib libvorbis faac liba52 lame" +DEPENDS = "libogg zlib libvorbis faac liba52 lame" PV = "0.4.9+svn${SRCDATE}" DEFAULT_PREFERENCE = "-1" @@ -11,17 +11,18 @@ SRC_URI = "svn://svn.mplayerhq.hu/ffmpeg/;module=trunk" S = "${WORKDIR}/trunk" -inherit autotools +inherit autotools pkgconfig TARGET_LDFLAGS_append = " -lm -la52 " EXTRA_OECONF = " \ - --enable-mp3lame \ - --enable-vorbis \ - --enable-faad \ - --enable-a52 \ - --enable-a52bin \ - --enable-pp \ + --enable-libmp3lame \ + --enable-libvorbis \ + --disable-libfaad \ + --enable-liba52 \ + --enable-liba52bin \ + --enable-libogg \ + --enable-pp \ --enable-shared \ --enable-pthreads \ --enable-gpl \ @@ -32,10 +33,12 @@ EXTRA_OECONF = " \ --disable-debug \ --disable-ffserver \ --disable-ffplay \ + --disable-strip \ \ --cross-prefix=${TARGET_PREFIX} \ \ --cpu=${PACKAGE_ARCH} \ + --arch=${PACKAGE_ARCH} \ " @@ -48,6 +51,8 @@ do_configure_prepend() { } oe_runconf () { + # make ffmpeg detect arm targets that don't end in 'l' + sed -i -e s:'armv\[4567\]\*l':'armv\[4567\]\*':g ${S}/configure if [ -x ${S}/configure ] ; then cfgcmd="${S}/configure \ --prefix=${prefix} \ |