xref: /OK3568_Linux_fs/buildroot/package/opusfile/opusfile.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# opusfile
4#
5################################################################################
6
7OPUSFILE_VERSION = 0.12
8OPUSFILE_SITE = https://downloads.xiph.org/releases/opus
9OPUSFILE_DEPENDENCIES = host-pkgconf libogg opus
10OPUSFILE_LICENSE = BSD-3-Clause
11OPUSFILE_LICENSE_FILES = COPYING
12OPUSFILE_INSTALL_STAGING = YES
13
14ifeq ($(BR2_PACKAGE_OPENSSL),y)
15OPUSFILE_DEPENDENCIES += openssl
16else
17OPUSFILE_CONF_OPTS += --disable-http
18endif
19
20# Use the same as opus package since it's a dep and we can't mix
21ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y)
22OPUSFILE_CONF_OPTS += --enable-fixed-point
23endif
24
25$(eval $(autotools-package))
26