diff options
author | 2023-01-24 11:41:55 +0100 | |
---|---|---|
committer | 2023-01-26 12:10:52 +0100 | |
commit | 0d40537cc89bd44b3fe273677cf22dce614716df (patch) | |
tree | 6bd3d58af38e747eb6d70fc6e554f36f5c006dff /sci-physics/geant4_vmc/geant4_vmc-9999.ebuild | |
parent | sci-physics/vgm: Add 5.1 (supports >=sci-physics/geant-4.11.1.0 ) (diff) | |
download | gentoo-0d40537cc89bd44b3fe273677cf22dce614716df.tar.gz gentoo-0d40537cc89bd44b3fe273677cf22dce614716df.tar.bz2 gentoo-0d40537cc89bd44b3fe273677cf22dce614716df.zip |
sci-physics/geant4_vmc: add 6.1_p3 and 6.2
6.1_p3 targets =sci-physics/vgm-5.0 and <sci-physics/geant-4.11.1,
6.2 targets >=sci-physics/vgm-5.1 and >=sci-physics/geant-4.11.1.
Also, use virtualx for tests since Geant4 UI is used by tests and
effectively relies on X11.
Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sci-physics/geant4_vmc/geant4_vmc-9999.ebuild')
-rw-r--r-- | sci-physics/geant4_vmc/geant4_vmc-9999.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild b/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild index 2bc5b7595a6d..988ae63d16b7 100644 --- a/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild +++ b/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake +inherit cmake virtualx if [[ ${PV} == *9999* ]]; then inherit git-r3 @@ -23,12 +23,12 @@ SLOT="4" IUSE="doc examples geant3 +g4root vgm test" RDEPEND=" - sci-physics/geant[c++17,opengl,geant3?] + sci-physics/geant:=[c++17,opengl,geant3?] sci-physics/root:=[c++17,-vmc(-)] sci-physics/vmc:=[c++17] vgm? ( sci-physics/vgm:= )" DEPEND="${RDEPEND} - test? ( >=sci-physics/geant-4.11[gdml] )" + test? ( sci-physics/geant:=[gdml] )" BDEPEND="doc? ( app-doc/doxygen[dot] )" RESTRICT=" !examples? ( test ) @@ -68,8 +68,8 @@ src_compile() { src_test() { cd examples || die - ./test_suite.sh --debug --g3=off --garfield=off --builddir="${BUILD_DIR}" || die - ./test_suite_exe.sh --g3=off --garfield=off --garfield=off --builddir="${BUILD_DIR}" || die + virtx ./test_suite.sh --debug --g3=off --garfield=off --builddir="${BUILD_DIR}" || die + virtx ./test_suite_exe.sh --g3=off --garfield=off --garfield=off --builddir="${BUILD_DIR}" || die } src_install() { |