summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-09-11 23:06:50 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-09-11 23:06:50 +0200
commit0bbb2eda9a810ac3e07a99c0042e246c24e74b2b (patch)
treeaec6faf5b87dda831c80f9510da174a7666ad297 /package
parentc226de26ec1379a88f7fe0e278ceb5888b92a054 (diff)
downloadbuildroot-novena-0bbb2eda9a810ac3e07a99c0042e246c24e74b2b.tar.gz
buildroot-novena-0bbb2eda9a810ac3e07a99c0042e246c24e74b2b.zip
package: add opus-tools
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/multimedia/Config.in1
-rw-r--r--package/opus-tools/Config.in10
-rw-r--r--package/opus-tools/opus-tools.mk22
3 files changed, 33 insertions, 0 deletions
diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in
index afe4a23b0..273d9bc1b 100644
--- a/package/multimedia/Config.in
+++ b/package/multimedia/Config.in
@@ -19,6 +19,7 @@ source "package/multimedia/mpd/Config.in"
source "package/multimedia/mpg123/Config.in"
source "package/multimedia/mplayer/Config.in"
source "package/multimedia/musepack/Config.in"
+source "package/opus-tools/Config.in"
source "package/multimedia/pulseaudio/Config.in"
source "package/multimedia/tidsp-binaries/Config.in"
source "package/multimedia/vorbis-tools/Config.in"
diff --git a/package/opus-tools/Config.in b/package/opus-tools/Config.in
new file mode 100644
index 000000000..2552d1951
--- /dev/null
+++ b/package/opus-tools/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_OPUS_TOOLS
+ bool "opus-tools"
+ select BR2_PACKAGE_OPUS
+ select BR2_PACKAGE_LIBOGG
+ help
+ Opus codec command line tools. This package provides the
+ reference implementations of encoder and decoder utilities
+ for libopus.
+
+ http://opus-codec.org
diff --git a/package/opus-tools/opus-tools.mk b/package/opus-tools/opus-tools.mk
new file mode 100644
index 000000000..233ad9a6e
--- /dev/null
+++ b/package/opus-tools/opus-tools.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# opus-tools
+#
+#############################################################
+
+OPUS_TOOLS_VERSION = 0.1.5
+OPUS_TOOLS_SITE = http://downloads.xiph.org/releases/opus
+OPUS_TOOLS_CONF_OPT = --disable-oggtest --disable-opustest
+OPUS_TOOLS_DEPENDENCIES = opus libogg host-pkg-config
+
+ifeq ($(BR2_PACKAGE_LIBPCAP),y)
+OPUS_TOOLS_DEPENDENCIES += libpcap
+endif
+
+ifeq ($(BR2_X86_CPU_HAS_SSE),y)
+OPUS_TOOLS_CONF_OPT += --enable-sse
+else
+OPUS_TOOLS_CONF_OPT += --disable-sse
+endif
+
+$(eval $(autotools-package))