New comment by yopito on void-packages repository https://github.com/void-linux/void-packages/pull/41082#issuecomment-1445223784 Comment: hello, version 4.0.1 is building fine for me, basic usage too. with the template below. Feel free to reuse it for this PR: ``` pkgname=musescore version=4.0.1 revision=1 build_style=cmake configure_args="-DUSE_SYSTEM_FREETYPE=ON -DDOWNLOAD_SOUNDFONT=OFF -DBUILD_CRASHPAD_CLIENT=OFF -DINSTALL_GTEST=OFF -DMUSESCORE_BUILD_CONFIG=release" hostmakedepends="pkg-config qt5-qmake qt5-host-tools qt5-tools" makedepends="libsndfile-devel qt5-declarative-devel qt5-networkauth-devel qt5-quickcontrols2-devel qt5-xmlpatterns-devel qt5-svg-devel qt5-tools-devel qt5-x11extras-devel" depends="qt5-quickcontrols qt5-graphicaleffects qt5-quickcontrols2" short_desc="Create, play and print beautiful sheet music" maintainer="tibequadorian " license="GPL-3.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/refs/tags/v${version}.tar.gz ${_soundfont_url}/MuseScore_General.sf3 ${_soundfont_url}/MuseScore_General_License.md" checksum="35367bdf473571ed6fb5df6a8d07f56c730c4bce92030216d7fc44bbb884bbe6 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/" } post_install() { rm ${DESTDIR}/usr/bin/crashpad_handler # come from emebedded third-party rm -r ${DESTDIR}/usr/include/kddockwidgets rm -r ${DESTDIR}/usr/include/opus rm -r ${DESTDIR}/usr/lib/cmake/KDDockWidgets rm ${DESTDIR}/usr/lib/libopus.a rm ${DESTDIR}/usr/lib/libkddockwidgets.a ```