aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-05-06 11:49:01 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-06-12 16:07:28 +0200
commit89e86ab5a01e08fd689416119723aabaa9d063b2 (patch)
tree47e7a5df618dc029a1ce969f3776eb6430af6949 /eclass
parentkde5.eclass: Use eqawarn for KDE_TEST=forceoptional-recursive (diff)
downloadkde-89e86ab5a01e08fd689416119723aabaa9d063b2.tar.gz
kde-89e86ab5a01e08fd689416119723aabaa9d063b2.tar.bz2
kde-89e86ab5a01e08fd689416119723aabaa9d063b2.zip
kde5.eclass: Use BDEPEND
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5.eclass12
1 files changed, 8 insertions, 4 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 586aad4b04..0462b1caab 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -199,7 +199,7 @@ esac
case ${KDE_AUTODEPS} in
false) ;;
*)
- DEPEND+=" $(add_frameworks_dep extra-cmake-modules)"
+ BDEPEND+=" $(add_frameworks_dep extra-cmake-modules)"
RDEPEND+=" >=kde-frameworks/kf-env-4"
COMMONDEPEND+=" $(add_qt_dep qtcore)"
@@ -230,7 +230,7 @@ case ${KDE_DESIGNERPLUGIN} in
false) ;;
*)
IUSE+=" designer"
- DEPEND+=" designer? ( $(add_frameworks_dep kdesignerplugin) )"
+ BDEPEND+=" designer? ( $(add_frameworks_dep kdesignerplugin) )"
esac
case ${KDE_EXAMPLES} in
@@ -244,7 +244,7 @@ case ${KDE_HANDBOOK} in
false) ;;
*)
IUSE+=" +handbook"
- DEPEND+=" handbook? ( $(add_frameworks_dep kdoctools) )"
+ BDEPEND+=" handbook? ( $(add_frameworks_dep kdoctools) )"
;;
esac
@@ -253,7 +253,7 @@ case ${KDE_QTHELP} in
*)
IUSE+=" doc"
COMMONDEPEND+=" doc? ( $(add_qt_dep qt-docs) )"
- DEPEND+=" doc? (
+ BDEPEND+=" doc? (
$(add_qt_dep qthelp)
>=app-doc/doxygen-1.8.13-r1
)"
@@ -276,6 +276,10 @@ case ${KDE_SELINUX_MODULE} in
;;
esac
+case ${EAPI} in
+ 6) DEPEND+=" ${BDEPEND}" ;;
+esac
+
DEPEND+=" ${COMMONDEPEND} dev-util/desktop-file-utils"
RDEPEND+=" ${COMMONDEPEND}"
unset COMMONDEPEND