2011-01-20 14:32:36 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# wavpack
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-10-16 08:46:41 +02:00
|
|
|
WAVPACK_VERSION = 4.75.2
|
2011-01-20 14:32:36 +01:00
|
|
|
WAVPACK_SITE = http://www.wavpack.com
|
|
|
|
WAVPACK_SOURCE = wavpack-$(WAVPACK_VERSION).tar.bz2
|
|
|
|
WAVPACK_INSTALL_STAGING = YES
|
2013-01-08 09:04:31 +01:00
|
|
|
WAVPACK_DEPENDENCIES = $(if $(BR2_ENABLE_LOCALE),,libiconv)
|
2012-12-29 04:06:11 +01:00
|
|
|
WAVPACK_LICENSE = BSD-3c
|
2013-12-12 01:55:43 +01:00
|
|
|
WAVPACK_LICENSE_FILES = COPYING
|
2011-01-20 14:32:36 +01:00
|
|
|
|
2015-10-17 14:28:29 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
|
|
WAVPACK_CONF_OPTS += LIBS=-liconv
|
|
|
|
endif
|
|
|
|
|
2015-10-16 08:46:41 +02:00
|
|
|
# WavPack "autodetects" CPU type to enable ASM code. However, the assembly code
|
|
|
|
# for ARM is written for ARMv7 only and building WavPack for an ARM-non-v7
|
|
|
|
# architecture will fail. We explicitly enable ASM for the supported
|
|
|
|
# architectures x86, x64 and ARMv7 and disable it for all others.
|
|
|
|
ifeq ($(BR2_i386)$(BR2_x86_64)$(BR2_ARM_CPU_ARMV7A),y)
|
|
|
|
WAVPACK_CONF_OPTS += --enable-asm
|
|
|
|
else
|
|
|
|
WAVPACK_CONF_OPTS += --disable-asm
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|