summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/webm/libvpx.inc
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-oe/recipes-multimedia/webm/libvpx.inc
downloadmeta-openembedded-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-multimedia/webm/libvpx.inc')
-rw-r--r--meta-oe/recipes-multimedia/webm/libvpx.inc38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/webm/libvpx.inc b/meta-oe/recipes-multimedia/webm/libvpx.inc
new file mode 100644
index 0000000000..4d8ba9d825
--- /dev/null
+++ b/meta-oe/recipes-multimedia/webm/libvpx.inc
@@ -0,0 +1,38 @@
1DESCRIPTION = "vpx Multi-Format Codec SDK"
2LICENSE = "BSD"
3
4INC_PR = "r3"
5
6SRC_URI = "http://webm.googlecode.com/files/libvpx-v${PV}.tar.bz2"
7S = "${WORKDIR}/libvpx-v${PV}"
8
9# ffmpeg links with this and fails
10# 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'
11ARM_INSTRUCTION_SET = "arm"
12
13CFLAGS += "-fPIC"
14
15export CC
16export LD = "${CC}"
17
18VPXTARGET_armv5te = "armv5te-linux-gcc"
19VPXTARGET_armv6 = "armv6-linux-gcc"
20VPXTARGET_armv7a = "armv7-linux-gcc"
21VPXTARGET ?= "generic-gnu"
22
23CONFIGUREOPTS = " \
24 --target=${VPXTARGET} \
25 --enable-vp8 \
26 --enable-libs \
27 --disable-install-docs \
28"
29do_configure() {
30 ${S}/configure ${CONFIGUREOPTS}
31}
32do_compile() {
33 oe_runmake
34}
35do_install() {
36 oe_runmake install DESTDIR=${D}
37}
38