mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 07:49:00 -04:00
x11-lib/gtk-fortran: fix test fail due to DISPLAY absence
The issue bellow isn't related to 'lto' and was to absence of virtual DISPLAY while running test. Closes: https://bugs.gentoo.org/863935 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
parent
f83445e50d
commit
20bd1b614f
@ -1,12 +1,13 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
FORTRAN_STANDARD=2003
|
||||
VIRTUALX_REQUIRED="test"
|
||||
|
||||
inherit cmake fortran-2
|
||||
inherit cmake fortran-2 virtualx
|
||||
|
||||
DESCRIPTION="A GTK+ binding to build Graphical User Interfaces in Fortran"
|
||||
HOMEPAGE="https://github.com/vmagnin/gtk-fortran"
|
||||
@ -16,8 +17,9 @@ LICENSE="GPL-3"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="examples high-level plplot static-libs"
|
||||
IUSE="examples high-level plplot static-libs test"
|
||||
REQUIRED_USE="plplot? ( high-level )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:3
|
||||
@ -55,6 +57,10 @@ src_configure() {
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
@ -1,12 +1,13 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
FORTRAN_STANDARD=2003
|
||||
VIRTUALX_REQUIRED="test"
|
||||
|
||||
inherit cmake fortran-2
|
||||
inherit cmake fortran-2 virtualx
|
||||
|
||||
DESCRIPTION="A GTK+ binding to build Graphical User Interfaces in Fortran"
|
||||
HOMEPAGE="https://github.com/vmagnin/gtk-fortran"
|
||||
@ -16,8 +17,9 @@ LICENSE="GPL-3"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="examples high-level plplot static-libs"
|
||||
IUSE="examples high-level plplot static-libs test"
|
||||
REQUIRED_USE="plplot? ( high-level )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
gui-libs/gtk:4
|
||||
@ -55,6 +57,10 @@ src_configure() {
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
Loading…
x
Reference in New Issue
Block a user