summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c79b3f4f9431ed2f61737a671cabed338cb62d8b (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: j-james <jj@j-james.me>
pkgname=ensembles
_pkgname=Ensembles
pkgver=0.0.17
pkgrel=5
pkgdesc="A digital arranger workstation powered by FluidSynth for GNOME"
arch=('x86_64')
url='https://github.com/SubhadeepJasu/Ensembles'
license=('GPL3')
depends=(
	'gtk3'
	'granite'
	'glib2'
	'libhandy'
	'portmidi'
	'fluidsynth'
	'suil'
	'soundfont-ensembles'
)
optdepends=(
	'gtk-theme-elementary: for dark theme support'
	'lv2: support for lv2 virtual instruments and effects plugins'
	'lilv: allows Ensembles to act as a lv2 host'
)
makedepends=('git' 'cmake' 'meson' 'ninja' 'vala')
source=("$_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('4801eed59d0801e223ca8c9c7294f6128083161d09e9dc438ca345255ffc0952')

build() {
	cd "$_pkgname-$pkgver"
	meson build --prefix=/usr
	ninja -C build
}

package() {
	cd "$_pkgname-$pkgver"
	DESTDIR="$pkgdir/" ninja -C build install
	ln -sv com.github.subhadeepjasu.ensembles "$pkgdir/usr/bin/ensembles"
}