blob: 582874e71704b0aa5102b3d1b78f4d52e8b75bee (
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
52
|
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
pkgname=stone-phaser
_plugin_uri="http://jpcima.sdf1.org/lv2/$pkgname"
pkgver=0.1.2
pkgrel=3
pkgdesc='A classic analog phaser effect LADSPA, LV2 and VST2 plugin'
arch=(x86_64 aarch64)
url='https://github.com/jpcima/stone-phaser'
license=(Boost)
depends=(cairo glibc gcc-libs)
makedepends=(libglvnd)
checkdepends=(lv2lint)
optdepends=(
'ladspa-host: for LADSPA plugin'
'lv2-host: for LV2 plugin'
'vst-host: for VST plugin'
)
groups=(ladspa-plugins lv2-plugins pro-audio vst-plugins)
_dpf_commit='05d91f5852f4bccfd2bce1d4d2e2b3036e29db03'
source=("https://github.com/jpcima/stone-phaser/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
"${pkgname}-Makefile.base.mk::https://raw.githubusercontent.com/DISTRHO/DPF/$_dpf_commit/Makefile.base.mk")
sha256sums=('cd19c588469125e4aff3add2a570b4b2d9dc98ef37ccc2785636a0b52df86ddf'
'ef890c65422c8c73ffea7687a45317689378ff2b0f3ccadd497ca1cdc77e08a4')
prepare() {
cd $pkgname-$pkgver/dpf
patch -N -r - -p 1 -i ../resources/patch/DPF-bypass.patch
cd ..
# Update DPF base makefile to fix arm64 build
cp -f "$srcdir"/$pkgname-Makefile.base.mk dpf/Makefile.base.mk
}
build() {
cd $pkgname-$pkgver
make
}
check() {
cd $pkgname-$pkgver
lv2lint -Mpack -q \
-s lv2_generate_ttl \
-t "Plugin Author Email" \
-t "UI Idle Interface" \
-I "bin/$pkgname.lv2/" "$_plugin_uri"
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" PREFIX=/usr install
}
|