package: add opus audio codec library
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 11 Sep 2012 20:45:08 +0000 (22:45 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 11 Sep 2012 20:50:05 +0000 (22:50 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/opus/Config.in [new file with mode: 0644]
package/opus/opus.mk [new file with mode: 0644]

index 441159d38514ab54c232106d4ed5ffe3eaf07172..2e3f6763a04db6f0102f145298470d98a7c6c48c 100644 (file)
@@ -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 (file)
index 0000000..12bdfbb
--- /dev/null
@@ -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 (file)
index 0000000..177adfb
--- /dev/null
@@ -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))