blob: 3cb4efe815bf405f7d2d1af0291af031feebf6e8 (
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
|
# Maintainer: Greg <galuise at giantg dot net>
# Contributer: Teteros <teteros at teknik dot io>
pkgname=airwindows-git
pkgver=r395.171fc8a1
pkgrel=1
pkgdesc="Airwindows plugins are modular, graphic-less, stripped-down, VST plugins for Mac and PC"
arch=(x86_64)
url="https://www.airwindows.com/"
license=(MIT)
groups=(vst-plugins pro-audio)
#makedepends=(git cmake steinberg-vst36)
makedepends=(git cmake vst2sdk)
provides=("${pkgname%-*}")
source=("git+https://github.com/${pkgname%-*}/${pkgname%-*}.git"
"https://raw.githubusercontent.com/magnetophon/airwindows/master/plugins/LinuxVST/include/vstsdk/CMakeLists.txt")
sha256sums=('SKIP' 'SKIP')
pkgver() {
cd "${pkgname%-*}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${pkgname%-*}/plugins/LinuxVST"
# Fix cmake build, see:
# https://github.com/airwindows/airwindows/pull/5
rm -f build/CMakeCache.txt
mkdir -p include/vstsdk/vst2.x build
cp -r /usr/src/vst2sdk/pluginterfaces include/vstsdk/pluginterfaces
cp -r /usr/src/vst2sdk/public.sdk/source/vst2.x/* include/vstsdk/
cp "${srcdir}/CMakeLists.txt" include/vstsdk/CMakeLists.txt
}
build() {
cd "${pkgname%-*}/plugins/LinuxVST/build"
cmake -DVSTSDK_ROOT=include/vstsdk -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -ffast-math" ..
make || return 1
}
package() {
cd "${pkgname%-*}/plugins/LinuxVST/build"
mkdir -p "${pkgdir}/usr/lib/vst/${pkgname%-*}"
cp ./*.so "${pkgdir}/usr/lib/vst/${pkgname%-*}"
}
|