diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2013-01-27 15:41:19 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-01-27 23:54:10 +0100 |
commit | 3a974b4e16273bd6a0b0451bcbba5bfe4cd3b5c4 (patch) | |
tree | 10dd9f3510c2b07a9239132a2e2284cb7924d963 /meta-oe | |
parent | 13609c862898f46c18e7471d6b139a511859539e (diff) | |
download | meta-openembedded-3a974b4e16273bd6a0b0451bcbba5bfe4cd3b5c4.tar.gz |
x264: add git version
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-multimedia/x264/x264_git.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/x264/x264_git.bb b/meta-oe/recipes-multimedia/x264/x264_git.bb new file mode 100644 index 000000000..7d7579f42 --- /dev/null +++ b/meta-oe/recipes-multimedia/x264/x264_git.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | SUMMARY = "x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC format" | ||
2 | HOMEPAGE = "http://www.videolan.org/developers/x264.html" | ||
3 | |||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
6 | |||
7 | DEPENDS = "yasm-native" | ||
8 | |||
9 | SRC_URI = "git://git.videolan.org/x264.git" | ||
10 | SRCREV = "1cffe9f406cc54f4759fc9eeb85598fb8cae66c7" | ||
11 | |||
12 | PV = "r2230+git" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | inherit lib_package pkgconfig | ||
17 | |||
18 | X264_DISABLE_ASM = "" | ||
19 | X264_DISABLE_ASM_armv4 = "--disable-asm" | ||
20 | X264_DISABLE_ASM_armv5 = "--disable-asm" | ||
21 | |||
22 | EXTRA_OECONF = '--prefix=${prefix} \ | ||
23 | --host=${HOST_SYS} \ | ||
24 | --cross-prefix=${TARGET_PREFIX} \ | ||
25 | --sysroot=${STAGING_DIR_TARGET} \ | ||
26 | --enable-shared \ | ||
27 | --enable-static \ | ||
28 | --disable-lavf \ | ||
29 | ${X264_DISABLE_ASM} \ | ||
30 | ' | ||
31 | |||
32 | do_configure() { | ||
33 | ./configure ${EXTRA_OECONF} | ||
34 | } | ||
35 | |||
36 | # Get rid of -e | ||
37 | EXTRA_OEMAKE = "" | ||
38 | AS = "${TARGET_PREFIX}gcc" | ||
39 | |||
40 | do_install() { | ||
41 | oe_runmake install DESTDIR=${D} | ||
42 | } | ||