blob: 0d39ae10b12bfeb2b7cc2e0a9ca538cd87d93d9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
pkgname=tunefish4
pkgver=4.1.0
pkgrel=2
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"
"juce-pixel.patch")
sha256sums=('89e549acbdc4dc1f5bf094b6ee3968d8adb651b5078da4057f814617ca307b42'
'5569a557492a6a41bf5f0e6fa2d3ecabd02cf2e9859c96401d0a53eaefa2c7d4')
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
msg2 "Patching JUCE graphics..."
patch -p0 -N -i "${srcdir}/juce-pixel.patch"
}
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:
|