xref: /OK3568_Linux_fs/buildroot/package/opus-tools/opus-tools.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# opus-tools
4#
5################################################################################
6
7OPUS_TOOLS_VERSION = 0.2
8OPUS_TOOLS_SITE = https://downloads.xiph.org/releases/opus
9OPUS_TOOLS_LICENSE = BSD-2-Clause, GPL-2.0 (opusinfo)
10OPUS_TOOLS_LICENSE_FILES = COPYING
11OPUS_TOOLS_CONF_OPTS = --disable-oggtest --disable-opustest
12OPUS_TOOLS_DEPENDENCIES = libogg libopusenc opus opusfile host-pkgconf
13
14ifeq ($(BR2_PACKAGE_LIBPCAP),y)
15OPUS_TOOLS_DEPENDENCIES += libpcap
16endif
17
18ifeq ($(BR2_X86_CPU_HAS_SSE),y)
19OPUS_TOOLS_CONF_OPTS += --enable-sse
20else
21OPUS_TOOLS_CONF_OPTS += --disable-sse
22endif
23
24ifeq ($(BR2_PACKAGE_FLAC),y)
25OPUS_TOOLS_DEPENDENCIES += flac
26else
27OPUS_TOOLS_CONF_OPTS += --without-flac
28endif
29
30$(eval $(autotools-package))
31