blob: 18a36b3f16f1017241b685d947c8e76ddec42ff5 (
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.5
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
}
|