aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
35 lines
943 B
Makefile
35 lines
943 B
Makefile
################################################################################
|
|
#
|
|
# flac
|
|
#
|
|
################################################################################
|
|
|
|
FLAC_VERSION = 1.3.0
|
|
FLAC_SITE = http://downloads.xiph.org/releases/flac
|
|
FLAC_SOURCE = flac-$(FLAC_VERSION).tar.xz
|
|
FLAC_INSTALL_STAGING = YES
|
|
FLAC_AUTORECONF = YES
|
|
FLAC_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
FLAC_LICENSE = Xiph BSD-like (libFLAC), GPLv2+ (tools), LGPLv2.1+ (other libraries)
|
|
FLAC_LICENSE_FILES = COPYING.Xiph COPYING.GPL COPYING.LGPL
|
|
FLAC_CONF_OPTS = \
|
|
--disable-cpplibs \
|
|
--disable-xmms-plugin \
|
|
--disable-altivec
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBOGG),y)
|
|
FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr
|
|
FLAC_DEPENDENCIES += libogg
|
|
else
|
|
FLAC_CONF_OPTS += --disable-ogg
|
|
endif
|
|
|
|
ifeq ($(BR2_X86_CPU_HAS_SSE),y)
|
|
FLAC_DEPENDENCIES += host-nasm
|
|
FLAC_CONF_OPTS += --enable-sse
|
|
else
|
|
FLAC_CONF_OPTS += --disable-sse
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|