5a172ef532
Changelog: https://xiph.org/flac/changelog.html
Switched _SITE to https and update project URL.
Upstream removed the dependency to host-nasm:
75ef7958df (diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810L474)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
31 lines
1.0 KiB
Makefile
31 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# flac
|
|
#
|
|
################################################################################
|
|
|
|
FLAC_VERSION = 1.4.2
|
|
FLAC_SITE = https://ftp.osuosl.org/pub/xiph/releases/flac
|
|
FLAC_SOURCE = flac-$(FLAC_VERSION).tar.xz
|
|
FLAC_INSTALL_STAGING = YES
|
|
FLAC_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
FLAC_LICENSE = Xiph BSD-like (libFLAC), GPL-2.0+ (tools), LGPL-2.1+ (other libraries)
|
|
FLAC_LICENSE_FILES = COPYING.Xiph COPYING.GPL COPYING.LGPL
|
|
FLAC_CPE_ID_VENDOR = flac_project
|
|
|
|
FLAC_CONF_OPTS = \
|
|
$(if $(BR2_POWERPC_CPU_HAS_ALTIVEC),--enable-altivec,--disable-altivec) \
|
|
$(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \
|
|
$(if $(BR2_POWERPC_CPU_HAS_VSX),--enable-vsx,--disable-vsx) \
|
|
--disable-xmms-plugin \
|
|
--disable-stack-smash-protection
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBOGG),y)
|
|
FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr
|
|
FLAC_DEPENDENCIES += libogg
|
|
else
|
|
FLAC_CONF_OPTS += --disable-ogg
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|