summaryrefslogtreecommitdiff
path: root/recipes/webm/libvpx.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-06-20 10:50:29 +0200
committerKoen Kooi <koen@openembedded.org>2010-06-20 10:50:29 +0200
commit91c3228464d87a80bc988654a5971b3f98ee90c9 (patch)
tree05aaaa274395bfe4fd3c849a35bf85deabfd84b8 /recipes/webm/libvpx.inc
parentb420d28cd0a7018c594d62f2d411747e319f7f00 (diff)
libvpx: add 0.9.1
Diffstat (limited to 'recipes/webm/libvpx.inc')
-rw-r--r--recipes/webm/libvpx.inc28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/webm/libvpx.inc b/recipes/webm/libvpx.inc
new file mode 100644
index 0000000000..a2062c60a1
--- /dev/null
+++ b/recipes/webm/libvpx.inc
@@ -0,0 +1,28 @@
+DESCRIPTION = "vpx Multi-Format Codec SDK"
+LICENSE = "BSD"
+
+SRC_URI = "http://webm.googlecode.com/files/libvpx-${PV}.tar.bz2"
+
+inherit autotools
+
+CFLAGGS += "-fPIC"
+
+export CC
+export LD = "${CC}"
+
+VPXTARGET_armv5te = "armv5te-linux-gcc"
+VPXTARGET_armv6 = "armv6-linux-gcc"
+VPXTARGET_armv7a = "armv7-linux-gcc"
+VPXTARGET ?= "generic-gnu"
+
+CONFIGUREOPTS = " \
+ --target=${VPXTARGET} \
+ --enable-vp8 \
+ --enable-libs \
+ --disable-install-docs \
+"
+
+do_install() {
+ oe_runmake install DESTDIR=${D}
+}
+