blob: 038e5a2ce1654a2e4b3f7e92330d66f642ec2bab (
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.0.9
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 \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth
make
}
check() {
make -k check
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="3cc88ed3e83b15d5b3f397f3d93bf85a03dda122b570b8b09e83e9a5d00be7fc0592b2f1088151a1284c6c9125c309efd030f0fb8cb160051863e1a2fea53467 fluidsynth-2.0.9.tar.gz"
|