summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/libopus
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-08 22:51:41 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-08 22:51:41 +0200
commit1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch)
treea21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-multimedia/libopus
downloadmeta-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.inc6
-rw-r--r--meta-oe/recipes-multimedia/libopus/libopus_1.1.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..8464664d8
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libopus/libopus-fpu.inc
@@ -0,0 +1,6 @@
1
2def 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 @@
1SUMMARY = "Opus Audio Codec"
2DESCRIPTION = "The Opus codec is designed for interactive \
3speech and audio transmission over the Internet. It is \
4designed by the IETF Codec Working Group and incorporates \
5technology from Skype's SILK codec and Xiph.Org's CELT codec."
6HOMEPAGE = "http://www.opus-codec.org/"
7SECTION = "libs/multimedia"
8LICENSE = "BSD"
9LIC_FILES_CHKSUM = "file://COPYING;md5=e304cdf74c2a1b0a33a5084c128a23a3"
10
11SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz"
12SRC_URI[md5sum] = "c5a8cf7c0b066759542bc4ca46817ac6"
13SRC_URI[sha256sum] = "b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95"
14
15S = "${WORKDIR}/opus-${PV}"
16
17inherit autotools pkgconfig
18
19require libopus-fpu.inc
20EXTRA_OECONF = "${@get_libopus_fpu_setting(bb, d)}"