Signed-off-by: David Seifert <
soap@gentoo.org>
---
eclass/libretro-core.eclass | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/eclass/libretro-core.eclass b/eclass/libretro-core.eclass
index e4f7221a540..55d7e9f1151 100644
--- a/eclass/libretro-core.eclass
+++ b/eclass/libretro-core.eclass
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 Gentoo Authors
+# Copyright 2018-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: libretro-core.eclass
@@ -7,7 +7,7 @@
# @AUTHOR:
# Cecil Curry <
leycec@gmail.com>
# Craig Andrews <
candrews@gentoo.org>
-# @SUPPORTED_EAPIS: 6 7
+# @SUPPORTED_EAPIS: 7
# @BLURB: Simplify libretro core ebuilds
# @DESCRIPTION:
# The libretro eclass is designed to streamline the construction of
@@ -34,6 +34,11 @@
# SLOT="0"
# @CODE
+case ${EAPI} in
+ 7) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
+esac
+
if [[ -z ${_LIBRETRO_CORE_ECLASS} ]]; then
_LIBRETRO_CORE_ECLASS=1
@@ -78,14 +83,6 @@ else
fi
in