commit:     3ba8e13364803f4831f879f0aec80741bdd9cb9a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 10 10:38:07 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Sep 10 11:08:34 2023 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=3ba8e133

kde-frameworks/kio: Set ECM_HANDBOOK=optional, ECM_HANDBOOK_DIR=docs

Upstream translations organisation has changed since commit
cd9341e9c5693512297c3cfc1714523096bd7771.
Moves handbook handling back into ecm.eclass and automatically fixes
missing BDEPEND=kde-frameworks/kdoctools as well.

See also: https://github.com/gentoo/gentoo/pull/32487

Thanks-to: Hanabishi
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-frameworks/kio/kio-5.9999.ebuild | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/kde-frameworks/kio/kio-5.9999.ebuild 
b/kde-frameworks/kio/kio-5.9999.ebuild
index 06276bb2c4..a58e122c3d 100644
--- a/kde-frameworks/kio/kio-5.9999.ebuild
+++ b/kde-frameworks/kio/kio-5.9999.ebuild
@@ -4,6 +4,8 @@
 EAPI=8
 
 ECM_DESIGNERPLUGIN="true"
+ECM_HANDBOOK="optional"
+ECM_HANDBOOK_DIR="docs"
 ECM_TEST="forceoptional"
 PVCUT=$(ver_cut 1-2)
 QTMIN=5.15.9
@@ -13,14 +15,12 @@ DESCRIPTION="Framework providing transparent file and data 
management"
 
 LICENSE="LGPL-2+"
 KEYWORDS=""
-IUSE="acl +handbook kerberos +kwallet X"
+IUSE="acl kerberos +kwallet X"
 
 # tests hang
 RESTRICT="test"
 
 RDEPEND="
-       dev-libs/libxml2
-       dev-libs/libxslt
        >=dev-qt/qtdbus-${QTMIN}:5
        >=dev-qt/qtdeclarative-${QTMIN}:5
        >=dev-qt/qtgui-${QTMIN}:5
@@ -54,7 +54,11 @@ RDEPEND="
                sys-apps/attr
                virtual/acl
        )
-       handbook? ( =kde-frameworks/kdoctools-${PVCUT}*:5 )
+       handbook? (
+               dev-libs/libxml2
+               dev-libs/libxslt
+               =kde-frameworks/kdoctools-${PVCUT}*:5
+       )
        kerberos? ( virtual/krb5 )
        kwallet? ( =kde-frameworks/kwallet-${PVCUT}*:5 )
        X? ( >=dev-qt/qtx11extras-${QTMIN}:5 )
@@ -69,7 +73,6 @@ src_configure() {
        local mycmakeargs=(
                -DKIO_NO_PUBLIC_QTCONCURRENT=ON
                $(cmake_use_find_package acl ACL)
-               $(cmake_use_find_package handbook KF5DocTools)
                $(cmake_use_find_package kerberos GSSAPI)
                $(cmake_use_find_package kwallet KF5Wallet)
                -DWITH_X11=$(usex X)

Reply via email to