commit: 64e7057a6c24372debbeea60ca758f74df4eedce Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Fri Nov 13 16:03:19 2015 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Fri Nov 13 16:29:40 2015 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=64e7057a
kde-frameworks/kded: add man USE flag Upstream-commit: eb91ab667cb00e4e3cf5851f3fc9bbcd3957ac1a Package-Manager: portage-2.2.24 kde-frameworks/kded/kded-5.16.0.ebuild | 12 ++++++++++-- kde-frameworks/kded/kded-9999.ebuild | 12 ++++++++++-- kde-frameworks/kded/metadata.xml | 3 +++ 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/kde-frameworks/kded/kded-5.16.0.ebuild b/kde-frameworks/kded/kded-5.16.0.ebuild index ce9e45c..0975e7a 100644 --- a/kde-frameworks/kded/kded-5.16.0.ebuild +++ b/kde-frameworks/kded/kded-5.16.0.ebuild @@ -10,7 +10,7 @@ inherit kde5 DESCRIPTION="Central daemon of KDE workspaces" LICENSE="LGPL-2+" KEYWORDS=" ~amd64 ~x86" -IUSE="" +IUSE="+man" RDEPEND=" $(add_frameworks_dep kconfig) @@ -24,5 +24,13 @@ RDEPEND=" dev-qt/qtwidgets:5 " DEPEND="${RDEPEND} - $(add_frameworks_dep kdoctools) + man? ( $(add_frameworks_dep kdoctools) ) " + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package man KF5DocTools) + ) + + kde5_src_configure +} diff --git a/kde-frameworks/kded/kded-9999.ebuild b/kde-frameworks/kded/kded-9999.ebuild index 9174c8e..57622e3 100644 --- a/kde-frameworks/kded/kded-9999.ebuild +++ b/kde-frameworks/kded/kded-9999.ebuild @@ -10,7 +10,7 @@ inherit kde5 DESCRIPTION="Central daemon of KDE workspaces" LICENSE="LGPL-2+" KEYWORDS="" -IUSE="" +IUSE="+man" RDEPEND=" $(add_frameworks_dep kconfig) @@ -24,5 +24,13 @@ RDEPEND=" dev-qt/qtwidgets:5 " DEPEND="${RDEPEND} - $(add_frameworks_dep kdoctools) + man? ( $(add_frameworks_dep kdoctools) ) " + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package man KF5DocTools) + ) + + kde5_src_configure +} diff --git a/kde-frameworks/kded/metadata.xml b/kde-frameworks/kded/metadata.xml index a23f444..1f21592 100644 --- a/kde-frameworks/kded/metadata.xml +++ b/kde-frameworks/kded/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>kde</herd> + <use> + <flag name="man">Build and install man pages</flag> + </use> </pkgmetadata>