blob: 3a891e4049652c63862c3a945aa5a099f3423d0a (
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
53
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=fluidsynth
pkgver=2.2.2
pkgrel=0
arch="all"
url="https://www.fluidsynth.org/"
pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
license="LGPL-2.1-or-later"
depends_dev="
alsa-lib-dev
dbus-dev
glib-dev
jack-dev
libsndfile-dev
pulseaudio-dev
readline-dev
"
makedepends="$depends_dev
cmake
doxygen
graphviz
"
source="https://github.com/fluidsynth/fluidsynth/archive/v$pkgver/fluidsynth-v$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
# tests are broken on s390x
case "$CARCH" in
s390x|mips64) options="!check"
esac
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth
cmake --build build
}
check() {
# ctest can't currently be used https://github.com/FluidSynth/fluidsynth/issues/881
make -C build check
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
208956e367725de4b1faeba7d4125a6a85bb4191ef0354a7087809e93d93b8986cdc30b78c135a743104851d15f3bb09776855fa02a686de0810dd14c97851c3 fluidsynth-v2.2.2.tar.gz
"
|