From 9cc8533c28967439cf57e6d4d0cac95d53b5ac67 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 28 Oct 2022 03:30:59 +0100 Subject: added snes9x and torsocks --- repo/zynaddsubfx/zynaddsubfx.xibuild | 39 ++++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 6 deletions(-) (limited to 'repo/zynaddsubfx/zynaddsubfx.xibuild') diff --git a/repo/zynaddsubfx/zynaddsubfx.xibuild b/repo/zynaddsubfx/zynaddsubfx.xibuild index c730c5c..dea9ca1 100644 --- a/repo/zynaddsubfx/zynaddsubfx.xibuild +++ b/repo/zynaddsubfx/zynaddsubfx.xibuild @@ -6,18 +6,45 @@ 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" +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 's/COMMAND.*lv2-ttl-generator/COMMAND lv2-ttl-generator/g' -i \ + src/Plugin/AlienWah/CMakeLists.txt \ + src/Plugin/Chorus/CMakeLists.txt \ + src/Plugin/Distortion/CMakeLists.txt \ + src/Plugin/DynamicFilter/CMakeLists.txt \ + src/Plugin/Echo/CMakeLists.txt \ + src/Plugin/Phaser/CMakeLists.txt \ + src/Plugin/Reverb/CMakeLists.txt \ + src/Plugin/ZynAddSubFX/CMakeLists.txt + + sed -i -e 's;gcc ;${CC} ;' \ + -e 's;.fltk-config --cflags.;& ${CFLAGS};' \ + -e 's;.fltk-config --ldflags.;& ${LDFLAGS};' \ + ExternalPrograms/Spliter/Makefile \ + ExternalPrograms/Controller/Makefile +} build () { cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib \ - -DBUILD_SHARED_LIBS=True \ - -DBUILD_STATIC_LIBS=OFF - cmake --build build + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DGuiModule=ntk + cmake --build build } + package () { DESTDIR="$PKG_DEST" cmake --install build } -- cgit v1.2.1