diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-11-17 00:23:24 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-12-12 18:31:49 +0100 |
commit | db63a791cd267d8c5a44c55931a5ed77e047a6db (patch) | |
tree | b5f3d94ea66b56a975637328348cda844f96b519 /eclass/ecm.eclass | |
parent | kde.org.eclass: Fix DESCRIPTION tags (diff) | |
download | gentoo-db63a791cd267d8c5a44c55931a5ed77e047a6db.tar.gz gentoo-db63a791cd267d8c5a44c55931a5ed77e047a6db.tar.bz2 gentoo-db63a791cd267d8c5a44c55931a5ed77e047a6db.zip |
ecm.eclass: Drop obsolete kde5*.eclass porting clues
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
(cherry picked from commit ce04d25f26dbaf4a150be16df96beb3f3c1ed215)
Diffstat (limited to 'eclass/ecm.eclass')
-rw-r--r-- | eclass/ecm.eclass | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index 8d358a91f989..c763957bf893 100644 --- a/eclass/ecm.eclass +++ b/eclass/ecm.eclass @@ -19,13 +19,6 @@ # # This eclass's phase functions are not intended to be mixed and matched, so if # any phase functions are overridden the version here should also be called. -# -# Porting from kde5.class -# - Convert all add_*_dep dependency functions to regular dependencies -# - Manually set LICENSE -# - Manually set SLOT -# - Rename vars and function names as needed, see kde5.eclass PORTING comments -# - Instead of FRAMEWORKS_MINIMAL, define KFMIN in ebuilds and use it for deps if [[ -z ${_ECM_ECLASS} ]]; then _ECM_ECLASS=1 @@ -267,24 +260,6 @@ DEPEND+=" ${COMMONDEPEND}" RDEPEND+=" ${COMMONDEPEND}" unset COMMONDEPEND -# @FUNCTION: _ecm_banned_var -# @INTERNAL -# @DESCRIPTION: -# Banned kde5*.eclass variables are banned. -_ecm_banned_var() { - die "$1 is banned. use $2 instead." -} - -if [[ -z ${_KDE5_ECLASS} ]] ; then - [[ -n ${KDE_DEBUG} ]] && _ecm_banned_var KDE_DEBUG ECM_DEBUG - [[ -n ${KDE_EXAMPLES} ]] && _ecm_banned_var KDE_EXAMPLES ECM_EXAMPLES - [[ -n ${KDE_HANDBOOK} ]] && _ecm_banned_var KDE_HANDBOOK ECM_HANDBOOK - [[ -n ${KDE_DOC_DIR} ]] && _ecm_banned_var KDE_DOC_DIR ECM_HANDBOOK_DIR - [[ -n ${KDE_PO_DIRS} ]] && _ecm_banned_var KDE_PO_DIRS ECM_PO_DIRS - [[ -n ${KDE_QTHELP} ]] && _ecm_banned_var KDE_QTHELP ECM_QTHELP - [[ -n ${KDE_TEST} ]] && _ecm_banned_var KDE_TEST ECM_TEST -fi - # @ECLASS-VARIABLE: KDE_GCC_MINIMAL # @DEFAULT_UNSET # @DESCRIPTION: |