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_CPE_ID_VENDOR = xiph
13OPUSFILE_INSTALL_STAGING = YES
14
15# 0001-Propagate-allocation-failure-from-ogg_sync_buffer.patch
16OPUSFILE_IGNORE_CVES += CVE-2022-47021
17
18ifeq ($(BR2_PACKAGE_OPENSSL),y)
19OPUSFILE_DEPENDENCIES += openssl
20else
21OPUSFILE_CONF_OPTS += --disable-http
22endif
23
24# Use the same as opus package since it's a dep and we can't mix
25ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y)
26OPUSFILE_CONF_OPTS += --enable-fixed-point
27endif
28
29$(eval $(autotools-package))
30