void-packages/srcpkgs/musescore/template

28 lines
1.1 KiB
Bash

# Template file for 'musescore'
pkgname=musescore
version=3.0.2
revision=1
wrksrc="MuseScore-${version}"
build_style=gnu-makefile
make_build_target="PREFIX=/usr release"
make_install_target="-C build.release install"
hostmakedepends="cmake pkg-config"
makedepends="jack-devel lame-devel libsndfile-devel portaudio-devel
portmidi-devel pulseaudio-devel qt5-declarative-devel qt5-script-devel
qt5-svg-devel qt5-tools-devel qt5-webengine-devel qt5-webchannel-devel
qt5-location-devel qt5-xmlpatterns-devel qt5-plugin-mysql qt5-plugin-odbc
qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
depends="qt5-plugin-sqlite"
short_desc="Create, play and print beautiful sheet music"
maintainer="Brian Olsen <bnolsen@comcast.net>"
license="GPL-2.0-or-later"
homepage="https://musescore.org/"
distfiles="https://github.com/musescore/MuseScore/archive/v${version}.tar.gz"
checksum=4e8a203f256b48d8be7937b70f0f36a87104ee8359c99d0456627a14a42e2d6b
nocross="genManual: cannot execute binary file: Exec format error"
pre_configure() {
sed -i -e "s/-lporttime//" mscore/CMakeLists.txt
}