diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-multimedia/libopus | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-multimedia/libopus')
-rw-r--r-- | meta-oe/recipes-multimedia/libopus/libopus-fpu.inc | 6 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/libopus/libopus_1.1.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..8464664d8 --- /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_1.1.bb b/meta-oe/recipes-multimedia/libopus/libopus_1.1.bb new file mode 100644 index 000000000..15782a023 --- /dev/null +++ b/meta-oe/recipes-multimedia/libopus/libopus_1.1.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=e304cdf74c2a1b0a33a5084c128a23a3" | ||
10 | |||
11 | SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz" | ||
12 | SRC_URI[md5sum] = "c5a8cf7c0b066759542bc4ca46817ac6" | ||
13 | SRC_URI[sha256sum] = "b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95" | ||
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)}" | ||