git: f8bf7986df29 - main - audio/rosegarden: update to 22.06 (latest)

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Sat, 12 Nov 2022 20:10:04 UTC
The branch main has been updated by adridg:

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

commit f8bf7986df29195ba91d8117526f5402b8a73254
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2022-11-12 20:03:54 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2022-11-12 20:10:02 +0000

    audio/rosegarden: update to 22.06 (latest)
    
    Needs one source-level patch to get it to compile, different
    from what was suggested in the PR.
    
    PR:             266867
    Reported by:    tuc03516@gmail.com
---
 audio/rosegarden/Makefile                                   |  7 ++-----
 audio/rosegarden/distinfo                                   |  6 +++---
 audio/rosegarden/files/patch-src_gui_general_ActionData.cpp | 11 +++++++++++
 3 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/audio/rosegarden/Makefile b/audio/rosegarden/Makefile
index c2c3d8e6ac39..1c2be905974e 100644
--- a/audio/rosegarden/Makefile
+++ b/audio/rosegarden/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	rosegarden
-DISTVERSION=	21.06.1
+DISTVERSION=	22.06
 CATEGORIES=	audio
-# MASTER_SITES=	SF
-MASTER_SITES=	https://sourceforge.net/projects/${PORTNAME}/files/${PORTNAME}/21.06/
+MASTER_SITES=	SF
 
 MAINTAINER=	adridg@FreeBSD.org
 COMMENT=	General purpose music editor and sequencer suite
@@ -38,6 +37,4 @@ OPTIONS_DEFINE=		LIRC
 LIRC_LIB_DEPENDS=	liblirc_client.so:comms/lirc
 LIRC_CMAKE_ON=		-DENABLE_LIRC:BOOL=ON
 
-CMAKE_ON=		USE_QT5
-
 .include <bsd.port.mk>
diff --git a/audio/rosegarden/distinfo b/audio/rosegarden/distinfo
index 75554eb47345..a248b9eeda67 100644
--- a/audio/rosegarden/distinfo
+++ b/audio/rosegarden/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1636127921
-SHA256 (rosegarden-21.06.1.tar.bz2) = 87750dc0b55ae27e07acc4effdc25ae5c4f6ba4ccf81ac5112abb0fed211397a
-SIZE (rosegarden-21.06.1.tar.bz2) = 6479487
+TIMESTAMP = 1668269952
+SHA256 (rosegarden-22.06.tar.bz2) = 9024825155ebb1be8b4af567f3502026957398fdefd086e23fe399f1d033fadb
+SIZE (rosegarden-22.06.tar.bz2) = 6514502
diff --git a/audio/rosegarden/files/patch-src_gui_general_ActionData.cpp b/audio/rosegarden/files/patch-src_gui_general_ActionData.cpp
new file mode 100644
index 000000000000..da6ee1b53008
--- /dev/null
+++ b/audio/rosegarden/files/patch-src_gui_general_ActionData.cpp
@@ -0,0 +1,11 @@
+--- src/gui/general/ActionData.cpp.orig	2022-11-12 19:53:19 UTC
++++ src/gui/general/ActionData.cpp
+@@ -740,7 +740,7 @@ void ActionData::fillModel()
+         m_model->setItem(0, 3, item);
+         m_model->item(0, 3)->setEditable(false);
+         if (ainfo.global) {
+-            QVariant bg(QBrush(Qt::cyan));
++            QVariant bg{QBrush(Qt::cyan)};
+             for (int col=0; col<8; col++) {
+                 m_model->setData(m_model->index(0, col),
+                                  bg, Qt::BackgroundRole);