summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/webm/libvpx_1.7.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-multimedia/webm/libvpx_1.7.0.bb')
-rw-r--r--meta-oe/recipes-multimedia/webm/libvpx_1.7.0.bb51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/webm/libvpx_1.7.0.bb b/meta-oe/recipes-multimedia/webm/libvpx_1.7.0.bb
new file mode 100644
index 0000000000..1d04ed1bdb
--- /dev/null
+++ b/meta-oe/recipes-multimedia/webm/libvpx_1.7.0.bb
@@ -0,0 +1,51 @@
1SUMMARY = "VPX multi-format codec"
2DESCRIPTION = "The BSD-licensed libvpx reference implementation provides en- and decoders for VP8 and VP9 bitstreams."
3HOMEPAGE = "http://www.webmproject.org/code/"
4BUGTRACKER = "http://code.google.com/p/webm/issues/list"
5SECTION = "libs/multimedia"
6LICENSE = "BSD"
7
8LIC_FILES_CHKSUM = "file://LICENSE;md5=d5b04755015be901744a78cc30d390d4"
9
10# SRCREV for 1.7.0
11SRCREV = "133f83e2c34b8d770ae06aa595cef3e254173fcb"
12SRC_URI += "git://chromium.googlesource.com/webm/libvpx;protocol=https \
13 file://libvpx-configure-support-blank-prefix.patch \
14 "
15
16S = "${WORKDIR}/git"
17
18# ffmpeg links with this and fails
19# 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'
20ARM_INSTRUCTION_SET = "arm"
21
22CFLAGS += "-fPIC"
23
24export CC
25export LD = "${CC}"
26
27VPXTARGET_armv5te = "armv5te-linux-gcc"
28VPXTARGET_armv6 = "armv6-linux-gcc"
29VPXTARGET_armv7a = "armv7-linux-gcc"
30VPXTARGET ?= "generic-gnu"
31
32CONFIGUREOPTS = " \
33 --target=${VPXTARGET} \
34 --enable-vp9 \
35 --enable-libs \
36 --disable-install-docs \
37 --disable-static \
38 --enable-shared \
39 --prefix=${prefix} \
40 --libdir=${libdir} \
41 --size-limit=16384x16384 \
42"
43
44do_configure() {
45 ${S}/configure ${CONFIGUREOPTS}
46}
47
48do_install() {
49 oe_runmake install DESTDIR=${D}
50 chown -R root:root ${D}
51}