* [Buildroot] [PATCH 1/1] package/zynaddsubfx: new package
@ 2022-01-23 13:48 Julien Olivain
2022-01-26 21:18 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Julien Olivain @ 2022-01-23 13:48 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain
ZynAddSubFX is a fully featured open source software synthesizer
capable of making a countless number of instruments, from some
common heard from expensive hardware to interesting sounds that
you'll boost to an amazing universe of sounds.
https://zynaddsubfx.sourceforge.io/
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Checked with:
make check-package
[...]
0 warnings generated
./utils/test-pkg --all --package zynaddsubfx
andes-nds32 [ 1/45]: SKIPPED
arm-aarch64 [ 2/45]: OK
bootlin-aarch64-glibc [ 3/45]: OK
bootlin-arcle-hs38-uclibc [ 4/45]: OK
bootlin-armv5-uclibc [ 5/45]: OK
bootlin-armv7-glibc [ 6/45]: OK
bootlin-armv7m-uclibc [ 7/45]: OK
bootlin-armv7-musl [ 8/45]: OK
bootlin-m68k-5208-uclibc [ 9/45]: OK
bootlin-m68k-68040-uclibc [10/45]: OK
bootlin-microblazeel-uclibc [11/45]: OK
bootlin-mipsel32r6-glibc [12/45]: OK
bootlin-mipsel-uclibc [13/45]: OK
bootlin-nios2-glibc [14/45]: OK
bootlin-openrisc-uclibc [15/45]: OK
bootlin-powerpc64le-power8-glibc [16/45]: OK
bootlin-powerpc-e500mc-uclibc [17/45]: OK
bootlin-riscv32-glibc [18/45]: OK
bootlin-riscv64-glibc [19/45]: OK
bootlin-riscv64-musl [20/45]: OK
bootlin-sh4-uclibc [21/45]: OK
bootlin-sparc64-glibc [22/45]: OK
bootlin-sparc-uclibc [23/45]: OK
bootlin-x86-64-glibc [24/45]: OK
bootlin-x86-64-musl [25/45]: OK
bootlin-x86-64-uclibc [26/45]: OK
bootlin-xtensa-uclibc [27/45]: OK
br-arm-basic [28/45]: SKIPPED
br-arm-full-nothread [29/45]: SKIPPED
br-arm-full-static [30/45]: OK
br-i386-pentium4-full [31/45]: OK
br-i386-pentium-mmx-musl [32/45]: OK
br-mips64-n64-full [33/45]: OK
br-mips64r6-el-hf-glibc [34/45]: OK
br-powerpc-603e-basic-cpp [35/45]: OK
br-powerpc64-power7-glibc [36/45]: OK
linaro-aarch64-be [37/45]: OK
linaro-aarch64 [38/45]: OK
linaro-arm [39/45]: OK
sourcery-arm-armv4t [40/45]: SKIPPED
sourcery-arm [41/45]: SKIPPED
sourcery-arm-thumb2 [42/45]: SKIPPED
sourcery-mips64 [43/45]: OK
sourcery-mips [44/45]: OK
sourcery-nios2 [45/45]: OK
45 builds, 6 skipped, 0 build failed, 0 legal-info failed
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/zynaddsubfx/Config.in | 31 ++++++++++++++++++++++++++++
package/zynaddsubfx/zynaddsubfx.hash | 3 +++
package/zynaddsubfx/zynaddsubfx.mk | 28 +++++++++++++++++++++++++
5 files changed, 64 insertions(+)
create mode 100644 package/zynaddsubfx/Config.in
create mode 100644 package/zynaddsubfx/zynaddsubfx.hash
create mode 100644 package/zynaddsubfx/zynaddsubfx.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index dc810b6fe1..df9e6ec73b 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1611,6 +1611,7 @@ F: package/python-distro/
F: package/python-gnupg/
F: package/python-pyalsa/
F: package/riscv-isa-sim/
+F: package/zynaddsubfx/
N: Julien Viard de Galbert <julien@vdg.name>
F: package/dieharder/
diff --git a/package/Config.in b/package/Config.in
index 85188ff873..e4ca195beb 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -62,6 +62,7 @@ menu "Audio and video applications"
source "package/wavpack/Config.in"
source "package/yavta/Config.in"
source "package/ympd/Config.in"
+ source "package/zynaddsubfx/Config.in"
endmenu
menu "Compressors and decompressors"
diff --git a/package/zynaddsubfx/Config.in b/package/zynaddsubfx/Config.in
new file mode 100644
index 0000000000..837a469e7c
--- /dev/null
+++ b/package/zynaddsubfx/Config.in
@@ -0,0 +1,31 @@
+config BR2_PACKAGE_ZYNADDSUBFX
+ bool "zynaddsubfx"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
+ depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib, liblo
+ select BR2_PACKAGE_ALSA_LIB
+ select BR2_PACKAGE_FFTW
+ select BR2_PACKAGE_FFTW_SINGLE
+ select BR2_PACKAGE_LIBLO
+ select BR2_PACKAGE_MXML
+ select BR2_PACKAGE_ZLIB
+ help
+ ZynAddSubFX is a fully featured open source software
+ synthesizer capable of making a countless number of
+ instruments, from some common heard from expensive hardware
+ to interesting sounds that you'll boost to an amazing
+ universe of sounds.
+
+ Note: this Buildroot package does not include the graphical
+ user interface. It is meant to be executed as a headless
+ daemon to be controlled with MIDI events or network OSC
+ (Open Sound Control) events. OSC events can be generated
+ from an external system with the ZynAddSubFX external GUI
+ program zynaddsubfx-ext-gui.
+
+ https://zynaddsubfx.sourceforge.io/
+
+comment "zynaddsubfx needs a toolchain w/ C++11 and threads"
+ depends on !BR2_INSTALL_LIBSTDCPP || \
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
+ !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/zynaddsubfx/zynaddsubfx.hash b/package/zynaddsubfx/zynaddsubfx.hash
new file mode 100644
index 0000000000..2465d0b864
--- /dev/null
+++ b/package/zynaddsubfx/zynaddsubfx.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 cbd160778f6cf147f9b0487719edc5197a1404f46d7c7bfd89e153f0d8ce71ae zynaddsubfx-3.0.6.tar.bz2
+sha256 c9bf7643726da4f149e9669cf6f00257e4b3a173e4ab307461b8bd42717dd9a4 COPYING
diff --git a/package/zynaddsubfx/zynaddsubfx.mk b/package/zynaddsubfx/zynaddsubfx.mk
new file mode 100644
index 0000000000..68aa5ce278
--- /dev/null
+++ b/package/zynaddsubfx/zynaddsubfx.mk
@@ -0,0 +1,28 @@
+################################################################################
+#
+# zynaddsubfx
+#
+################################################################################
+
+ZYNADDSUBFX_VERSION = 3.0.6
+ZYNADDSUBFX_SOURCE = zynaddsubfx-$(ZYNADDSUBFX_VERSION).tar.bz2
+ZYNADDSUBFX_SITE = http://downloads.sourceforge.net/zynaddsubfx
+
+ZYNADDSUBFX_LICENSE = GPLv2+
+ZYNADDSUBFX_LICENSE_FILES = COPYING
+
+# There is no package in buildroot using LV2 plugins: disabling
+ZYNADDSUBFX_CONF_OPTS = -DPluginEnable=False
+
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+ZYNADDSUBFX_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
+endif
+
+ZYNADDSUBFX_DEPENDENCIES = \
+ alsa-lib \
+ fftw-single \
+ liblo \
+ mxml \
+ zlib
+
+$(eval $(cmake-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-26 21:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-23 13:48 [Buildroot] [PATCH 1/1] package/zynaddsubfx: new package Julien Olivain
2022-01-26 21:18 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.