summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Arndt2018-03-29 23:02:42 +0200
committerChristopher Arndt2018-03-29 23:02:42 +0200
commitde033cfe4c129ea6cae037379c78f6c30e0394ec (patch)
tree3f7c8c0020985494ed1793725dc41436d0e97378
downloadaur-tunefish4.tar.gz
New package 'tunefish4'
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD46
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4a282fb70b3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = tunefish4
+ pkgdesc = An additive wavetable-based synthesizer VST plugin
+ pkgver = 4.1.0
+ pkgrel = 1
+ url = http://www.tunefish-synth.com/
+ arch = x86_64
+ groups = vst-plugins
+ license = GPL3
+ depends = alsa-lib
+ depends = freetype2
+ depends = libglvnd
+ source = https://github.com/paynebc/tunefish/archive/RELEASE_4_1_0.tar.gz
+ sha256sums = 89e549acbdc4dc1f5bf094b6ee3968d8adb651b5078da4057f814617ca307b42
+
+pkgname = tunefish4
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..c4538fcaea9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+src/
+pkg/
+RELEASE_*.tar.gz
+tunefish4-*.tar.xz
+tunefish4-*.src.tar.gz
+.AURINFO
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c3585999785
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
+
+pkgname=tunefish4
+pkgver=4.1.0
+pkgrel=1
+pkgdesc="An additive wavetable-based synthesizer VST plugin"
+arch=('x86_64')
+url="http://www.tunefish-synth.com/"
+# See https://github.com/paynebc/tunefish/blob/master/COPYING
+license=("GPL3")
+groups=('vst-plugins')
+depends=('alsa-lib' 'freetype2' 'libglvnd')
+source=("https://github.com/paynebc/tunefish/archive/RELEASE_${pkgver//./_}.tar.gz")
+sha256sums=('89e549acbdc4dc1f5bf094b6ee3968d8adb651b5078da4057f814617ca307b42')
+
+
+prepare() {
+ cd "${srcdir}/tunefish-RELEASE_${pkgver//./_}/src/tunefish4"
+
+ msg2 "Fixing VST3 SDK include paths in JUCE sources..."
+ for file in \
+ JuceLibraryCode/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp \
+ JuceLibraryCode/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp \
+ JuceLibraryCode/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp; do
+ sed -i -e 's|public.sdk/source/vst2.x|vst36|g' "$file"
+ done
+}
+
+build() {
+ cd "${srcdir}/tunefish-RELEASE_${pkgver//./_}/src/tunefish4"
+
+ #~Projucer --resave Tunefish4.jucer
+ cd Builds/LinuxMakefile
+ export CXXFLAGS="${CXXFLAGS} -DHAVE_LROUND"
+ make
+}
+
+package() {
+ cd "${srcdir}/tunefish-RELEASE_${pkgver//./_}"
+
+ install -dm755 "${pkgdir}/usr/lib/vst/tf4programs"
+ install -m755 src/tunefish4/Builds/LinuxMakefile/build/Tunefish4.so "${pkgdir}/usr/lib/vst"
+ install -m644 "patches/tf4programs/"* "${pkgdir}/usr/lib/vst/tf4programs"
+}
+
+# vim:set ts=2 sw=2 et: