2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-09-11 23:06:50 +02:00
|
|
|
#
|
|
|
|
# opus-tools
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-09-11 23:06:50 +02:00
|
|
|
|
2014-06-17 21:44:09 +02:00
|
|
|
OPUS_TOOLS_VERSION = 0.1.9
|
2012-09-11 23:06:50 +02:00
|
|
|
OPUS_TOOLS_SITE = http://downloads.xiph.org/releases/opus
|
2017-03-30 15:43:39 +02:00
|
|
|
OPUS_TOOLS_LICENSE = BSD-2-Clause
|
2013-12-06 09:34:10 +01:00
|
|
|
OPUS_TOOLS_LICENSE_FILES = COPYING
|
2014-09-27 21:32:44 +02:00
|
|
|
OPUS_TOOLS_CONF_OPTS = --disable-oggtest --disable-opustest
|
2012-10-22 17:47:52 +02:00
|
|
|
OPUS_TOOLS_DEPENDENCIES = opus libogg host-pkgconf
|
2012-09-11 23:06:50 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPCAP),y)
|
|
|
|
OPUS_TOOLS_DEPENDENCIES += libpcap
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_X86_CPU_HAS_SSE),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
OPUS_TOOLS_CONF_OPTS += --enable-sse
|
2012-09-11 23:06:50 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
OPUS_TOOLS_CONF_OPTS += --disable-sse
|
2012-09-11 23:06:50 +02:00
|
|
|
endif
|
|
|
|
|
2013-09-10 20:07:45 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_FLAC),y)
|
|
|
|
OPUS_TOOLS_DEPENDENCIES += flac
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
OPUS_TOOLS_CONF_OPTS += --without-flac
|
2013-09-10 20:07:45 +02:00
|
|
|
endif
|
|
|
|
|
2012-09-11 23:06:50 +02:00
|
|
|
$(eval $(autotools-package))
|