Initial Commit
- initial default booting image
This commit is contained in:
9
package/wavpack/Config.in
Normal file
9
package/wavpack/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_WAVPACK
|
||||
bool "wavpack"
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
WavPack is a completely open audio compression format
|
||||
providing lossless, high-quality lossy, and a unique
|
||||
hybrid compression mode.
|
||||
|
||||
http://www.wavpack.com/
|
||||
3
package/wavpack/wavpack.hash
Normal file
3
package/wavpack/wavpack.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# locally computed hash
|
||||
sha256 e81510fd9ec5f309f58d5de83e9af6c95e267a13753d7e0bbfe7b91273a88bee wavpack-5.7.0.tar.xz
|
||||
sha256 35a87c7390cd00e51e7a7cbb0486df7897201347e4625779248ace48e7e6cfbc COPYING
|
||||
37
package/wavpack/wavpack.mk
Normal file
37
package/wavpack/wavpack.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
#
|
||||
# wavpack
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WAVPACK_VERSION = 5.7.0
|
||||
WAVPACK_SITE = \
|
||||
https://github.com/dbry/WavPack/releases/download/$(WAVPACK_VERSION)
|
||||
WAVPACK_SOURCE = wavpack-$(WAVPACK_VERSION).tar.xz
|
||||
WAVPACK_INSTALL_STAGING = YES
|
||||
WAVPACK_DEPENDENCIES = $(if $(BR2_ENABLE_LOCALE),,libiconv)
|
||||
WAVPACK_LICENSE = BSD-3-Clause
|
||||
WAVPACK_LICENSE_FILES = COPYING
|
||||
WAVPACK_CPE_ID_VENDOR = wavpack
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||
WAVPACK_CONF_OPTS += LIBS=-liconv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
WAVPACK_CONF_OPTS += --enable-threads
|
||||
else
|
||||
WAVPACK_CONF_OPTS += --disable-threads
|
||||
endif
|
||||
|
||||
# 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
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user