xref: /OK3568_Linux_fs/buildroot/package/opusfile/opusfile.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# opusfile
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunOPUSFILE_VERSION = 0.12
8*4882a593SmuzhiyunOPUSFILE_SITE = https://downloads.xiph.org/releases/opus
9*4882a593SmuzhiyunOPUSFILE_DEPENDENCIES = host-pkgconf libogg opus
10*4882a593SmuzhiyunOPUSFILE_LICENSE = BSD-3-Clause
11*4882a593SmuzhiyunOPUSFILE_LICENSE_FILES = COPYING
12*4882a593SmuzhiyunOPUSFILE_INSTALL_STAGING = YES
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_OPENSSL),y)
15*4882a593SmuzhiyunOPUSFILE_DEPENDENCIES += openssl
16*4882a593Smuzhiyunelse
17*4882a593SmuzhiyunOPUSFILE_CONF_OPTS += --disable-http
18*4882a593Smuzhiyunendif
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun# Use the same as opus package since it's a dep and we can't mix
21*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y)
22*4882a593SmuzhiyunOPUSFILE_CONF_OPTS += --enable-fixed-point
23*4882a593Smuzhiyunendif
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun$(eval $(autotools-package))
26