summaryrefslogtreecommitdiff
path: root/packages/ffmpeg/ffmpeg.inc
blob: 00f1423450a4171a818df5edbf3c517af6dfebac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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}"
}