summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b07d38f9178078e3bcb04c516781b54289846b9 (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
# Maintainer: Milk Brewster < milk on freenode >
# Maintainer: Lukas Sabota <lukas _at_ lwsabota _dot_ com>
# Contributer: Lukas Sabota <lukas _at_ lwsabota _dot_ com>
pkgname=sid-vst-git
_gitbase=SID
pkgver=r35.577954f
pkgrel=1
pkgdesc="Emulates MOS Technology SID audio chip (used in Commodore 64) as a VST"
arch=('i686' 'x86_64')
url="http://socalabs.com/"
license=('LGPL')
groups=('socalabs-vst-suite')
depends=('mesa' 'ttf-ms-fonts')
makedepends=('git')
source=('SID::git+https://github.com/FigBug/SID.git'
                'dRowAudio::git+https://github.com/FigBug/drowaudio.git#commit=3a1e6eb75681b166c055c501a2ed4a8df8a44df0'
                'slCommon::git+https://github.com/FigBug/slCommon.git#commit=b49d31c4f2f131506fe5ac53f2ac6e47b3ee109b'
    'gin::git+https://github.com/FigBug/Gin'
                'JUCE::git+https://github.com/WeAreROLI/JUCE.git#tag=5.3.2')
md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')

pkgver() {
        cd "$srcdir/$_gitbase"
        printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
        cd "$srcdir/$_gitbase"
        # Workaround for SSH-only configured submodule remotes
        cd modules
        rm -rf dRowAudio slCommon
  ln -s ../../slCommon ./

        cd "$srcdir/$_gitbase"
  cd plugin/JuceLibraryCode
  mv ../../../JUCE/modules/* .
  ln -s ../../../dRowAudio/module/dRowAudio dRowAudio
  ln -s ../../../gin/modules/gin gin
}

build() {
        cd "$srcdir/$_gitbase/plugin/Builds/LinuxMakefile"
        make
}

package() {
        install -D -m644 "$srcdir/$_gitbase/plugin/Builds/LinuxMakefile/build/$_gitbase.so" "$pkgdir/usr/lib/vst/$_gitbase.so"
      }