diff options
author | Junqian Gordon Xu <xjqian@gmail.com> | 2008-02-24 02:23:16 +0000 |
---|---|---|
committer | Junqian Gordon Xu <xjqian@gmail.com> | 2008-02-24 02:23:16 +0000 |
commit | 04ca25a7f9957906c5121005391967de930eb58a (patch) | |
tree | 7615d496e9ce83687e96e595170f77be4c5e2bc4 /packages/ffmpeg/ffmpeg.inc | |
parent | 27ed967384469cb10b308e50e147cf981441d4c2 (diff) |
ffmpeg: fix 0.4.9-pre1 oebug 1897, fix svn packaging oebug 3850
* gcc4.patch absorbs the original common.patch and adds hacks to satisfy
stricter type checking by gcc4
* soname.patch adds libpostproc fix in oebug 1897 comment#1
* drop the obsolete/dup patches in ffmpeg dir
* 1st attemp to unify 0.4.9 and svn.
* TODO: further unification of packaging and staging is desired once svn recipie settles
Diffstat (limited to 'packages/ffmpeg/ffmpeg.inc')
-rw-r--r-- | packages/ffmpeg/ffmpeg.inc | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/ffmpeg/ffmpeg.inc b/packages/ffmpeg/ffmpeg.inc new file mode 100644 index 0000000000..00f1423450 --- /dev/null +++ b/packages/ffmpeg/ffmpeg.inc @@ -0,0 +1,39 @@ +DESCRIPTION = "ffmpeg" +HOMEPAGE = "http://ffmpeg.mplayerhq.hu/" +AUTHOR = "Fabrice Bellard ffmpeg-devel@mplayerhq.hu" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "LGPL" + +DEPENDS = "zlib libvorbis faac liba52 lame" +RSUGGESTS = "mplayer" + +inherit autotools pkgconfig + +TARGET_LDFLAGS_append = " -lm -la52 " + +EXTRA_OECONF = "\ + --enable-pp \ + --enable-shared \ + --enable-pthreads \ + --enable-gpl \ + \ + --disable-audio-beos \ + --disable-v4l \ + --disable-dv1394 \ + --disable-debug \ + --disable-ffserver \ + --disable-ffplay \ + \ + --cross-prefix=${TARGET_PREFIX} \ + \ + --cpu=${PACKAGE_ARCH} \ + \ +" + +# We do this because the install program is called with -s which causes it to call "strip" and it then mangles cross compiled stuff.. +PATH_prepend="${CROSS_DIR}/${TARGET_SYS}/bin:" + +do_configure_prepend() { + export CC="${CC}" +} |