summaryrefslogtreecommitdiff
path: root/eclass/kde5.eclass
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-01-27 00:19:10 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-01-27 00:19:10 +1100
commita2bc47560788d337ca67c6d31981670885fa3a4a (patch)
tree1f75f6520562ad1a9a8d56422b0f3488c1572b4b /eclass/kde5.eclass
parentd562967cd86dff8b58ae39da46226e001d95bd62 (diff)
downloadkde-a2bc47560788d337ca67c6d31981670885fa3a4a.tar.gz
kde-a2bc47560788d337ca67c6d31981670885fa3a4a.tar.bz2
kde-a2bc47560788d337ca67c6d31981670885fa3a4a.zip
kde5.eclass: comment_add_subdirectory -> cmake_comment_add_subdirectory
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass22
1 files changed, 11 insertions, 11 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 27bebb4a74d..2bee51d718e 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -453,12 +453,12 @@ kde5_src_prepare() {
# only build examples when required
if ! use_if_iuse examples || ! use examples ; then
- comment_add_subdirectory examples
+ cmake_comment_add_subdirectory examples
fi
# only enable handbook when required
if ! use_if_iuse handbook ; then
- comment_add_subdirectory ${KDE_DOC_DIR}
+ cmake_comment_add_subdirectory ${KDE_DOC_DIR}
if [[ ${KDE_HANDBOOK} = forceoptional ]] ; then
punt_bogus_dep KF5 DocTools
@@ -476,7 +476,7 @@ kde5_src_prepare() {
rm -rf ${lang}
fi
if [[ -e CMakeLists.txt ]] ; then
- comment_add_subdirectory ${lang}
+ cmake_comment_add_subdirectory ${lang}
fi
fi
done
@@ -487,7 +487,7 @@ kde5_src_prepare() {
pushd ${KDE_DOC_DIR} > /dev/null || die
for lang in *; do
if ! has ${lang} ${LINGUAS} ; then
- comment_add_subdirectory ${lang}
+ cmake_comment_add_subdirectory ${lang}
fi
done
popd > /dev/null || die
@@ -498,7 +498,7 @@ kde5_src_prepare() {
# in frameworks, tests = manual tests so never build them
if [[ ${CATEGORY} = kde-frameworks ]]; then
- comment_add_subdirectory tests
+ cmake_comment_add_subdirectory tests
fi
case ${KDE_PUNT_BOGUS_DEPS} in
@@ -518,13 +518,13 @@ kde5_src_prepare() {
if [[ ${KDE_TEST} = forceoptional ]] ; then
punt_bogus_dep Qt5 Test
# if forceoptional, also cover non-kde categories
- comment_add_subdirectory autotests
- comment_add_subdirectory test
- comment_add_subdirectory tests
+ cmake_comment_add_subdirectory autotests
+ cmake_comment_add_subdirectory test
+ cmake_comment_add_subdirectory tests
elif [[ ${CATEGORY} = kde-frameworks || ${CATEGORY} = kde-plasma || ${CATEGORY} = kde-apps ]] ; then
- comment_add_subdirectory autotests
- comment_add_subdirectory test
- comment_add_subdirectory tests
+ cmake_comment_add_subdirectory autotests
+ cmake_comment_add_subdirectory test
+ cmake_comment_add_subdirectory tests
fi
fi
}