diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-10-01 10:31:14 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-10-20 08:26:13 +0200 |
commit | 60f30e1ae6f8aa1d3dc75424acb4a030679b22fb (patch) | |
tree | c32693e4a806c75468cf8c3f387e729ea771f0d2 /eclass | |
parent | desktop.eclass: Install files as foo.desktop rather than foo-foo.desktop (diff) | |
download | gentoo-60f30e1ae6f8aa1d3dc75424acb4a030679b22fb.tar.gz gentoo-60f30e1ae6f8aa1d3dc75424acb4a030679b22fb.tar.bz2 gentoo-60f30e1ae6f8aa1d3dc75424acb4a030679b22fb.zip |
desktop.eclass: Add EAPI guard
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/desktop.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/desktop.eclass b/eclass/desktop.eclass index 01de8b61ae1c..aa1b9ac68d85 100644 --- a/eclass/desktop.eclass +++ b/eclass/desktop.eclass @@ -4,8 +4,14 @@ # @ECLASS: desktop.eclass # @MAINTAINER: # base-system@gentoo.org +# @SUPPORTED_EAPIS: 6 7 8 # @BLURB: support for desktop files, menus, and icons +case ${EAPI} in + 6|7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + if [[ -z ${_DESKTOP_ECLASS} ]]; then _DESKTOP_ECLASS=1 |