From 0bbb2eda9a810ac3e07a99c0042e246c24e74b2b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 11 Sep 2012 23:06:50 +0200 Subject: [PATCH] package: add opus-tools Signed-off-by: Peter Korsgaard --- package/multimedia/Config.in | 1 + package/opus-tools/Config.in | 10 ++++++++++ package/opus-tools/opus-tools.mk | 22 ++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 package/opus-tools/Config.in create mode 100644 package/opus-tools/opus-tools.mk diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in index afe4a23b0c..273d9bc1bc 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 0000000000..2552d19515 --- /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 0000000000..233ad9a6e8 --- /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)) -- 2.30.2