summaryrefslogtreecommitdiff
path: root/repo/fluidsynth/fluidsynth.xibuild
blob: 35e081dc719fccb8239fdd238fcf2cc76aea58f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

NAME="fluidsynth"
DESC="A real-time software synthesizer based on the SoundFont 2 specifications"

MAKEDEPS="alsa-lib dbus glib libsndfile pulseaudio readline cmake doxygen graphviz"

PKG_VER=2.2.9
SOURCE="https://github.com/fluidsynth/fluidsynth/archive/v$PKG_VER/fluidsynth-v$PKG_VER.tar.gz"

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
}

package() {
	DESTDIR="$PKG_DEST" cmake --install build
}