blob: 0c9d96fc8f1eadbabb528c5a775d72f9fa3aaa4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 perl-list-moreutils"
PKG_VER=1.3.0-alpha.1
SOURCE="https://github.com/LMMS/lmms.git"
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
}
|