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