summaryrefslogtreecommitdiff
path: root/repo/lmms/lmms.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
committerdavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
commit873665024ebfaa761ee49b508a79db7178aeb778 (patch)
tree6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/lmms/lmms.xibuild
parent4445f6e15185f58dc599390ab74df3ca19b437b7 (diff)
added gnupg
Diffstat (limited to 'repo/lmms/lmms.xibuild')
-rw-r--r--repo/lmms/lmms.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/lmms/lmms.xibuild b/repo/lmms/lmms.xibuild
new file mode 100644
index 0000000..301f1ec
--- /dev/null
+++ b/repo/lmms/lmms.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+NAME="lmms"
+DESC="Cross-platform music production software"
+
+MAKEDEPS="alsa-lib cmake fftw libsamplerate libsndfile pulseaudio qt5-qttools qt5-qtx11extras qt5-qtbase sdl2 xcb-util xcb-util-keysyms opus fluidsynth libgig sndio"
+
+PKG_VER=1.2.2
+SOURCE="https://github.com/LMMS/lmms/releases/download/v$PKG_VER/lmms_$PKG_VER.tar.xz"
+
+build() {
+ cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=None \
+ -DWANT_QT5=On \
+ -DWANT_PULSEAUDIO=On \
+ .
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$PKG_DEST" cmake --build build --target install
+}
+