From 580ffc3ce736b255ce3c93fcaf6d4e9a5432062c Mon Sep 17 00:00:00 2001 From: Wesley Chan Date: Sun, 15 Oct 2023 10:26:02 +0800 Subject: [PATCH] musescore: update to 4.1.1. --- ...0001-disable_google_crashpad_on_musl.patch | 10 +++++ srcpkgs/musescore/template | 45 +++++++++++++------ 2 files changed, 42 insertions(+), 13 deletions(-) create mode 100644 srcpkgs/musescore/patches/0001-disable_google_crashpad_on_musl.patch diff --git a/srcpkgs/musescore/patches/0001-disable_google_crashpad_on_musl.patch b/srcpkgs/musescore/patches/0001-disable_google_crashpad_on_musl.patch new file mode 100644 index 00000000000000..02da1e05306732 --- /dev/null +++ b/srcpkgs/musescore/patches/0001-disable_google_crashpad_on_musl.patch @@ -0,0 +1,10 @@ +--- a/SetupConfigure.cmake ++++ b/SetupConfigure.cmake +@@ -109,6 +109,7 @@ + message(WARNING "Not building unsupported chrashpad client on FreeBSD") + set(MUE_BUILD_CRASHPAD_CLIENT OFF) + endif() ++set(MUE_BUILD_CRASHPAD_CLIENT OFF) + + ########################################### + # CONFIGURE: VTest diff --git a/srcpkgs/musescore/template b/srcpkgs/musescore/template index 1967a35a55e61b..e6672a55a3e34e 100644 --- a/srcpkgs/musescore/template +++ b/srcpkgs/musescore/template @@ -1,18 +1,33 @@ # Template file for 'musescore' pkgname=musescore -version=3.6.2 +version=4.1.1 revision=1 -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" +build_style=cmake +hostmakedepends="cmake pkg-config qt5-host-tools qt5-qmake qt5-tools" +makedepends=" + jack-devel + lame-devel + libsndfile-devel + portaudio-devel + portmidi-devel + pulseaudio-devel + qt5-declarative-devel + qt5-location-devel + qt5-networkauth-devel + qt5-plugin-mysql + qt5-plugin-odbc + qt5-plugin-pgsql + qt5-plugin-sqlite + qt5-plugin-tds + qt5-quickcontrols2-devel + qt5-script-devel + qt5-svg-devel + qt5-tools-devel + qt5-x11extras-devel + qt5-xmlpatterns-devel + qt5-webchannel-devel +" +depends="qt5-graphicaleffects qt5-plugin-sqlite qt5-quickcontrols qt5-quickcontrols2" short_desc="Create, play and print beautiful sheet music" maintainer="tibequadorian " license="GPL-2.0-or-later" @@ -21,7 +36,7 @@ _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 +checksum="3e53ce88b98c08422c8f8dc8c71c6e31d1038c2b263649f6647de6fa4269ce9b 5b85b6c2c61d10b2b91cddd41efcce7b25cd31c8271d511c73afafbef20b6fa3 5ad8d737e13c7f01f5b9674872a82a92b4ba253603e8ed14b9db12293550b4b9" skip_extraction="MuseScore_General.sf3 MuseScore_General_License.md" @@ -30,3 +45,7 @@ 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/" } + +do_build() { + cmake -P build.cmake -DCMAKE_BUILD_TYPE=Release +}