blob: 40f958572c8075f1bebe441ce8ea21a48e52c9b9 (
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
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=fluidsynth
pkgver=2.1.1
pkgrel=0
arch="all"
url="http://www.fluidsynth.org"
pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
license="LGPL-2.1-or-later"
depends_dev="glib-dev libsndfile-dev alsa-lib-dev pulseaudio-dev readline-dev dbus-dev"
makedepends="$depends_dev cmake doxygen graphviz"
source="$pkgname-$pkgver.tar.gz::https://github.com/fluidsynth/fluidsynth/archive/v$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
build() {
cmake -B "$builddir"/build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth
make -C build
}
check() {
make -C build -k check
}
package() {
DESTDIR="$pkgdir" make -C build install
}
sha512sums="f8776c59aa0aa4a25fe3c38973c994e8608f8fad8a2e478db0d0232d4c787983dfdcba200c558cd810e892930b50184af4bc4a7f3c98ec5c38e147fd715e51b8 fluidsynth-2.1.1.tar.gz"
|