diff options
author | Radek Dostal <rd@radekdostal.com> | 2012-06-14 11:02:19 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-06-20 13:34:10 +0200 |
commit | cdfe54310d11191fad462ed8425d5265da93fb37 (patch) | |
tree | 9aedb1597c6718192032f199abc645afda4f7ead | |
parent | 5e47c1c48fa63770ed95b9f24ba2291924725294 (diff) | |
download | meta-openembedded-cdfe54310d11191fad462ed8425d5265da93fb37.tar.gz |
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.inc | 6 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/libopus/libopus_0.9.14.bb | 20 |
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 @@ | |||
1 | |||
2 | def get_libopus_fpu_setting(bb, d): | ||
3 | if d.getVar('TARGET_FPU', True) in [ 'soft' ]: | ||
4 | return "--enable-fixed-point" | ||
5 | return "" | ||
6 | |||
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 @@ | |||
1 | SUMMARY = "Opus Audio Codec" | ||
2 | DESCRIPTION = "The Opus codec is designed for interactive \ | ||
3 | speech and audio transmission over the Internet. It is \ | ||
4 | designed by the IETF Codec Working Group and incorporates \ | ||
5 | technology from Skype's SILK codec and Xiph.Org's CELT codec." | ||
6 | HOMEPAGE = "http://www.opus-codec.org/" | ||
7 | SECTION = "libs/multimedia" | ||
8 | LICENSE = "BSD" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=6d9f9b3714db6bbcfb6e42170d9c664d" | ||
10 | |||
11 | SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz" | ||
12 | SRC_URI[md5sum] = "c7161b247a8437ae6b0f11dd872e69e8" | ||
13 | SRC_URI[sha256sum] = "b1cad6846a8f819a141009fe3f8f10c946e8eff7e9c2339cd517bb136cc59eae" | ||
14 | |||
15 | S = "${WORKDIR}/opus-${PV}" | ||
16 | |||
17 | inherit autotools pkgconfig | ||
18 | |||
19 | require libopus-fpu.inc | ||
20 | EXTRA_OECONF = "${@get_libopus_fpu_setting(bb, d)}" | ||