1 ################################################################################
5 ################################################################################
8 FLAC_SITE
= http
://downloads.xiph.org
/releases
/flac
9 FLAC_SOURCE
= flac-
$(FLAC_VERSION
).
tar.xz
10 FLAC_INSTALL_STAGING
= YES
11 FLAC_DEPENDENCIES
= $(if
$(BR2_PACKAGE_LIBICONV
),libiconv
)
12 FLAC_LICENSE
= Xiph BSD-like
(libFLAC
), GPLv2
+ (tools
), LGPLv2.1
+ (other libraries
)
13 FLAC_LICENSE_FILES
= COPYING.Xiph COPYING.GPL COPYING.LGPL
16 --disable-xmms-plugin \
19 ifeq ($(BR2_PACKAGE_LIBOGG
),y
)
20 FLAC_CONF_OPTS
+= --with-ogg
=$(STAGING_DIR
)/usr
21 FLAC_DEPENDENCIES
+= libogg
23 FLAC_CONF_OPTS
+= --disable-ogg
26 ifeq ($(BR2_X86_CPU_HAS_SSE
),y
)
27 FLAC_DEPENDENCIES
+= host-nasm
28 FLAC_CONF_OPTS
+= --enable-sse
30 FLAC_CONF_OPTS
+= --disable-sse
33 $(eval
$(autotools-package
))