2006-11-20 07:26:53 +10:00
|
|
|
# Description: A real-time software synthesizer.
|
2021-02-01 11:04:19 +00:00
|
|
|
# URL: https://www.fluidsynth.org/
|
2021-03-26 14:55:02 +00:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2018-03-04 10:39:58 +01:00
|
|
|
# Depends on: cmake glib
|
2021-03-26 14:55:02 +00:00
|
|
|
# Optional: jack-audio-connection-kit
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
name=fluidsynth
|
2022-09-10 19:52:42 +02:00
|
|
|
version=2.2.9
|
2006-11-14 09:01:22 +10:00
|
|
|
release=1
|
2019-09-26 19:37:48 +02:00
|
|
|
source=(https://github.com/FluidSynth/fluidsynth/archive/v$version/$name-$version.tar.gz)
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
build() {
|
2020-11-08 11:07:05 +00:00
|
|
|
cmake -S$name-$version -Bbuild -GNinja \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
2020-12-06 23:53:07 +00:00
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
2020-11-08 11:07:05 +00:00
|
|
|
-D LIB_SUFFIX= \
|
|
|
|
-Wno-dev
|
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2006-11-14 09:01:22 +10:00
|
|
|
}
|