diff options
Diffstat (limited to 'meta-oe/recipes-multimedia/webm/libvpx_1.5.0.bb')
-rw-r--r-- | meta-oe/recipes-multimedia/webm/libvpx_1.5.0.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/webm/libvpx_1.5.0.bb b/meta-oe/recipes-multimedia/webm/libvpx_1.5.0.bb new file mode 100644 index 0000000000..648818e722 --- /dev/null +++ b/meta-oe/recipes-multimedia/webm/libvpx_1.5.0.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | SUMMARY = "VPX multi-format codec" | ||
2 | DESCRIPTION = "The BSD-licensed libvpx reference implementation provides en- and decoders for VP8 and VP9 bitstreams." | ||
3 | HOMEPAGE = "http://www.webmproject.org/code/" | ||
4 | BUGTRACKER = "http://code.google.com/p/webm/issues/list" | ||
5 | SECTION = "libs/multimedia" | ||
6 | LICENSE = "BSD" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d5b04755015be901744a78cc30d390d4" | ||
9 | |||
10 | SRC_URI += "http://storage.googleapis.com/downloads.webmproject.org/releases/webm/${BP}.tar.bz2 \ | ||
11 | file://libvpx-configure-support-blank-prefix.patch \ | ||
12 | " | ||
13 | SRC_URI[md5sum] = "49e59dd184caa255886683facea56fca" | ||
14 | SRC_URI[sha256sum] = "306d67908625675f8e188d37a81fbfafdf5068b09d9aa52702b6fbe601c76797" | ||
15 | |||
16 | # ffmpeg links with this and fails | ||
17 | # sysroots/armv4t-oe-linux-gnueabi/usr/lib/libvpx.a(vpx_encoder.c.o)(.text+0xc4): unresolvable R_ARM_THM_CALL relocation against symbol `memcpy@@GLIBC_2.4' | ||
18 | ARM_INSTRUCTION_SET = "arm" | ||
19 | |||
20 | CFLAGS += "-fPIC" | ||
21 | |||
22 | export CC | ||
23 | export LD = "${CC}" | ||
24 | |||
25 | VPXTARGET_armv5te = "armv5te-linux-gcc" | ||
26 | VPXTARGET_armv6 = "armv6-linux-gcc" | ||
27 | VPXTARGET_armv7a = "armv7-linux-gcc" | ||
28 | VPXTARGET ?= "generic-gnu" | ||
29 | |||
30 | CONFIGUREOPTS = " \ | ||
31 | --target=${VPXTARGET} \ | ||
32 | --enable-vp9 \ | ||
33 | --enable-libs \ | ||
34 | --disable-install-docs \ | ||
35 | --disable-static \ | ||
36 | --enable-shared \ | ||
37 | --prefix=${prefix} \ | ||
38 | --libdir=${libdir} \ | ||
39 | --size-limit=16384x16384 \ | ||
40 | " | ||
41 | |||
42 | do_configure() { | ||
43 | ${S}/configure ${CONFIGUREOPTS} | ||
44 | } | ||
45 | |||
46 | do_install() { | ||
47 | oe_runmake install DESTDIR=${D} | ||
48 | chown -R root:root ${D} | ||
49 | } | ||