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