package: add opus-tools

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2012-09-11 23:06:50 +02:00
parent c226de26ec
commit 0bbb2eda9a
3 changed files with 33 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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))