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