summaryrefslogtreecommitdiff
path: root/packages/ffmpeg/ffmpeg.inc
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-02-24 11:14:19 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-02-24 11:14:19 +0000
commitd9a1af61ed037f1d5847bbaca10000b248937ce1 (patch)
tree79584c91874bc602b7c48451e42efb947d636bc6 /packages/ffmpeg/ffmpeg.inc
parentf7d9bfb1a8285e46b6156a8cc7cced5d00a308d1 (diff)
ffmpeg: make svn buildable, fix configure options for 0.4.9-pre1, unify, clean up
* fix svn using SRCDATE * reformat EXTRA_OECONF to make the order of the options follow ./configure --help * NOTE: --cpu(0.4.9-pre1) equals --arch(svn); while --tune(0.4.9-pre1) equals --cpu(svn) * NOTE: oe uses --march and --mtune, so the above optimization by ffmpeg (--mcpu) is not really needed * NOTE: but we try to make --cpu(0.4.9-pre1) or --arch(svn) as close to $TARGET_ARCH as possible * checked --march and --mtune and $TARGET_CFLAGS are used correctly * remove unnecessary FLAGS, configure options, oe_runconf(), etc in either svn or pre1 * unify svn and 0.4.9-pre1, however not much can be done for packaging and staging * QA: add LEAD_SONAME, fix DESCRIPTION, HOME, AUTHOR
Diffstat (limited to 'packages/ffmpeg/ffmpeg.inc')
-rw-r--r--packages/ffmpeg/ffmpeg.inc26
1 files changed, 11 insertions, 15 deletions
diff --git a/packages/ffmpeg/ffmpeg.inc b/packages/ffmpeg/ffmpeg.inc
index 00f1423450..aab2c62fa9 100644
--- a/packages/ffmpeg/ffmpeg.inc
+++ b/packages/ffmpeg/ffmpeg.inc
@@ -1,39 +1,35 @@
-DESCRIPTION = "ffmpeg"
+DESCRIPTION = "FFmpeg is a complete solution to record, convert and stream audio and video"
HOMEPAGE = "http://ffmpeg.mplayerhq.hu/"
AUTHOR = "Fabrice Bellard ffmpeg-devel@mplayerhq.hu"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPL"
-DEPENDS = "zlib libvorbis faac liba52 lame"
+DEPENDS = "zlib libogg libvorbis faac faad2 liba52 lame"
RSUGGESTS = "mplayer"
inherit autotools pkgconfig
-TARGET_LDFLAGS_append = " -lm -la52 "
+LEAD_SONAME = "libavcodec.so"
EXTRA_OECONF = "\
+ \
--enable-pp \
--enable-shared \
--enable-pthreads \
--enable-gpl \
\
- --disable-audio-beos \
- --disable-v4l \
- --disable-dv1394 \
+ --cross-prefix=${TARGET_PREFIX} \
--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:"
+PACKAGES += "${PN}-vhook-dbg ${PN}-vhook"
+
+FILES_${PN} = "${bindir}"
+FILES_${PN}-dev = "${includedir}/${PN}"
-do_configure_prepend() {
- export CC="${CC}"
-}
+FILES_${PN}-vhook = "${libdir}/vhook"
+FILES_${PN}-vhook-dbg += "${libdir}/vhook/.debug"