diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-12-07 15:20:10 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-12-07 15:20:20 +0100 |
commit | f9c25cca83aeb03589de794fd04804f330b09ead (patch) | |
tree | 72ee23f55c54c6a568b645336a8c21bd344b17f7 /media-sound | |
parent | lxqt-base/lxqt-notificationd: drop 2.1.0 (diff) | |
download | gentoo-f9c25cca83aeb03589de794fd04804f330b09ead.tar.gz gentoo-f9c25cca83aeb03589de794fd04804f330b09ead.tar.bz2 gentoo-f9c25cca83aeb03589de794fd04804f330b09ead.zip |
media-sound/rosegarden: bump to 24.12
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
4 files changed, 100 insertions, 0 deletions
diff --git a/media-sound/rosegarden/Manifest b/media-sound/rosegarden/Manifest index e83bc2b196b8..721ab5144072 100644 --- a/media-sound/rosegarden/Manifest +++ b/media-sound/rosegarden/Manifest @@ -1 +1,2 @@ DIST rosegarden-24.06.tar.xz 5638668 BLAKE2B 82218675b9bf124ae2d5a1355b53b93ce7f8ceaeef0fe498038427f5248cf8cc687b1a34eca839f784eced496c9208ab8bca6c20821f6edd04238404ffc663b5 SHA512 345e6498dbed3bcefb6a8bca9b0f799ffb6c2031802901d4e649a764a7727f06fcbda5ef5e8e4375dcf0a6fac250419ac1e8f709767583564becf98af8dffdce +DIST rosegarden-24.12.tar.xz 5737612 BLAKE2B e8976ef1c46d4e137ad78f762cc979363e66427b47760e8ee5e5813e89fa68349d1cc541223c980b6e3972b2d55d33bc8cc2de77d61f95b903f897626be1571e SHA512 dd948e2f9bd0fe11249c1e138afc79da10043664c85ea300f9050dd01e959be50f1056d5035f89b8b1f62fb58254890f6f03384eda546f8968cd42baf1153555 diff --git a/media-sound/rosegarden/files/rosegarden-24.12-missing-includes.patch b/media-sound/rosegarden/files/rosegarden-24.12-missing-includes.patch new file mode 100644 index 000000000000..25eb2ff4f071 --- /dev/null +++ b/media-sound/rosegarden/files/rosegarden-24.12-missing-includes.patch @@ -0,0 +1,20 @@ +--- a/src/base/Instrument.cpp ++++ b/src/base/Instrument.cpp +@@ -31,6 +31,7 @@ + #include <utility> // for std::pair + + #include <QtGlobal> // for Q_ASSERT() ++#include <QCoreApplication> + + namespace Rosegarden + { +--- a/src/base/MidiDevice.cpp ++++ b/src/base/MidiDevice.cpp +@@ -32,6 +32,7 @@ + #include <sstream> + + #include <QString> ++#include <QCoreApplication> + + namespace Rosegarden + { diff --git a/media-sound/rosegarden/files/rosegarden-24.12-parameter-declaration.patch b/media-sound/rosegarden/files/rosegarden-24.12-parameter-declaration.patch new file mode 100644 index 000000000000..429683d7321f --- /dev/null +++ b/media-sound/rosegarden/files/rosegarden-24.12-parameter-declaration.patch @@ -0,0 +1,11 @@ +--- a/src/gui/general/ActionData.cpp ++++ b/src/gui/general/ActionData.cpp +@@ -760,7 +760,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); diff --git a/media-sound/rosegarden/rosegarden-24.12.ebuild b/media-sound/rosegarden/rosegarden-24.12.ebuild new file mode 100644 index 000000000000..52eca96a7796 --- /dev/null +++ b/media-sound/rosegarden/rosegarden-24.12.ebuild @@ -0,0 +1,68 @@ +# 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" + "${FILESDIR}/${PN}-24.12-parameter-declaration.patch" + "${FILESDIR}/${PN}-24.12-missing-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 +} |