mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-07 00:42:07 +01:00
33 lines
989 B
Plaintext
33 lines
989 B
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=fluidsynth
|
|
pkgver=2.0.6
|
|
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="c160e3d7c6ad62d5cc014642eb18a0f65eb90b5ad91db4049e1b45446034e989a4f9e5b805270967d4eaf47a6e2da0e81bdb5ae95500cc80d7021e8e61cd7107 fluidsynth-2.0.6.tar.gz"
|