From 4b0b0f8883499f60fa7bb0b21b9d00518a2d9644 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Tue, 18 Jun 2019 10:57:01 +0200 Subject: [PATCH] qt5-build.eclass: EAPI-7 bump Signed-off-by: Andreas Sturmlechner --- eclass/qt5-build.eclass | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 0e16983478ab..b22124100d3e 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: qt5-build.eclass @@ -6,7 +6,7 @@ # qt@gentoo.org # @AUTHOR: # Davide Pesavento -# @SUPPORTED_EAPIS: 6 +# @SUPPORTED_EAPIS: 6 7 # @BLURB: Eclass for Qt5 split ebuilds. # @DESCRIPTION: # This eclass contains various functions that are used when building Qt5. @@ -17,7 +17,8 @@ if [[ ${CATEGORY} != dev-qt ]]; then fi case ${EAPI} in - 6) : ;; + 6) inherit eapi7-ver ;; + 7) : ;; *) die "qt5-build.eclass: unsupported EAPI=${EAPI:-0}" ;; esac @@ -57,7 +58,7 @@ esac # for tests you should proceed with setting VIRTUALX_REQUIRED=test. : ${VIRTUALX_REQUIRED:=manual} -inherit eapi7-ver estack flag-o-matic toolchain-funcs virtualx +inherit estack flag-o-matic toolchain-funcs virtualx HOMEPAGE="https://www.qt.io/" LICENSE="|| ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3" @@ -113,10 +114,13 @@ IUSE="debug test" [[ ${QT5_BUILD_TYPE} == release ]] && RESTRICT+=" test" # bug 457182 -DEPEND=" +BDEPEND=" dev-lang/perl virtual/pkgconfig " +case ${EAPI} in + 6) DEPEND+=" ${BDEPEND}" ;; +esac if [[ ${PN} != qttest ]]; then DEPEND+=" test? ( ~dev-qt/qttest-${PV} )" fi -- 2.26.2