commit:     5f22c1b4502539bd991531982458f646188f6df8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 17 07:36:49 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 07:37:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f22c1b4

media-sound/rosegarden: avoid automagic gtk+:2

We don't want this anyway (we built w/ Qt6) but it also crashes at runtime,
so kill it.

Bug: https://bugs.gentoo.org/957755
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../rosegarden/{rosegarden-25.06.ebuild => rosegarden-25.06-r1.ebuild}  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/media-sound/rosegarden/rosegarden-25.06.ebuild 
b/media-sound/rosegarden/rosegarden-25.06-r1.ebuild
similarity index 93%
rename from media-sound/rosegarden/rosegarden-25.06.ebuild
rename to media-sound/rosegarden/rosegarden-25.06-r1.ebuild
index c13dcf7e7daa..d3b498493064 100644
--- a/media-sound/rosegarden/rosegarden-25.06.ebuild
+++ b/media-sound/rosegarden/rosegarden-25.06-r1.ebuild
@@ -50,6 +50,8 @@ src_prepare() {
 src_configure() {
        local mycmakeargs=(
                -DBUILD_TESTING=$(usex test)
+               # Avoid automagic gtk+:2 and runtime crash (bug #957755)
+               -DCMAKE_DISABLE_FIND_PACKAGE_GTK2=ON
                -DDISABLE_LIRC=$(usex !lirc)
                -DUSE_QT6=ON
        )

Reply via email to