diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-12-10 15:14:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-29 15:36:50 +0000 |
commit | 872b656e884b2c1fc263a670e7c612e95feace58 (patch) | |
tree | 837b0345bf9270b598195f81c80dd059fb27682a /meta/recipes-multimedia | |
parent | f78bf87ea9ffb754379069dc67e3edb8edaf0514 (diff) | |
download | poky-872b656e884b2c1fc263a670e7c612e95feace58.tar.gz |
libpostproc: import from meta-oe
(From OE-Core rev: bb6f073adb1613930a14c9c6f9d7d9ae2e7b59c0)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r-- | meta/recipes-multimedia/libav/libpostproc_git.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/libav/libpostproc_git.bb b/meta/recipes-multimedia/libav/libpostproc_git.bb new file mode 100644 index 0000000000..88891db09b --- /dev/null +++ b/meta/recipes-multimedia/libav/libpostproc_git.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | SUMMARY = "FFmpeg derived postprocessing library" | ||
2 | HOMEPAGE = "http://git.videolan.org/?p=libpostproc.git;a=summary" | ||
3 | SECTION = "libs" | ||
4 | DEPENDS = "libav" | ||
5 | LICENSE = "GPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
7 | |||
8 | # because it depends on libav which has commercial flag | ||
9 | LICENSE_FLAGS = "commercial" | ||
10 | |||
11 | PV = "52.3.0+git${SRCPV}" | ||
12 | |||
13 | SRCREV = "811db3b957dfde24aef2d0f82e297e5bf552d873" | ||
14 | SRC_URI = "git://github.com/lu-zero/postproc;protocol=https" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit autotools lib_package pkgconfig | ||
19 | |||
20 | FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math" | ||
21 | BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}" | ||
22 | |||
23 | EXTRA_FFCONF_armv7a = "--cpu=cortex-a8" | ||
24 | EXTRA_FFCONF ?= "" | ||
25 | |||
26 | EXTRA_OECONF = " \ | ||
27 | --enable-shared \ | ||
28 | --enable-pthreads \ | ||
29 | --enable-gpl \ | ||
30 | --enable-postproc \ | ||
31 | \ | ||
32 | --cross-prefix=${TARGET_PREFIX} \ | ||
33 | --prefix=${prefix} \ | ||
34 | \ | ||
35 | --arch=${TARGET_ARCH} \ | ||
36 | --target-os="linux" \ | ||
37 | --enable-cross-compile \ | ||
38 | --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \ | ||
39 | --extra-ldflags="${TARGET_LDFLAGS}" \ | ||
40 | --sysroot="${STAGING_DIR_TARGET}" \ | ||
41 | ${EXTRA_FFCONF} \ | ||
42 | " | ||
43 | |||
44 | do_configure() { | ||
45 | ${S}/configure ${EXTRA_OECONF} | ||
46 | } | ||