diff options
author | 2019-12-15 17:25:25 +0100 | |
---|---|---|
committer | 2019-12-15 17:35:10 +0100 | |
commit | bdbb0dc675e5439d6e284391880d8eddd686e429 (patch) | |
tree | 4a549a53a208c02099b804113fdf10184f2c5250 /eclass | |
parent | media-plugins/vdr-xineliboutput: version bump (diff) | |
download | gentoo-bdbb0dc675e5439d6e284391880d8eddd686e429.tar.gz gentoo-bdbb0dc675e5439d6e284391880d8eddd686e429.tar.bz2 gentoo-bdbb0dc675e5439d6e284391880d8eddd686e429.zip |
ecm.eclass: Set correct KFMIN default for kde-frameworks/*
Closes: https://bugs.gentoo.org/703006
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ecm.eclass | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index 5d9cccff02c0..ddfe92c1d0b9 100644 --- a/eclass/ecm.eclass +++ b/eclass/ecm.eclass @@ -152,10 +152,15 @@ fi : ${ECM_TEST:=false} # @ECLASS-VARIABLE: KFMIN +# @DEFAULT_UNSET # @DESCRIPTION: -# Minimum version of Frameworks to require. The default value is not going to -# be changed unless we also bump EAPI, which usually implies (rev-)bumping. +# Minimum version of Frameworks to require. Default value for kde-frameworks +# is ${PV} and 5.64.0 baseline for everything else. This is not going to be +# changed unless we also bump EAPI, which usually implies (rev-)bumping. # Version will later be used to differentiate between KF5/Qt5 and KF6/Qt6. +if [[ ${CATEGORY} = kde-frameworks ]]; then + : ${KFMIN:=${PV}} +fi : ${KFMIN:=5.64.0} # @ECLASS-VARIABLE: KFSLOT |