blob: 8bdba9c9d8719501b15979e895af2011741d8fef (
plain)
1 # Description: A real-time software synthesizer.
2 # URL: https://www.fluidsynth.org/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: cmake glib
5 # Optional: jack-audio-connection-kit
6
7 name=fluidsynth
8 version=2.2.3
9 release=1
10 source=(https://github.com/FluidSynth/fluidsynth/archive/v$version/$name-$version.tar.gz)
11
12 build() {
13 cmake -S$name-$version -Bbuild -GNinja \
14 -D CMAKE_INSTALL_PREFIX=/usr \
15 -D CMAKE_BUILD_TYPE=Release \
16 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
17 -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
18 -D LIB_SUFFIX= \
19 -Wno-dev
20 cmake --build build
21 DESTDIR=$PKG cmake --install build
22 }
|