summaryrefslogtreecommitdiff
path: root/skip/zynaddsubfx/zynaddsubfx.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-12-19 23:07:05 +0000
committerdavidovski <david@davidovski.xyz>2022-12-19 23:07:05 +0000
commit05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (patch)
tree0b058ac267139f2a0525dec42b307664363e5b11 /skip/zynaddsubfx/zynaddsubfx.xibuild
parent4c61af227b0fb3e028c877dc1c2e0b6513960762 (diff)
Making things work
Diffstat (limited to 'skip/zynaddsubfx/zynaddsubfx.xibuild')
-rw-r--r--skip/zynaddsubfx/zynaddsubfx.xibuild24
1 files changed, 11 insertions, 13 deletions
diff --git a/skip/zynaddsubfx/zynaddsubfx.xibuild b/skip/zynaddsubfx/zynaddsubfx.xibuild
index 228806b..61b3324 100644
--- a/skip/zynaddsubfx/zynaddsubfx.xibuild
+++ b/skip/zynaddsubfx/zynaddsubfx.xibuild
@@ -1,21 +1,22 @@
#!/bin/sh
NAME="zynaddsubfx"
-DESC="Opensource software synthesizer capable of making a countless number of instruments."
+DESC="fully featured open source software synthesizer"
-MAKEDEPS="cmake jack fltk portaudio mxml sndio bash-completion liblo libxpm"
-DEPS="less "
+MAKEDEPS="cmake pkg-config zlib mxml ntk libx11 liblo fftw libxpm pulseaudio jack alsa-lib doxygen fltk "
-PKG_VER=3.0.5
-SOURCE="https://downloads.sourceforge.net/project/zynaddsubfx/zynaddsubfx/$PKG_VER/zynaddsubfx-$PKG_VER.tar.bz2"
+PKG_VER=3.0.6
+SOURCE="git://git.code.sf.net/p/zynaddsubfx/code/"
ADDITIONAL="
cmake-build-type-none.patch
fix-bogus-strstr.patch
fix-memset.patch
"
+
prepare () {
+ git submodule init
+ git submodule update
apply_patches
- sed -e '/-DASM_F2I_YES/d' -i src/CMakeLists.txt
sed -e 's/COMMAND.*lv2-ttl-generator/COMMAND lv2-ttl-generator/g' -i \
src/Plugin/AlienWah/CMakeLists.txt \
@@ -37,15 +38,12 @@ prepare () {
build () {
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- -DDefaultOutput=jack \
- -DDefaultInput=jack \
- -DGuiModule=fltk
- cmake --build build &&
- make -C ExternalPrograms/Spliter &&
- make -C ExternalPrograms/Controller
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DGuiModule=ntk
+ cmake --build build
}
+
package () {
DESTDIR="$PKG_DEST" cmake --install build
}