aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Dostal <rd@radekdostal.com>2012-06-14 11:02:19 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-06-20 13:34:10 +0200
commitcdfe54310d11191fad462ed8425d5265da93fb37 (patch)
tree9aedb1597c6718192032f199abc645afda4f7ead
parent5e47c1c48fa63770ed95b9f24ba2291924725294 (diff)
downloadmeta-openembedded-cdfe54310d11191fad462ed8425d5265da93fb37.tar.gz
meta-openembedded-cdfe54310d11191fad462ed8425d5265da93fb37.tar.bz2
meta-openembedded-cdfe54310d11191fad462ed8425d5265da93fb37.zip
libopus: add libopus_0.9.14
Signed-off-by: Radek Dostal <rd@radekdostal.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--meta-oe/recipes-multimedia/libopus/libopus-fpu.inc6
-rw-r--r--meta-oe/recipes-multimedia/libopus/libopus_0.9.14.bb20
2 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/libopus/libopus-fpu.inc b/meta-oe/recipes-multimedia/libopus/libopus-fpu.inc
new file mode 100644
index 000000000..ed16602de
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libopus/libopus-fpu.inc
@@ -0,0 +1,6 @@
+
+def get_libopus_fpu_setting(bb, d):
+ if d.getVar('TARGET_FPU', True) in [ 'soft' ]:
+ return "--enable-fixed-point"
+ return ""
+
diff --git a/meta-oe/recipes-multimedia/libopus/libopus_0.9.14.bb b/meta-oe/recipes-multimedia/libopus/libopus_0.9.14.bb
new file mode 100644
index 000000000..7eb977962
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libopus/libopus_0.9.14.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Opus Audio Codec"
+DESCRIPTION = "The Opus codec is designed for interactive \
+speech and audio transmission over the Internet. It is \
+designed by the IETF Codec Working Group and incorporates \
+technology from Skype's SILK codec and Xiph.Org's CELT codec."
+HOMEPAGE = "http://www.opus-codec.org/"
+SECTION = "libs/multimedia"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6d9f9b3714db6bbcfb6e42170d9c664d"
+
+SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz"
+SRC_URI[md5sum] = "c7161b247a8437ae6b0f11dd872e69e8"
+SRC_URI[sha256sum] = "b1cad6846a8f819a141009fe3f8f10c946e8eff7e9c2339cd517bb136cc59eae"
+
+S = "${WORKDIR}/opus-${PV}"
+
+inherit autotools pkgconfig
+
+require libopus-fpu.inc
+EXTRA_OECONF = "${@get_libopus_fpu_setting(bb, d)}"