mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
ecm.eclass: Drop KDE Applications 19.08.3 support
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
+1
-27
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: ecm.eclass
|
||||
@@ -218,27 +218,6 @@ case ${ECM_DESIGNERPLUGIN} in
|
||||
;;
|
||||
esac
|
||||
|
||||
# @ECLASS-VARIABLE: KDE_DESIGNERPLUGIN
|
||||
# @DESCRIPTION:
|
||||
# If set to "false", do nothing.
|
||||
# Otherwise, add "designer" to IUSE to toggle build of designer plugins
|
||||
# and add the necessary BDEPEND.
|
||||
# TODO: drop after KDE Applications 19.08.3 removal
|
||||
: ${KDE_DESIGNERPLUGIN:=false}
|
||||
case ${KDE_DESIGNERPLUGIN} in
|
||||
true)
|
||||
IUSE+=" designer"
|
||||
BDEPEND+="
|
||||
designer? ( >=kde-frameworks/kdesignerplugin-${KFMIN}:${KFSLOT} )
|
||||
"
|
||||
;;
|
||||
false) ;;
|
||||
*)
|
||||
eerror "Unknown value for \${KDE_DESIGNERPLUGIN}"
|
||||
die "Value ${KDE_DESIGNERPLUGIN} is not supported"
|
||||
;;
|
||||
esac
|
||||
|
||||
case ${ECM_EXAMPLES} in
|
||||
true)
|
||||
IUSE+=" examples"
|
||||
@@ -545,11 +524,6 @@ ecm_src_configure() {
|
||||
cmakeargs+=( -DBUILD_DESIGNERPLUGIN=$(usex designer) )
|
||||
fi
|
||||
|
||||
# TODO: drop after KDE Applications 19.08.3 removal
|
||||
if in_iuse designer && [[ ${KDE_DESIGNERPLUGIN} != false ]] ; then
|
||||
cmakeargs+=( $(cmake_use_find_package designer KF5DesignerPlugin) )
|
||||
fi
|
||||
|
||||
if [[ ${ECM_QTHELP} = true ]]; then
|
||||
cmakeargs+=( -DBUILD_QCH=$(usex doc) )
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user