commit: c4f0ac180ab68aacd7b0e20e2802bacce1e72c6e Author: Alexey Sokolov <sokolov <AT> google <DOT> com> AuthorDate: Fri Nov 9 00:32:43 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Nov 12 23:00:27 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f0ac18
sci-astronomy/stellarium: enable test Signed-off-by: Alexey Sokolov <sokolov <AT> google.com> Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> sci-astronomy/stellarium/stellarium-0.18.2.ebuild | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/sci-astronomy/stellarium/stellarium-0.18.2.ebuild b/sci-astronomy/stellarium/stellarium-0.18.2.ebuild index 5e6e6cc48c8..25ffaeb162c 100644 --- a/sci-astronomy/stellarium/stellarium-0.18.2.ebuild +++ b/sci-astronomy/stellarium/stellarium-0.18.2.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit cmake-utils desktop flag-o-matic gnome2-utils +inherit cmake-utils desktop flag-o-matic gnome2-utils virtualx DESCRIPTION="3D photo-realistic skies in real time" HOMEPAGE="http://www.stellarium.org/" @@ -22,9 +22,7 @@ PATCHES=( "${FILESDIR}"/${P}.patch ) LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debug gps media nls stars" - -RESTRICT="test" # There are no tests +IUSE="debug gps media nls stars test" RDEPEND=" dev-qt/qtcore:5 @@ -43,8 +41,9 @@ RDEPEND=" " DEPEND="${RDEPEND} dev-qt/qtconcurrent:5 - dev-qt/qttest:5 - nls? ( dev-qt/linguist-tools:5 )" + nls? ( dev-qt/linguist-tools:5 ) + test? ( dev-qt/qttest:5 ) +" LANGS=( af am ar as ast az be bg bn bo br bs ca cs @@ -82,10 +81,15 @@ src_configure() { -DENABLE_GPS="$(usex gps)" -DENABLE_NLS="$(usex nls)" -DENABLE_MEDIA="$(usex media)" + -DENABLE_TESTING="$(usex test)" ) cmake-utils_src_configure } +src_test() { + virtx cmake-utils_src_test +} + src_install() { cmake-utils_src_install
