community/lmms to 1.2.2-7

This commit is contained in:
David Beauchamp 2021-12-29 10:37:42 -05:00
parent dc77c8e9bf
commit 16d761bc97

View file

@ -12,7 +12,7 @@
pkgname=lmms
pkgver=1.2.2
pkgrel=6
pkgrel=7
pkgdesc='The Linux MultiMedia Studio'
arch=(x86_64)
url="https://lmms.io"
@ -46,8 +46,9 @@ prepare() {
}
build() {
cd "${pkgname}-${pkgver}"
export LDFLAGS="${LDFLAGS}"
# prevent mangling of static libs with LTO
CXXFLAGS+=' -ffat-lto-objects'
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE='None' \
-DWANT_QT5=ON \
@ -58,7 +59,7 @@ build() {
-DOpenGL_GL_PREFERENCE=GLVND \
-W no-dev \
-B build \
-S .
-S "${pkgname}-${pkgver}"
make VERBOSE=1 -C build
}
@ -67,6 +68,5 @@ package() {
libogg.so libportaudio.so libpulse.so libstk-4.6.2.so libvorbis.so
libvorbisenc.so libvorbisfile.so libsamplerate.so)
cd "${pkgname}-${pkgver}"
make VERBOSE=1 DESTDIR="${pkgdir}" install -C build
}