From 6bf575618cf9022e99cbfcc64036fd9db79a749c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 5 Dec 2023 17:02:59 +0000 Subject: gentoo auto-resync : 05:12:2023 - 17:02:58 --- sci-physics/vgm/vgm-5.0-r1.ebuild | 86 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 sci-physics/vgm/vgm-5.0-r1.ebuild (limited to 'sci-physics/vgm/vgm-5.0-r1.ebuild') diff --git a/sci-physics/vgm/vgm-5.0-r1.ebuild b/sci-physics/vgm/vgm-5.0-r1.ebuild new file mode 100644 index 000000000000..9a728c675b8b --- /dev/null +++ b/sci-physics/vgm/vgm-5.0-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2023 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 +