buildrootschalter/package/opus-tools/opus-tools.mk
Gustavo Zacarias 685e50f517 opus-tools: disable flac when it is not selected
opus-tools expects flac since the 0.1.7 bump unless otherwise told so.
Disable it when it's not selected. Fixes:
http://autobuild.buildroot.net/results/c8c/c8c1a682336c150ee401f76b173944611b96bd4e/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-10 21:49:25 +02:00

29 lines
707 B
Makefile

################################################################################
#
# opus-tools
#
################################################################################
OPUS_TOOLS_VERSION = 0.1.7
OPUS_TOOLS_SITE = http://downloads.xiph.org/releases/opus
OPUS_TOOLS_CONF_OPT = --disable-oggtest --disable-opustest
OPUS_TOOLS_DEPENDENCIES = opus libogg host-pkgconf
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
ifeq ($(BR2_PACKAGE_FLAC),y)
OPUS_TOOLS_DEPENDENCIES += flac
else
OPUS_TOOLS_CONF_OPT += --without-flac
endif
$(eval $(autotools-package))