blob: a715ad70fad189741abbbfdd69b88491414f27b6 (
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
40
41
42
43
44
|
require ffmpeg.inc
LICENSE = "LGPLv2.1+ & GPLv2+"
DEPENDS += "schroedinger libgsm"
PR = "${INC_PR}.2"
SRC_URI = "http://ffmpeg.org/releases/ffmpeg-${PV}.tar.bz2"
SRC_URI[md5sum] = "4f5d732d25eedfb072251b5314ba2093"
SRC_URI[sha256sum] = "e348aa6d0bb199f231aa3a48e8f457f037c763219bccc8b395e007ccd87ebd5f"
LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://libpostproc/postprocess.c;beginline=8;endline=21;md5=3163771dd725805aeda961a4e05173b5 \
file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \
file://ffmpeg.c;beginline=7;endline=20;md5=9dee9cc51a9da6c3254d39ebf4d5aa03"
EXTRA_FFCONF_armv7a = "--cpu=cortex-a8"
EXTRA_FFCONF_mipsel = "--arch=mips"
EXTRA_OECONF = " \
--arch=${TARGET_ARCH} \
--cross-prefix=${TARGET_PREFIX} \
--disable-stripping \
--enable-cross-compile \
--enable-libgsm \
--enable-libmp3lame \
--enable-libschroedinger \
--enable-libtheora \
--enable-libvorbis \
--enable-pthreads \
--enable-shared \
--enable-swscale \
--enable-pic \
--extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
--extra-ldflags="${TARGET_LDFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
--prefix=${prefix}/ \
--target-os=linux \
${EXTRA_FFCONF} \
"
do_configure() {
./configure ${EXTRA_OECONF}
}
FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -ftree-vectorize -fomit-frame-pointer -O4 -ffast-math"
BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
|