Commit 0bbb2eda authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

package: add opus-tools

parent c226de26
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"
+10 −0
Original line number Diff line number Diff line
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
+22 −0
Original line number Diff line number Diff line
#############################################################
#
# 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))