blob: fe0effd60c93eb83333ef5fd12e5502bb37be489 (
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
|
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
pkgname=giada
pkgver=0.13.1
pkgrel=1
pkgdesc="A looper, drum machine, sequencer, live sampler and plugin host"
arch=('i686' 'x86_64')
url="http://www.giadamusic.com/"
license=('GPL3')
depends=('fltk' 'jansson' 'libpulse' 'libxpm' 'rtmidi')
makedepends=('steinberg-vst36')
source=("${pkgname}-${pkgver}-src.tar.gz::http://www.giadamusic.com/download/grab/source"
"$pkgname.desktop"
"$pkgname.png")
install="$pkgname.install"
md5sums=('f0f1497429149ff66721118c97e572c2'
'06238158680470ab01fbbeb33353e58e'
'f9b6e4233890720af50c536c4b2c92c0')
prepare() {
cd "$srcdir/$pkgname-$pkgver-src"
# src/deps/juce/juce_audio_processors/format_types/juce_VST3Headers.h
msg2 "Fixing VST3 SDK include paths in JUCE sources..."
for file in \
src/deps/juce/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp
do
sed -i -e 's|pluginterfaces/vst2.x/|vst36/pluginterfaces/vst2.x/|g' "$file"
done
}
build() {
cd "$srcdir/$pkgname-$pkgver-src"
# the rtmidi AUR package puts the RtMidi headers in /usr/include/rtmidi
export CXXFLAGS="$CXXFLAGS -I/usr/include/rtmidi"
./configure --prefix=/usr --target=linux --enable-vst
make
}
package() {
cd "$srcdir/$pkgname-$pkgver-src"
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/$pkgname.png" \
"$pkgdir/usr/share/pixmaps/$pkgname.png"
install -Dm644 "$srcdir/$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
}
|