summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-12-06 22:35:08 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-12-06 22:35:08 +0100
commit21e70d970ceb9489e78dc03e372235a113f6a606 (patch)
tree0a62d6162ba7bfa2752ae3135c9c82e8b6b1e08e
parent5327502a438ed0b2de80faf784c1d0ccc8ea44ff (diff)
downloadkde-21e70d970ceb9489e78dc03e372235a113f6a606.tar.gz
kde-21e70d970ceb9489e78dc03e372235a113f6a606.tar.bz2
kde-21e70d970ceb9489e78dc03e372235a113f6a606.zip
kde-plasma/plasma-sdk: Set ECM_HANDBOOK=forceoptional
... in 6.2, work 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 Bug: https://bugs.gentoo.org/945980 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-plasma/plasma-sdk/plasma-sdk-6.2.49.9999.ebuild9
-rw-r--r--kde-plasma/plasma-sdk/plasma-sdk-9999.ebuild1
2 files changed, 10 insertions, 0 deletions
diff --git a/kde-plasma/plasma-sdk/plasma-sdk-6.2.49.9999.ebuild b/kde-plasma/plasma-sdk/plasma-sdk-6.2.49.9999.ebuild
index 49b967bc625..97f2637748b 100644
--- a/kde-plasma/plasma-sdk/plasma-sdk-6.2.49.9999.ebuild
+++ b/kde-plasma/plasma-sdk/plasma-sdk-6.2.49.9999.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
+}
diff --git a/kde-plasma/plasma-sdk/plasma-sdk-9999.ebuild b/kde-plasma/plasma-sdk/plasma-sdk-9999.ebuild
index c8fa9d0d0d0..4815650a068 100644
--- a/kde-plasma/plasma-sdk/plasma-sdk-9999.ebuild
+++ b/kde-plasma/plasma-sdk/plasma-sdk-9999.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+ECM_HANDBOOK="forceoptional"
ECM_TEST="true"
KFMIN=9999
PVCUT=$(ver_cut 1-3)