diff options
| author | Johannes Huber <johu@gentoo.org> | 2016-05-19 16:49:31 +0200 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2016-05-19 16:49:31 +0200 |
| commit | d55a44acec333adb64ab1d1e44b849034b625929 (patch) | |
| tree | 5871490e76377489cc30504823d1121575e47d3d /eclass | |
| parent | 009482c0fa763fd2b51c9905bf3c7d969585e84e (diff) | |
| download | kde-d55a44acec333adb64ab1d1e44b849034b625929.tar.gz kde-d55a44acec333adb64ab1d1e44b849034b625929.tar.bz2 kde-d55a44acec333adb64ab1d1e44b849034b625929.zip | |
kde4-base.eclass: Sync with tree
Diffstat (limited to 'eclass')
| -rw-r--r-- | eclass/kde4-base.eclass | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index 9c91b838257..50c5fda075d 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -160,7 +160,7 @@ KDE_HANDBOOK="${KDE_HANDBOOK:-never}" # translations. (Mostly all kde ebuilds does not ship documentation # and translations in live ebuilds) if [[ ${KDE_BUILD_TYPE} == live && -z ${KDE_LINGUAS_LIVE_OVERRIDE} ]]; then - # Kdebase actualy provides the handbooks even for live stuff + # Kdebase actually provides the handbooks even for live stuff [[ ${KDEBASE} == kde-base ]] || KDE_HANDBOOK=never KDE_LINGUAS="" fi @@ -366,11 +366,14 @@ case ${KDE_HANDBOOK} in [[ ${PN} != kdelibs ]] && kderdepend+=" ${kdehandbookrdepend}" ;; optional) - if [[ ${PN} == kdesu ]] ; then - IUSE+=" handbook" - else - IUSE+=" +handbook" - fi + case ${PN} in + kcontrol | kdesu | knetattach) + _IUSE+=" handbook" + ;; + *) + IUSE+=" +handbook" + ;; + esac kdedepend+=" handbook? ( ${kdehandbookdepend} )" [[ ${PN} != kdelibs ]] && kderdepend+=" handbook? ( ${kdehandbookrdepend} )" ;; |
