commit:     cec29707624eea160b8828efb176de662256b6dc
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  6 21:25:02 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Dec  6 21:30:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec29707

kde-plasma/plasma-sdk: Set ECM_HANDBOOK=forceoptional

... and working around the non-standards use of kdoctools_create_manpage
outside doc/ subdirectory, see also pending MR:

https://invent.kde.org/plasma/plasma-sdk/-/merge_requests/133

Closes: https://bugs.gentoo.org/945980
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-plasma/plasma-sdk/plasma-sdk-6.2.4.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/kde-plasma/plasma-sdk/plasma-sdk-6.2.4.ebuild 
b/kde-plasma/plasma-sdk/plasma-sdk-6.2.4.ebuild
index cc14a8df81f8..873145db5aac 100644
--- a/kde-plasma/plasma-sdk/plasma-sdk-6.2.4.ebuild
+++ b/kde-plasma/plasma-sdk/plasma-sdk-6.2.4.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+ECM_HANDBOOK="forceoptional"
 ECM_TEST="true"
 KFMIN=6.6.0
 PVCUT=$(ver_cut 1-3)
@@ -40,3 +41,11 @@ RDEPEND="${DEPEND}
        >=dev-qt/qt5compat-${QTMIN}:6[qml]
        >=kde-frameworks/kirigami-${KFMIN}:6
 "
+
+src_prepare() {
+       # bug 945980
+       sed -e "s/^ *kdoctools_create_manpage.*(.*)/#& # disabled by USE 
!handbook/" \
+               -i {engineexplorer,kqml,plasmoidviewer}/CMakeLists.txt || die
+
+       ecm_src_prepare
+}

Reply via email to