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 0000000000000..3d8e0380abe54 --- /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 +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 cfeb1c1b97db8..8f73619ad53e8 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