blob: a45c862402f4983c15d42ab56a49eb26698859d0 (
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
|
# Maintainer: Mathias Buhr <napcode@aparatus.de>
pkgname=octasine
pkgver=0.9.0
pkgrel=1
pkgdesc='VST2 frequency modulation synthesizer written in Rust'
arch=('x86_64')
url='https://github.com/greatest-ape/OctaSine'
license=('GPL3')
groups=('pro-audio' 'vst-plugins')
depends=(
'fontconfig'
'freetype2'
'xcb-util-wm'
'libxcb'
'expat'
'libpng'
'harfbuzz'
'graphite'
'glib2'
'pcre'
)
makedepends=(
'rust'
)
source=(https://github.com/greatest-ape/OctaSine/archive/refs/tags/v${pkgver}.tar.gz)
sha256sums=('14628f5fdbf34c8041ab57117fc5b88ea2f7b5a1ea7b85e2a4e3cb2b1e11fbb6')
build() {
cd OctaSine-${pkgver}
cargo xtask bundle octasine --release --verbose --no-default-features --features "glow vst2"
}
package() {
mkdir -p ${pkgdir}/usr/lib/vst
cp ${srcdir}/OctaSine-${pkgver}/target/bundled/octasine.so ${pkgdir}/usr/lib/vst/OctaSine.so
chmod +x ${pkgdir}/usr/lib/vst/OctaSine.so
}
|