summaryrefslogtreecommitdiffstats
path: root/package/opus-tools
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/opus-tools
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/opus-tools')
-rw-r--r--package/opus-tools/Config.in10
-rw-r--r--package/opus-tools/opus-tools.mk22
2 files changed, 32 insertions, 0 deletions
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))