# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/vmc-project/${PN}.git" else MY_PV=$(ver_rs 1- -) SRC_URI="https://github.com/vmc-project/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${PN}-${MY_PV}" fi DESCRIPTION="Virtual Geometry Model for High Energy Physics Experiments" HOMEPAGE="https://github.com/vmc-project/vgm/" LICENSE="GPL-2" SLOT="0" IUSE="doc examples +geant4 +root test" # upper version bound for Geant, see https://github.com/vmc-project/vgm/issues/10 RDEPEND=" sci-physics/clhep:= geant4? ( >=sci-physics/geant-4.11[c++17]