commit:     b20e0b762ce67b0d93b904599d93bb464a373572
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 16 16:28:50 2025 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Oct 16 16:28:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b20e0b76

media-sound/rosegarden: bump to 25.06

Closes: https://bugs.gentoo.org/957534
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-sound/rosegarden/Manifest                    |  1 +
 .../files/rosegarden-25.06-missing-includes.patch  | 22 ++++++++
 media-sound/rosegarden/rosegarden-25.06.ebuild     | 65 ++++++++++++++++++++++
 3 files changed, 88 insertions(+)

diff --git a/media-sound/rosegarden/Manifest b/media-sound/rosegarden/Manifest
index c7a42c9d7c42..87f9a0fbe579 100644
--- a/media-sound/rosegarden/Manifest
+++ b/media-sound/rosegarden/Manifest
@@ -1 +1,2 @@
 DIST rosegarden-24.12.1.tar.xz 5738756 BLAKE2B 
5202a511c53bae267c347ff9197acfe4283987bbad3764393a0335bd7dad775a2042430d3f8226e24436ce15c03204312ce6dc123938f2cec33960c3eeba707d
 SHA512 
f732951162e816a2dde4805e519c9b99598edb543fbe01f819248454c23eb70293a74e92ad11a51ecdd4990bca1f111242f838b2e3259ca09cb4f9bf955b9b6a
+DIST rosegarden-25.06.tar.xz 5780672 BLAKE2B 
69f309337b4c0795d41c5afe97bf5129422bda7186484d52501512d8e3abb25b60e6811839ae4819c18c6d8af4a8587b7380f8e8919c3de64123241c9f5aa872
 SHA512 
4ce306c939e26f265e48a9ae90df32869b4530927dba9d1f7d017e089f7ff81a912d283dc80aa58f2ed3eacd4f05565d0a3663ece7795ed7c16b3a6753f04daf

diff --git 
a/media-sound/rosegarden/files/rosegarden-25.06-missing-includes.patch 
b/media-sound/rosegarden/files/rosegarden-25.06-missing-includes.patch
new file mode 100644
index 000000000000..d258156bce13
--- /dev/null
+++ b/media-sound/rosegarden/files/rosegarden-25.06-missing-includes.patch
@@ -0,0 +1,22 @@
+--- a/src/base/Pitch.h
++++ b/src/base/Pitch.h
+@@ -24,6 +24,8 @@
+ 
+ #include <string>
+ 
++#include <QObject>
++
+ 
+ namespace Rosegarden
+ {
+--- a/src/gui/editors/matrix/MatrixTool.h
++++ b/src/gui/editors/matrix/MatrixTool.h
+@@ -23,6 +23,8 @@
+ #include "gui/general/ActionFileClient.h"
+ #include "gui/general/AutoScroller.h"  // For FollowMode
+ 
++#include <QKeyEvent>
++
+ class QAction;
+ 
+ namespace Rosegarden

diff --git a/media-sound/rosegarden/rosegarden-25.06.ebuild 
b/media-sound/rosegarden/rosegarden-25.06.ebuild
new file mode 100644
index 000000000000..c13dcf7e7daa
--- /dev/null
+++ b/media-sound/rosegarden/rosegarden-25.06.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg virtualx
+
+DESCRIPTION="MIDI and audio sequencer and notation editor"
+HOMEPAGE="https://www.rosegardenmusic.com/";
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="lirc"
+RESTRICT="test" # there is a linking problem when tests are enabled: 
https://bugs.gentoo.org/957534
+
+BDEPEND="
+       dev-qt/qttools:6[linguist]
+       virtual/pkgconfig
+"
+RDEPEND="
+       dev-qt/qtbase:6[gui,network,widgets,xml]
+       media-libs/alsa-lib:=
+       >=media-libs/dssi-1.0.0:=
+       media-libs/ladspa-sdk:=
+       media-libs/liblo:=
+       media-libs/liblrdf:=
+       media-libs/libsamplerate:=
+       media-libs/libsndfile:=
+       sci-libs/fftw:3.0
+       sys-libs/zlib:=
+       virtual/jack
+       x11-libs/libSM:=
+       lirc? ( app-misc/lirc:= )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-24.06-includes.patch"
+       "${FILESDIR}/${PN}-24.12-parameter-declaration.patch"
+       "${FILESDIR}/${PN}-24.12-missing-includes.patch"
+       "${FILESDIR}/${PN}-25.06-missing-includes.patch"
+)
+
+src_prepare() {
+       cmake_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_TESTING=$(usex test)
+               -DDISABLE_LIRC=$(usex !lirc)
+               -DUSE_QT6=ON
+       )
+       cmake_src_configure
+}
+
+src_test() {
+       # bug 701682, tries to open network socket and fails.
+       local myctestargs=(
+               -E "(test_notationview_selection)"
+       )
+       virtx cmake_src_test
+}

Reply via email to