void-packages/srcpkgs/lmms/template

30 lines
1.1 KiB
Bash

# Template file for 'lmms'
pkgname=lmms
version=1.2.1
revision=5
archs="~armv6*"
build_style=cmake
configure_args="-DWANT_QT5=ON -DWANT_WEAKJACK=OFF"
hostmakedepends="pkg-config qt5-host-tools qt5-qmake extra-cmake-modules"
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=5a6d1e82b00a7f54ffb8cf52eff2e0b3ff87cadbe5691917edebe51f64c26ae8
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
}