# Contributor: Bart Ribbers # Maintainer: Bart Ribbers 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"