summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/kde5.eclass27
1 files changed, 1 insertions, 26 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 54c3e3de3b9..0731fd84b2f 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -114,13 +114,6 @@ fi
# subdirectories that need to be present for a successful build.
: ${KDE_PIM_KEEP_SUBDIR:=}
-# @ECLASS-VARIABLE: KDE_PIM_KONTACTPLUGIN
-# @DESCRIPTION:
-# This variable is used when building a split package from KMNAME="kdepim".
-# If set to "true", add "+kontact" to IUSE and add the appropriate dependency.
-# If set to "false", find plugin subdir and remove it from build.
-: ${KDE_PIM_KONTACTPLUGIN:=false}
-
# @ECLASS-VARIABLE: KDE_PUNT_BOGUS_DEPS
# @DESCRIPTION:
# If set to "false", do nothing.
@@ -230,14 +223,6 @@ case ${KDE_HANDBOOK} in
;;
esac
-case ${KDE_PIM_KONTACTPLUGIN} in
- true)
- IUSE+=" +kontact"
- DEPEND+=" $(add_kdeapps_dep kontactinterface)"
- ;;
- *) ;;
-esac
-
case ${KDE_TEST} in
false) ;;
*)
@@ -566,7 +551,7 @@ kde5_src_prepare() {
sed -e "/find_package(KF5/ s/ REQUIRED//" \
-e "/find_package(Qt5 / s/ REQUIRED/ OPTIONAL_COMPONENTS/" \
-i CMakeLists.txt || die "Failed to make dependencies optional"
- # FIXME: try to push these down into subdirs @upstream
+
# AkonadiSearch: kaddressbook, knotes, kdepim (kmail, korganizer)
# Grantlee: akregator, kaddressbook, knotes, kdepim (grantleeeditor, kmail, kontact)
sed -e "/set_package_properties(KF5AkonadiSearch/ s/ REQUIRED/ OPTIONAL/" \
@@ -607,16 +592,6 @@ kde5_src_prepare() {
fi
done
popd > /dev/null || die
-
- # disable build of kontactplugin in split kdepim packages
- if ! use_if_iuse kontact ; then
- for x in $(find ./ -name CMakeLists.txt -exec grep -l "add_subdirectory.*kontactplugin" "{}" ";"); do
- einfo "Disabling kontactplugin in: ${x}"
- pushd $(dirname "${x}") > /dev/null || die
- cmake_comment_add_subdirectory kontactplugin
- popd > /dev/null || die
- done
- fi
fi
}