summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-06-07 08:57:34 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-06-07 08:57:46 +0200
commit3e24efd12cc0276a5763d9da5c8271ef91531beb (patch)
tree23281b94d8f22de071f4afa420b4259155b22b4f /media-sound/rosegarden
parentapp-editors/gvim: Stabilize 9.1.0366 sparc, #933697 (diff)
downloadgentoo-3e24efd12cc0276a5763d9da5c8271ef91531beb.tar.gz
gentoo-3e24efd12cc0276a5763d9da5c8271ef91531beb.tar.bz2
gentoo-3e24efd12cc0276a5763d9da5c8271ef91531beb.zip
media-sound/rosegarden: bump to 24.06
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/rosegarden')
-rw-r--r--media-sound/rosegarden/Manifest1
-rw-r--r--media-sound/rosegarden/files/rosegarden-24.06-includes.patch33
-rw-r--r--media-sound/rosegarden/rosegarden-24.06.ebuild66
3 files changed, 100 insertions, 0 deletions
diff --git a/media-sound/rosegarden/Manifest b/media-sound/rosegarden/Manifest
index f0068df0696d..20b43f8003c6 100644
--- a/media-sound/rosegarden/Manifest
+++ b/media-sound/rosegarden/Manifest
@@ -1 +1,2 @@
DIST rosegarden-23.12.tar.xz 5577476 BLAKE2B 7010657bdc3f159982b1f6eff83a5cbf1ca2c8300ccde786995645712471f31ed8b6ca1faa54e63748745de7731a29144a4144b59801d9c41bedfe4574ee4bdc SHA512 a51a5ddb1fe9c2ef0c2f7b16f8fbc4fd4fd727e7a3873bd744177a00188fa13d696fd800d38f0a67e16c33c3a98a8a924e72a4a6fa347ea68f1dd1cdf6492d24
+DIST rosegarden-24.06.tar.xz 5638668 BLAKE2B 82218675b9bf124ae2d5a1355b53b93ce7f8ceaeef0fe498038427f5248cf8cc687b1a34eca839f784eced496c9208ab8bca6c20821f6edd04238404ffc663b5 SHA512 345e6498dbed3bcefb6a8bca9b0f799ffb6c2031802901d4e649a764a7727f06fcbda5ef5e8e4375dcf0a6fac250419ac1e8f709767583564becf98af8dffdce
diff --git a/media-sound/rosegarden/files/rosegarden-24.06-includes.patch b/media-sound/rosegarden/files/rosegarden-24.06-includes.patch
new file mode 100644
index 000000000000..623622351fa7
--- /dev/null
+++ b/media-sound/rosegarden/files/rosegarden-24.06-includes.patch
@@ -0,0 +1,33 @@
+--- a/src/document/io/MusicXMLLoader.h
++++ b/src/document/io/MusicXMLLoader.h
+@@ -18,8 +18,7 @@
+ #ifndef RG_MUSICXMLLOADER_H
+ #define RG_MUSICXMLLOADER_H
+
+-
+-class QString;
++#include <QString>
+
+
+ namespace Rosegarden
+--- a/src/gui/studio/AudioPluginLV2GUIWindow.h
++++ b/src/gui/studio/AudioPluginLV2GUIWindow.h
+@@ -32,6 +32,8 @@
+ #include <string>
+ #include <vector>
+
++#include <QWidget>
++
+
+ namespace Rosegarden
+ {
+--- a/src/sound/LV2PluginDatabase.h
++++ b/src/sound/LV2PluginDatabase.h
+@@ -19,6 +19,7 @@
+ #include <QString>
+
+ #include <map>
++#include <vector>
+
+
+ namespace Rosegarden
diff --git a/media-sound/rosegarden/rosegarden-24.06.ebuild b/media-sound/rosegarden/rosegarden-24.06.ebuild
new file mode 100644
index 000000000000..3e3b4944de79
--- /dev/null
+++ b/media-sound/rosegarden/rosegarden-24.06.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 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"
+
+BDEPEND="
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+"
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ 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}
+ dev-qt/qttest:5
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-24.06-includes.patch"
+)
+
+src_prepare() {
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_LIRC=$(usex !lirc)
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ # bug 701682, tries to open network socket and fails.
+ local myctestargs=(
+ -E "(test_notationview_selection)"
+ )
+ virtx cmake_src_test
+}