summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-06-18 10:57:01 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-07-06 12:22:48 +0200
commit4b0b0f8883499f60fa7bb0b21b9d00518a2d9644 (patch)
tree1e84c3216445ff954ca59af3aade723847d9fee5 /eclass
parentqt5-build.eclass: Drop obsolete <Qt-5.12 conditionals (diff)
downloadgentoo-4b0b0f8883499f60fa7bb0b21b9d00518a2d9644.tar.gz
gentoo-4b0b0f8883499f60fa7bb0b21b9d00518a2d9644.tar.bz2
gentoo-4b0b0f8883499f60fa7bb0b21b9d00518a2d9644.zip
qt5-build.eclass: EAPI-7 bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/qt5-build.eclass14
1 files 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 <pesa@gentoo.org>
-# @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