summaryrefslogtreecommitdiff
path: root/repo/fluidsynth/fluidsynth.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-03 13:15:00 +0100
committerdavidovski <david@davidovski.xyz>2022-06-03 13:15:00 +0100
commit2e4eddedb755f0c0f88450b1fc1d8b0830132a71 (patch)
treeedb0ddeb32913bfbfb0a99c3c43e75f3a2f13d8d /repo/fluidsynth/fluidsynth.xibuild
parent66c326b6d65388e9f1003715ad9675505f01f9d2 (diff)
added ardour
Diffstat (limited to 'repo/fluidsynth/fluidsynth.xibuild')
-rw-r--r--repo/fluidsynth/fluidsynth.xibuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/fluidsynth/fluidsynth.xibuild b/repo/fluidsynth/fluidsynth.xibuild
new file mode 100644
index 0000000..f867527
--- /dev/null
+++ b/repo/fluidsynth/fluidsynth.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="fluidsynth"
+DESC="A real-time software synthesizer based on the SoundFont 2 specifications"
+
+MAKEDEPS="alsa-lib dbus glib jack 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
+}
+