diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-12-26 11:21:04 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-12-26 11:21:04 +0100 |
| commit | 5ecdb90c0fe91d0724bb5947f9f16b81f41f23b6 (patch) | |
| tree | bbe3d1149c4b3b37e65968e6d871afcfdde490ac /eclass/ecm.eclass | |
| parent | fd325777aca7dedba557c1d89ae89e89092b0b2b (diff) | |
| download | kde-5ecdb90c0fe91d0724bb5947f9f16b81f41f23b6.tar.gz kde-5ecdb90c0fe91d0724bb5947f9f16b81f41f23b6.tar.bz2 kde-5ecdb90c0fe91d0724bb5947f9f16b81f41f23b6.zip | |
ecm.eclass: Drop EAPI-7 support
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/ecm.eclass')
| -rw-r--r-- | eclass/ecm.eclass | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index 1827f07b1d9..c388e397daa 100644 --- a/eclass/ecm.eclass +++ b/eclass/ecm.eclass @@ -4,7 +4,7 @@ # @ECLASS: ecm.eclass # @MAINTAINER: # kde@gentoo.org -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 8 # @PROVIDES: cmake virtualx # @BLURB: Support eclass for packages that use KDE Frameworks with ECM. # @DESCRIPTION: @@ -22,7 +22,7 @@ # any phase functions are overridden the version here should also be called. case ${EAPI} in - 7|8) ;; + 8) ;; *) die "${ECLASS}: EAPI=${EAPI:-0} is not supported" ;; esac @@ -143,9 +143,9 @@ fi # @DEFAULT_UNSET # @DESCRIPTION: # 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 +# is ${PV} and 5.82.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. +# Version will also be used to differentiate between KF5/Qt5 and KF6/Qt6. if [[ ${CATEGORY} = kde-frameworks ]]; then : ${KFMIN:=$(ver_cut 1-2)} fi @@ -630,16 +630,14 @@ ecm_src_install() { cmake_src_install # bug 621970 - if [[ ${EAPI} != 7 ]]; then - if [[ -d "${ED}"/usr/share/applications ]]; then - local f - for f in "${ED}"/usr/share/applications/*.desktop; do - if [[ -x ${f} ]]; then - einfo "Removing executable bit from ${f#${ED}}" - fperms a-x "${f#${ED}}" - fi - done - fi + if [[ -d "${ED}"/usr/share/applications ]]; then + local f + for f in "${ED}"/usr/share/applications/*.desktop; do + if [[ -x ${f} ]]; then + einfo "Removing executable bit from ${f#${ED}}" + fperms a-x "${f#${ED}}" + fi + done fi } @@ -691,8 +689,4 @@ if [[ -v ${KDE_GCC_MINIMAL} ]]; then EXPORT_FUNCTIONS pkg_pretend fi -EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_test pkg_preinst pkg_postinst pkg_postrm - -if [[ ${EAPI} != 7 ]]; then - EXPORT_FUNCTIONS src_install -fi +EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_test src_install pkg_preinst pkg_postinst pkg_postrm |
