mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
package/caps: new package
CAPS is a collection of audio plugins comprising virtual guitar amplification and a small range of basic classic effects, signal processors and generators of often elementary and occasionally exotic nature. The plugins aim to satisfy the highest demands in sound quality with maximal computational efficiency and zero latency. Note, that the original patch [1] dates back in 2014. [1] https://patchwork.ozlabs.org/patch/376822/ CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> [Thomas: - drop patch 0001, use improved logic in .mk file instead - add dependency on !BR2_STATIC_LIBS] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
d32098fd08
commit
04e272ba81
34
package/caps/caps.mk
Normal file
34
package/caps/caps.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# caps
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CAPS_VERSION = 0.9.26
|
||||
CAPS_SOURCE = caps_$(CAPS_VERSION).tar.bz2
|
||||
CAPS_SITE = http://quitte.de/dsp
|
||||
CAPS_LICENSE = GPLv3
|
||||
CAPS_LICENSE_FILES = COPYING
|
||||
|
||||
# Need to pass TARGET_CONFIGURE_OPTS in the environment to not
|
||||
# override the LDFLAGS definition of the Makefile.
|
||||
CAPS_MAKE_ENV = \
|
||||
$(TARGET_MAKE_ENV) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CXXFLAGS)"
|
||||
|
||||
# caps Makefile uses CC and CFLAGS, but for C++
|
||||
CAPS_MAKE_OPTS = \
|
||||
CC="$(TARGET_CXX)" \
|
||||
STRIP=/bin/true
|
||||
|
||||
define CAPS_BUILD_CMDS
|
||||
$(CAPS_MAKE_ENV) $(MAKE) $(CAPS_MAKE_OPTS) all -C $(@D)
|
||||
endef
|
||||
|
||||
define CAPS_INSTALL_TARGET_CMDS
|
||||
$(CAPS_MAKE_ENV) $(MAKE) $(CAPS_MAKE_OPTS) \
|
||||
DESTDIR=$(TARGET_DIR) install -C $(@D)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user