summaryrefslogtreecommitdiff
path: root/repo/zynaddsubfx/zynaddsubfx.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/zynaddsubfx/zynaddsubfx.xibuild')
-rw-r--r--repo/zynaddsubfx/zynaddsubfx.xibuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/zynaddsubfx/zynaddsubfx.xibuild b/repo/zynaddsubfx/zynaddsubfx.xibuild
new file mode 100644
index 0000000..c730c5c
--- /dev/null
+++ b/repo/zynaddsubfx/zynaddsubfx.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="zynaddsubfx"
+DESC="fully featured open source software synthesizer"
+
+MAKEDEPS="cmake "
+DEPS="pkg-config zlib mxml ntk libx11 liblo fftw libxpm pulseaudio jack alsa-lib doxygen fltk "
+
+PKG_VER=3.0.5
+SOURCE="http://sourceforge.net/projects/zynaddsubfx/files/zynaddsubfx/$PKG_VER/zynaddsubfx-$PKG_VER.tar.bz2/download"
+
+build () {
+ cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DBUILD_STATIC_LIBS=OFF
+ cmake --build build
+}
+
+package () {
+ DESTDIR="$PKG_DEST" cmake --install build
+}