From d410868729ea226d293b833a5de65159b563e139 Mon Sep 17 00:00:00 2001 From: tibequadorian Date: Thu, 25 Feb 2021 22:17:41 +0100 Subject: [PATCH] musescore: update to 3.6.2. change maintainer enable cross builds disable qtwebengine by default --- .../use-system-qtwebengine-files.patch | 26 +++++++++++++++++++ srcpkgs/musescore/template | 13 +++------- 2 files changed, 30 insertions(+), 9 deletions(-) create mode 100644 srcpkgs/musescore/patches/use-system-qtwebengine-files.patch diff --git a/srcpkgs/musescore/patches/use-system-qtwebengine-files.patch b/srcpkgs/musescore/patches/use-system-qtwebengine-files.patch new file mode 100644 index 00000000000..3b15b6fec4d --- /dev/null +++ b/srcpkgs/musescore/patches/use-system-qtwebengine-files.patch @@ -0,0 +1,26 @@ +diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt +index 0cfba7814..9e241737a 100644 +--- main/CMakeLists.txt ++++ main/CMakeLists.txt +@@ -226,21 +226,6 @@ if (MINGW) + else (MINGW) + + if ( NOT MSVC ) +- ## install qwebengine core +- if (NOT APPLE AND USE_WEBENGINE) +- install(PROGRAMS +- ${QT_INSTALL_LIBEXECS}/QtWebEngineProcess +- DESTINATION bin +- ) +- install(DIRECTORY +- ${QT_INSTALL_DATA}/resources +- DESTINATION lib/qt5 +- ) +- install(DIRECTORY +- ${QT_INSTALL_TRANSLATIONS}/qtwebengine_locales +- DESTINATION lib/qt5/translations +- ) +- endif(NOT APPLE AND USE_WEBENGINE) + + set_target_properties ( + mscore diff --git a/srcpkgs/musescore/template b/srcpkgs/musescore/template index a853eedba5d..2c711aa90d0 100644 --- a/srcpkgs/musescore/template +++ b/srcpkgs/musescore/template @@ -3,13 +3,13 @@ # downloading in the build process. # https://ftp.osuosl.org/pub/musescore/soundfont/MuseScore_General/ pkgname=musescore -version=3.5.2 +version=3.6.2 revision=1 wrksrc="MuseScore-${version}" build_style=gnu-makefile make_build_args="PREFIX=/usr USE_SYSTEM_FREETYPE=ON MUSESCORE_BUILD_CONFIG=release" make_install_args="-C build.release" -hostmakedepends="cmake pkg-config" +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 @@ -17,20 +17,15 @@ makedepends="jack-devel lame-devel libsndfile-devel portaudio-devel 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="Brian Olsen " +maintainer="tibequadorian " license="GPL-2.0-or-later" homepage="https://musescore.org/" distfiles="https://github.com/musescore/MuseScore/archive/v${version}.tar.gz" -checksum=75b8e783edca9d23718770b3f715d95b88f64545e0372f4ccba58ab073cc7068 -nocross="genManual: cannot execute binary file: Exec format error" +checksum=c37acc6d7a316f04925265d2d22a35d715888580e16eff846e9b621954133c45 build_options="webengine" desc_option_webengine="Build with Qt5 WebEngine support" -if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then - build_options_default="webengine" -fi - if [ "$build_option_webengine" ]; then makedepends+=" qt5-webengine-devel" else