Skip to content

Commit

Permalink
qmake-utils.eclass: EAPI 8 support
Browse files Browse the repository at this point in the history
#21539

Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Davide Pesavento <pesa@gentoo.org>
  • Loading branch information
dm0- authored and Pesa committed Jul 9, 2021
1 parent 4bfa0bb commit 5d58c2e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions eclass/qmake-utils.eclass
@@ -1,27 +1,27 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# @ECLASS: qmake-utils.eclass
# @MAINTAINER:
# qt@gentoo.org
# @AUTHOR:
# Davide Pesavento <pesa@gentoo.org>
# @SUPPORTED_EAPIS: 7
# @SUPPORTED_EAPIS: 7 8
# @BLURB: Common functions for qmake-based packages.
# @DESCRIPTION:
# Utility eclass providing wrapper functions for Qt5 qmake.
#
# This eclass does not set any metadata variables nor export any phase
# functions. It can be inherited safely.

if [[ -z ${_QMAKE_UTILS_ECLASS} ]]; then
_QMAKE_UTILS_ECLASS=1

case ${EAPI} in
7) ;;
*) die "EAPI=${EAPI:-0} is not supported" ;;
7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac

if [[ -z ${_QMAKE_UTILS_ECLASS} ]]; then
_QMAKE_UTILS_ECLASS=1

inherit toolchain-funcs

# @FUNCTION: _qmake-utils_banned_func
Expand Down

0 comments on commit 5d58c2e

Please sign in to comment.