summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/webm/libvpx_1.13.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-multimedia/webm/libvpx_1.13.1.bb')
-rw-r--r--meta-oe/recipes-multimedia/webm/libvpx_1.13.1.bb53
1 files changed, 53 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/webm/libvpx_1.13.1.bb b/meta-oe/recipes-multimedia/webm/libvpx_1.13.1.bb
new file mode 100644
index 0000000000..eab5546a1b
--- /dev/null
+++ b/meta-oe/recipes-multimedia/webm/libvpx_1.13.1.bb
@@ -0,0 +1,53 @@
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-3-Clause"
7
8LIC_FILES_CHKSUM = "file://LICENSE;md5=d5b04755015be901744a78cc30d390d4"
9
10SRCREV = "10b9492dcf05b652e2e4b370e205bd605d421972"
11SRC_URI += "git://chromium.googlesource.com/webm/libvpx;protocol=https;branch=main \
12 file://libvpx-configure-support-blank-prefix.patch \
13 "
14
15S = "${WORKDIR}/git"
16
17# ffmpeg links with this and fails
18# 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'
19ARM_INSTRUCTION_SET = "arm"
20
21CFLAGS += "-fPIC"
22BUILD_LDFLAGS += "-pthread"
23
24export CC
25export LD = "${CC}"
26
27VPXTARGET:armv5te = "armv5te-linux-gcc"
28VPXTARGET:armv6 = "armv6-linux-gcc"
29VPXTARGET:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon","armv7-linux-gcc","generic-gnu",d)}"
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}
52
53BBCLASSEXTEND += "native"