summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-09-11 22:45:08 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-09-11 22:50:05 +0200
commitc226de26ec1379a88f7fe0e278ceb5888b92a054 (patch)
tree975860effe8dda550b5eb2e685e11773ca7c17ca
parent3b9e61f9234165db1f70021396c8d59c2d52d3ec (diff)
downloadbuildroot-novena-c226de26ec1379a88f7fe0e278ceb5888b92a054.tar.gz
buildroot-novena-c226de26ec1379a88f7fe0e278ceb5888b92a054.zip
package: add opus audio codec library
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/opus/Config.in15
-rw-r--r--package/opus/opus.mk16
3 files changed, 32 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 441159d38..2e3f6763a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -302,6 +302,7 @@ source "package/libreplaygain/Config.in"
source "package/libsamplerate/Config.in"
source "package/libsndfile/Config.in"
source "package/libvorbis/Config.in"
+source "package/opus/Config.in"
source "package/portaudio/Config.in"
source "package/speex/Config.in"
source "package/taglib/Config.in"
diff --git a/package/opus/Config.in b/package/opus/Config.in
new file mode 100644
index 000000000..12bdfbbdb
--- /dev/null
+++ b/package/opus/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_OPUS
+ bool "opus"
+ help
+ 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.
+
+ It is intended to suit a wide range of interactive audio
+ applications, including Voice over IP, videoconferencing,
+ in-game chat, and even remote live music performances. It
+ can scale from low bit-rate narrowband speech to very high
+ quality stereo music.
+
+ http://opus-codec.org
diff --git a/package/opus/opus.mk b/package/opus/opus.mk
new file mode 100644
index 000000000..177adfb09
--- /dev/null
+++ b/package/opus/opus.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# opus
+#
+#############################################################
+
+OPUS_VERSION = 1.0.1
+OPUS_SITE = http://downloads.xiph.org/releases/opus
+OPUS_INSTALL_STAGING = YES
+OPUS_CONF_OPT = --disable-doc
+
+ifeq ($(BR2_SOFT_FLOAT),y)
+OPUS_CONF_OPT += --enable-fixed-point
+endif
+
+$(eval $(autotools-package))