commit: 07f18e6a838d0847a0fae77a6718550d1e33b4f9 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Wed Nov 26 20:55:52 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Wed Nov 26 22:42:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f18e6a
media-video/subtitlecomposer: Fix build with Qt 6.10 Closes: https://bugs.gentoo.org/966626 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/subtitlecomposer-0.8.2-qt-6.10.patch | 26 ++++++++++++++++++++++ ...8.2.ebuild => subtitlecomposer-0.8.2-r1.ebuild} | 6 +++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/media-video/subtitlecomposer/files/subtitlecomposer-0.8.2-qt-6.10.patch b/media-video/subtitlecomposer/files/subtitlecomposer-0.8.2-qt-6.10.patch new file mode 100644 index 000000000000..3d8e0380abe5 --- /dev/null +++ b/media-video/subtitlecomposer/files/subtitlecomposer-0.8.2-qt-6.10.patch @@ -0,0 +1,26 @@ +From 1e11d53565ab6df3ba8329072e7b4b12f9f88d72 Mon Sep 17 00:00:00 2001 +From: Mladen Milinkovic <[email protected]> +Date: Mon, 13 Oct 2025 09:23:58 +0200 +Subject: [PATCH] Fix building with Qt 6.10 + +Fixes #111 +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 69615111..397cadce 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.16 FATAL_ERROR) + project(subtitlecomposer VERSION "0.8.2") + + if(QT_MAJOR_VERSION EQUAL 6) +- set(QT_EXTRA_COMPONENTS OpenGLWidgets Core5Compat) ++ set(QT_EXTRA_COMPONENTS OpenGLWidgets Core5Compat WidgetsPrivate) + set(QT_MIN_VERSION "6.0.0") + set(KF_MAJOR_VERSION "6") + set(KF_MIN_VERSION "5.240.0") +-- +GitLab + diff --git a/media-video/subtitlecomposer/subtitlecomposer-0.8.2.ebuild b/media-video/subtitlecomposer/subtitlecomposer-0.8.2-r1.ebuild similarity index 94% rename from media-video/subtitlecomposer/subtitlecomposer-0.8.2.ebuild rename to media-video/subtitlecomposer/subtitlecomposer-0.8.2-r1.ebuild index cfeb1c1b97db..8f73619ad53e 100644 --- a/media-video/subtitlecomposer/subtitlecomposer-0.8.2.ebuild +++ b/media-video/subtitlecomposer/subtitlecomposer-0.8.2-r1.ebuild @@ -4,8 +4,8 @@ EAPI=8 ECM_TEST="forceoptional" -KFMIN=6.9.0 -QTMIN=6.8.1 +KFMIN=6.16.0 +QTMIN=6.9.1 inherit ecm kde.org xdg DESCRIPTION="Text-based subtitles editor" @@ -48,6 +48,8 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( "${FILESDIR}/${P}-qt-6.10.patch" ) # bug #966626 + src_configure() { local mycmakeargs=( -DQT_MAJOR_VERSION=6
