33 lines
1.6 KiB
Bash
33 lines
1.6 KiB
Bash
# Template file for 'musescore'
|
|
pkgname=musescore
|
|
version=3.6.2
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
make_build_args="USE_SYSTEM_FREETYPE=ON BUILD_WEBENGINE=OFF
|
|
DOWNLOAD_SOUNDFONT=OFF MUSESCORE_BUILD_CONFIG=release"
|
|
make_install_args="-C build.release"
|
|
hostmakedepends="cmake pkg-config qt5-qmake qt5-host-tools qt5-tools"
|
|
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-webchannel-devel
|
|
qt5-location-devel qt5-xmlpatterns-devel qt5-plugin-mysql qt5-plugin-odbc
|
|
qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds qt5-quickcontrols2-devel"
|
|
depends="qt5-plugin-sqlite qt5-graphicaleffects qt5-quickcontrols2"
|
|
short_desc="Create, play and print beautiful sheet music"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://musescore.org/"
|
|
_soundfont_url="https://ftp.osuosl.org/pub/musescore/soundfont/MuseScore_General"
|
|
distfiles="https://github.com/musescore/MuseScore/archive/v${version}.tar.gz
|
|
${_soundfont_url}/MuseScore_General.sf3
|
|
${_soundfont_url}/MuseScore_General_License.md"
|
|
checksum="c37acc6d7a316f04925265d2d22a35d715888580e16eff846e9b621954133c45
|
|
5b85b6c2c61d10b2b91cddd41efcce7b25cd31c8271d511c73afafbef20b6fa3
|
|
5ad8d737e13c7f01f5b9674872a82a92b4ba253603e8ed14b9db12293550b4b9"
|
|
skip_extraction="MuseScore_General.sf3 MuseScore_General_License.md"
|
|
|
|
post_extract() {
|
|
cp "${XBPS_SRCDISTDIR}/${pkgname}-${version}/MuseScore_General.sf3" "${wrksrc}/share/sound/"
|
|
cp "${XBPS_SRCDISTDIR}/${pkgname}-${version}/MuseScore_General_License.md" "${wrksrc}/share/sound/"
|
|
}
|