void-packages/srcpkgs/lmms/template

32 lines
1.1 KiB
Bash

# Template file for 'lmms'
pkgname=lmms
version=1.2.2
revision=1
archs="~armv6*"
wrksrc=${pkgname}
build_style=cmake
configure_args="-DWANT_QT5=ON -DWANT_WEAKJACK=OFF -DWANT_CARLA=OFF"
hostmakedepends="pkg-config qt5-host-tools qt5-qmake extra-cmake-modules
fltk"
makedepends="SDL_sound-devel fltk-devel fluidsynth-devel jack-devel ladspa-sdk
lame-devel libsamplerate-devel libstk-devel portaudio-devel qt5-tools-devel
qt5-x11extras-devel redland-devel xcb-util-devel xcb-util-keysyms-devel
$(vopt_if sndio sndio-devel)"
depends="desktop-file-utils hicolor-icon-theme stk-data"
short_desc="Cross-platform music production software"
maintainer="Logen K. <logen@sudotask.com>"
license="GPL-2.0-or-later"
homepage="https://lmms.io/"
distfiles="https://github.com/LMMS/lmms/releases/download/v${version}/lmms_${version}.tar.xz"
checksum=b185507fb64ecfd8e31145135b58ab244b637f9efc09c4176caf70aa3cbaae1e
build_options="sndio"
build_options_default="sndio"
# No error for several warnings
CXXFLAGS="-Wno-deprecated-declarations -Wno-class-memaccess -Wno-format-truncation"
post_install() {
rm -f ${DESTDIR}/usr/lib/*.a
}