mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
meson-multilib.eclass: EAPI 8 support
Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/21440
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
# @AUTHOR:
|
||||
# Author: Michał Górny <mgorny@gentoo.org>
|
||||
# Author: Matt Turner <mattst88@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 7
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @BLURB: meson wrapper for multilib builds
|
||||
# @DESCRIPTION:
|
||||
# The meson-multilib.eclass provides a glue between meson.eclass(5)
|
||||
@@ -20,14 +20,14 @@
|
||||
# in multilib-minimal, yet they ought to call appropriate meson
|
||||
# phase rather than 'default'.
|
||||
|
||||
case ${EAPI} in
|
||||
7|8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
if [[ -z ${_MESON_MULTILIB_ECLASS} ]] ; then
|
||||
_MESON_MULTILIB_ECLASS=1
|
||||
|
||||
case ${EAPI:-0} in
|
||||
7) ;;
|
||||
*) die "EAPI=${EAPI} is not supported" ;;
|
||||
esac
|
||||
|
||||
inherit meson multilib-minimal
|
||||
|
||||
EXPORT_FUNCTIONS src_configure src_compile src_test src_install
|
||||
|
||||
Reference in New Issue
Block a user