diff options
Diffstat (limited to 'common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb')
-rw-r--r-- | common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb new file mode 100644 index 00000000..023c25f3 --- /dev/null +++ b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | require ffmpeg.inc | ||
2 | |||
3 | LICENSE = "LGPLv2.1+ & GPLv2+" | ||
4 | PR = "${INC_PR}.1" | ||
5 | |||
6 | SRC_URI = "http://ffmpeg.org/releases/ffmpeg-${PV}.tar.bz2" | ||
7 | SRC_URI[md5sum] = "e4d0c32c0a7cc763922ee8c34e688b5a" | ||
8 | SRC_URI[sha256sum] = "4d383af2614fd55ab9e11ab3d5366b9a1453a4e4edf0ac2a1b1411927d577249" | ||
9 | |||
10 | LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
11 | file://libpostproc/postprocess.c;beginline=8;endline=21;md5=3163771dd725805aeda961a4e05173b5 \ | ||
12 | file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \ | ||
13 | file://ffmpeg.c;beginline=7;endline=20;md5=9dee9cc51a9da6c3254d39ebf4d5aa03" | ||
14 | |||
15 | EXTRA_FFCONF_armv7a = "--cpu=cortex-a8" | ||
16 | EXTRA_FFCONF_mipsel = "--arch=mips" | ||
17 | |||
18 | EXTRA_OECONF = " \ | ||
19 | --arch=${TARGET_ARCH} \ | ||
20 | --cross-prefix=${TARGET_PREFIX} \ | ||
21 | --disable-stripping \ | ||
22 | --enable-cross-compile \ | ||
23 | --enable-libtheora \ | ||
24 | --enable-libvorbis \ | ||
25 | --enable-pthreads \ | ||
26 | --enable-shared \ | ||
27 | --enable-swscale \ | ||
28 | --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \ | ||
29 | --extra-ldflags="${TARGET_LDFLAGS}" \ | ||
30 | --sysroot="${STAGING_DIR_TARGET}" \ | ||
31 | --prefix=${prefix}/ \ | ||
32 | --target-os=linux \ | ||
33 | ${EXTRA_FFCONF} \ | ||
34 | " | ||
35 | |||
36 | do_configure() { | ||
37 | ./configure ${EXTRA_OECONF} | ||
38 | } | ||
39 | |||
40 | FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -ftree-vectorize -fomit-frame-pointer -O4 -ffast-math" | ||
41 | BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}" | ||