git: 13a8d00c090c - main - audio/musescore: update to 4.5.0, latest upstream

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Tue, 18 Mar 2025 14:12:03 UTC
The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=13a8d00c090c4c407055b703471f0fe4958569b6

commit 13a8d00c090c4c407055b703471f0fe4958569b6
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2025-03-18 14:00:35 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2025-03-18 14:12:01 +0000

    audio/musescore: update to 4.5.0, latest upstream
    
    Release notes at
            https://github.com/musescore/MuseScore/releases/tag/v4.5
---
 audio/musescore/Makefile                                 |  3 ++-
 audio/musescore/distinfo                                 |  6 +++---
 .../files/patch-src_framework_ui_graphicsapiprovider.cpp | 16 ----------------
 ...export_musicxml_internal_musicxml_musicxmlsupport.cpp | 11 -----------
 audio/musescore/pkg-plist                                |  8 ++++++++
 5 files changed, 13 insertions(+), 31 deletions(-)

diff --git a/audio/musescore/Makefile b/audio/musescore/Makefile
index b970655faa2a..d707af918d00 100644
--- a/audio/musescore/Makefile
+++ b/audio/musescore/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	${GH_PROJECT:tl}
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.4.4
+DISTVERSION=	4.5.0
 CATEGORIES=	audio
 
 MAINTAINER=	adridg@FreeBSD.org
@@ -30,6 +30,7 @@ USE_GL=		gl
 
 USE_GITHUB=	yes
 GH_PROJECT=	MuseScore
+GH_TAGNAME=	v4.5
 
 # Each release gets a subdir containing the distfiles for that release,
 # so hope that scanning the parent dir finds new ones.
diff --git a/audio/musescore/distinfo b/audio/musescore/distinfo
index 9f8ebf73bee2..6869ff7dd651 100644
--- a/audio/musescore/distinfo
+++ b/audio/musescore/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1737006473
-SHA256 (musescore-MuseScore-v4.4.4_GH0.tar.gz) = 13d78c168bbe43e6b9bb213d03cabc727615b7e638a4ef037ef819efd2b4109b
-SIZE (musescore-MuseScore-v4.4.4_GH0.tar.gz) = 143607247
+TIMESTAMP = 1742165250
+SHA256 (musescore-MuseScore-v4.5.0-v4.5_GH0.tar.gz) = 13807e7970bb7506d1e06ce32798b020609409c96f4f0b9ff3b41ced596e74fd
+SIZE (musescore-MuseScore-v4.5.0-v4.5_GH0.tar.gz) = 144425720
diff --git a/audio/musescore/files/patch-src_framework_ui_graphicsapiprovider.cpp b/audio/musescore/files/patch-src_framework_ui_graphicsapiprovider.cpp
deleted file mode 100644
index c1372a6dbe4a..000000000000
--- a/audio/musescore/files/patch-src_framework_ui_graphicsapiprovider.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/framework/ui/graphicsapiprovider.cpp.orig	2025-01-16 06:06:20 UTC
-+++ src/framework/ui/graphicsapiprovider.cpp
-@@ -56,6 +56,13 @@ static const std::vector<GraphicsApiProvider::Api > AL
- };
- #endif
- 
-+#ifdef Q_OS_FREEBSD
-+static const std::vector<GraphicsApiProvider::Api > ALLOWED_APIS = {
-+    GraphicsApiProvider::OpenGL,
-+    GraphicsApiProvider::Software
-+};
-+#endif
-+
- static const std::vector<std::string> BAD_MESSAGES = {
-     "Failed to build graphics pipeline state",
-     "Failed to create RHI",
diff --git a/audio/musescore/files/patch-src_importexport_musicxml_internal_musicxml_musicxmlsupport.cpp b/audio/musescore/files/patch-src_importexport_musicxml_internal_musicxml_musicxmlsupport.cpp
deleted file mode 100644
index b76ae6b69e69..000000000000
--- a/audio/musescore/files/patch-src_importexport_musicxml_internal_musicxml_musicxmlsupport.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/importexport/musicxml/internal/musicxml/musicxmlsupport.cpp.orig	2024-12-11 12:43:18 UTC
-+++ src/importexport/musicxml/internal/musicxml/musicxmlsupport.cpp
-@@ -36,6 +36,8 @@
- 
- #include "log.h"
- 
-+#include <QXmlStreamReader>
-+
- using AccidentalType = mu::engraving::AccidentalType;
- using SymId = mu::engraving::SymId;
- 
diff --git a/audio/musescore/pkg-plist b/audio/musescore/pkg-plist
index 31cb531dd0e5..d59461f0ca3e 100644
--- a/audio/musescore/pkg-plist
+++ b/audio/musescore/pkg-plist
@@ -29,6 +29,9 @@ share/icons/hicolor/96x96/apps/mscore.png
 %%DATADIR%%/autobotscripts/steps/NoteInput.js
 %%DATADIR%%/autobotscripts/steps/Palette.js
 %%DATADIR%%/autobotscripts/steps/Score.js
+%%DATADIR%%/extensions/batch_example/configure.qml
+%%DATADIR%%/extensions/batch_example/manifest.json
+%%DATADIR%%/extensions/batch_example/processing.js
 %%DATADIR%%/extensions/colornotes/color_notes.png
 %%DATADIR%%/extensions/colornotes/main.js
 %%DATADIR%%/extensions/colornotes/manifest.json
@@ -226,6 +229,11 @@ share/icons/hicolor/96x96/apps/mscore.png
 %%DATADIR%%/plugins/tuning_modal/modal_tuning.png
 %%DATADIR%%/sound/MS Basic.sf3
 %%DATADIR%%/sound/MS Basic_License.md
+%%DATADIR%%/styles/Modified Stave Notation/16mm_MSN.mss
+%%DATADIR%%/styles/Modified Stave Notation/18mm_MSN.mss
+%%DATADIR%%/styles/Modified Stave Notation/20mm_MSN.mss
+%%DATADIR%%/styles/Modified Stave Notation/22mm_MSN.mss
+%%DATADIR%%/styles/Modified Stave Notation/25mm_MSN.mss
 %%DATADIR%%/styles/MuseJazz.mss
 %%DATADIR%%/styles/cchords_muse.xml
 %%DATADIR%%/styles/cchords_nrb.xml