summaryrefslogtreecommitdiff
path: root/sci-physics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-13 17:45:56 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-13 17:45:56 +0000
commitca04d5f1b74639bc2db1e371abbf0182fc431828 (patch)
tree5e6d2b5341c69d06a6d3e8352c5b8b88a5382302 /sci-physics
parent0ded23e9afc3d3424aef90e5cec3f2ca6d6b4c30 (diff)
gentoo auto-resync : 13:12:2023 - 17:45:55
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/Manifest.gzbin4190 -> 4191 bytes
-rw-r--r--sci-physics/geant-data/Manifest4
-rw-r--r--sci-physics/geant-data/geant-data-4.11.2.0.ebuild48
-rw-r--r--sci-physics/geant/Manifest2
-rw-r--r--sci-physics/geant/geant-4.11.2.0.ebuild110
-rw-r--r--sci-physics/geant4_vmc/Manifest2
-rw-r--r--sci-physics/geant4_vmc/geant4_vmc-6.5.ebuild80
7 files changed, 246 insertions, 0 deletions
diff --git a/sci-physics/Manifest.gz b/sci-physics/Manifest.gz
index a0060c9f1fbc..607b32f060f9 100644
--- a/sci-physics/Manifest.gz
+++ b/sci-physics/Manifest.gz
Binary files differ
diff --git a/sci-physics/geant-data/Manifest b/sci-physics/geant-data/Manifest
index 9804dcd9e5ca..089d68cdd3f9 100644
--- a/sci-physics/geant-data/Manifest
+++ b/sci-physics/geant-data/Manifest
@@ -1,8 +1,11 @@
DIST G4ABLA.3.1.tar.gz 107286 BLAKE2B ff60665b01dcdb85a76028af472e6f71068b8132187701c46e5c4e8509125d34853d3c574561be22f34cc5f35503ec0808f2964888cd19259392de8054f19647 SHA512 4178870783ca015dade0b07006afc27fed095ff195251c672a0812f9c8e13908b5dfa9a127e8f3ec473f242bf7faf6d49a3371a75e669a06245722924b7c4278
+DIST G4ABLA.3.3.tar.gz 170253 BLAKE2B 57598e044d7f40c59aeff35160008b257b29b4a5a10ca4a083a4dcd2fbac4d0558b2560918865d7e5101d0121bb671b930c70524933e6e34c86ffd34c45e5e06 SHA512 579da18ee262392d554846c58ec9e55890f8a7e3c057314a327fbe87fe3d51f0664fe5ce6c502bf33d61716bcfffcff94c1ad6339ceee728e7c982262a615f5b
DIST G4EMLOW.8.0.tar.gz 326834565 BLAKE2B fff006b48524cd840871fa50a4d7af671e871f0bb84da780c151899285a583dff3c1fd15e0e5652d43e6d170512e41ec4b003ed335a5e850b2aa7fc4d2822b13 SHA512 754e875a461950a9ad1accef5a83970f8c7bfdbc1970fedb35eefd1f70d5b5309c3d6c3c262892bf9318330e1ab721a76c7836d8b880205af69fa3c1a0c7e079
DIST G4EMLOW.8.2.tar.gz 329428359 BLAKE2B 06630cd193783b52a3f501037d82c239304d1527c98587ae6297d7c21db3cc4e9e521833f6a301f82ed8e57eeb110a56315aedb9eedb0ea3f6d2939987ce8630 SHA512 93bf3595604c11e821fb9eeecf6adbe55289a1033ce31aaf9ebe751822cb4d8b986ec9af7459753cb4f475b9af04e799cc7211a8e5edc199c2d0a1105f877af6
+DIST G4EMLOW.8.5.tar.gz 340782306 BLAKE2B 74e0bf372c455edee7577cf5c46712b5cffe919d7c5203c1577d8c1dce0ae8a9e615a783df553af62190971ff6340e0220efa26d3ade54672cf7182a3f30aaa9 SHA512 fa5de4841bb24267de89d70237446bb785cb326caa81624fc58983837940f9f09105ef44038b11867f16ccee2cd780a083bcf38d0b5e593afb8cc5562091fb7f
DIST G4ENSDFSTATE.2.3.tar.gz 290745 BLAKE2B 89c642a43ebcb979b233cfb1af1bde9b2f4fd5a5ff2f282f8975aae9514c3579d67e66b1b3559e75a633b13d272c0f54fc41aef415463583a6920fc6e3f66b78 SHA512 0f92d1871f532a979829406a150e263ac13141e594acca6728edd1dbe0a181c03d0be23f7cbb6a6e73550dc71bf1337edb799c9845dff6df991b44ea8cb8ceec
DIST G4INCL.1.0.tar.gz 95840 BLAKE2B 2c264b7563620cdbdb8a5e529f21766a5b5ea3e2e51047362518714d01854de8d9ca2ca2a0183ab672cc2f8a4d951327b0e1a7298799695fd48233fa5e529686 SHA512 9d769566d1728674bd6d1e59fc05882943cd240d2f0a9e47dff37fa64fe27720b20b66f6dea6d300c3c9082a22f7f71bb416df8c7d2b5bae87251c4a0113f49b
+DIST G4INCL.1.2.tar.gz 98438 BLAKE2B bac691277d3dcb6e617c2e522852e789a8f05388d3902d8c73756634e570c503496883fa699f6b698c0c32392b38e60af7762ee655d0dcf23c183d16bd49f574 SHA512 fb2e92814b9d22ce5b683daa9a08887fb96b61047c3bc4087c4a1e3d92f54d26f4fe032b90a6208e9a82283b24d3915cbace581e37617b91b20adecd93c33849
DIST G4NDL.4.6.tar.gz 599862135 BLAKE2B 78e30dd0f02f3b7d7fce12a3a4dcb83e1405ba45f19ed2a743ee7e72be426e09a31cedb521a62a116a8a580a39c83987d4e39ab621b73e0d7a41e7dab8f36d41 SHA512 29b7d933d3e691b03cf45db0c4a9335c03f34ce57149a37b66a0f85e41d500d985f86bc8becc206d85202f129f60ea9fb1ef16bc4a9eef48cde593ffd5a85f24
DIST G4NDL.4.7.tar.gz 1114928821 BLAKE2B 03595a4d200e1d87eb02ebdfe13172dd166212c3e29cc2e568dcd41e0d89923dbb1c5eda3e1c7630d155cdd0a95859bbc4ed9dca3d7c2f50f3936ec179679d88 SHA512 035ff48e1976fc4ee4fe3af373dbfa002112ae2dde0330678ddf4fec7da003309abe94044f13bdcbf8615fcfccbeec56e655be7bff04e703c738e3c5b7461380
DIST G4PARTICLEXS.4.0.tar.gz 12242648 BLAKE2B 3f092e460e612c13b423cc364d7f040f28a1261fb38fda05f644b3a29fea4d78564330899d1a63cdad33b0e56153d6a88ebfc5fe8308ef49dadbb754a81635e0 SHA512 ccc0284ce8735d60b8597856fa27ba33959de93664ad849608689b9d7c7a34245f2eac32f607b9dac6d62afe69b2bce4007665a9482ef209c5c7ff759b20dab4
@@ -14,4 +17,5 @@ DIST G4SAIDDATA.2.0.tar.gz 38502 BLAKE2B 349608f8f8f57b091579b4892f1547c25f0c730
DIST G4TENDL.1.4.tar.gz 912261874 BLAKE2B 9ed05676ed52ca8341007cade3620b655fcf56eea3d3bda01814ae7133ec04bd2ef84b1c34ee5cd76114407bd6977bd4392322decebea1e1ed7e6377a482e1e8 SHA512 6fb1e5fc8daad9ef8391ff04793f10394cfc28cab0967bba0d9c91a69b92a7af7406e543275d9c1d9ff76d3dfec2c9f653bcff40040e17edbb765fb21012cae8
EBUILD geant-data-4.11.0.0.ebuild 1511 BLAKE2B c7702a6de5eb8955d0192574e970e32d5ff46ee5e5e798ddcf54737d7720ae785cdb61c4eb71ac536b1028e465635b7d78a241b7eda3624aa2012ca16c527d3b SHA512 5ac8bfad79208a7326effa56486647e708c592d0d6a975308b72053823cc3dbee566b4a231e14994aad5df0c64c0f46d211c6f742beef308f3522d727637a19a
EBUILD geant-data-4.11.1.0.ebuild 1299 BLAKE2B 45ea8cace0a6d571960e90e8a68c887af6c952c4455be8688f36436e1ac0c4e8cc260a5c9eb3a34e1d11b16e78dc95d4a40d18e0462329050da490af9b272344 SHA512 a46397f273c0314ba174eea29520575bca3a350a7db9fb248bb4385aaf570954c2d1b0962271155ff190584b3bb782e35fda67a04bd1bf273c6ee173396c8c42
+EBUILD geant-data-4.11.2.0.ebuild 1300 BLAKE2B a71f756d8f26b69a54e411e733e92c91087bf2c2214fb2281ab5df2b37d848890f22d0aa06ea73e3c892ad719c9e25b554f9dfa005b1dc889367c4b4b284d337 SHA512 088c8d66a6c7b9cf03cfb53d0be48790e6c41342a4682806a68281c3083b1d5e3fb4ff8de2687ab8c2aa5921859e5ac26dee688fec4647367a08ba19bd8a6e36
MISC metadata.xml 425 BLAKE2B 9c0c8f8f3e0e16f4f7a567778027c58efe973849c46e2d50df71751a7e661199fa786a57bc62b1bd89b720a8444707ef65bf58425d23ecb46cd4a6d90dc50612 SHA512 6b0d4f5b10a443188474552fe06c3abf4fff696804ccc6dfdd328b152321769ac0e566573bd047221df7609de045d3238df7a5a6c14d60dfb3d7072b89298664
diff --git a/sci-physics/geant-data/geant-data-4.11.2.0.ebuild b/sci-physics/geant-data/geant-data-4.11.2.0.ebuild
new file mode 100644
index 000000000000..f17fe6b89fc1
--- /dev/null
+++ b/sci-physics/geant-data/geant-data-4.11.2.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Data files for Geant4 physical processes"
+HOMEPAGE="https://geant4.web.cern.ch"
+SRC_DATA="https://geant4-data.web.cern.ch/geant4-data/datasets"
+
+declare -A DATASETS
+
+DATASETS=(
+ [G4NDL]="G4NDL 4.7 G4NEUTRONHPDATA"
+ [G4EMLOW]="G4EMLOW 8.5 G4LEDATA"
+ [PhotonEvaporation]="G4PhotonEvaporation 5.7 G4LEVELGAMMADATA"
+ [RadioactiveDecay]="G4RadioactiveDecay 5.6 G4RADIOACTIVEDATA"
+ [G4PARTICLEXS]="G4PARTICLEXS 4.0 G4PARTICLEXSDATA"
+ [G4PII]="G4PII 1.3 G4PIIDATA"
+ [RealSurface]="G4RealSurface 2.2 G4REALSURFACEDATA"
+ [G4SAIDDATA]="G4SAIDDATA 2.0 G4SAIDXSDATA"
+ [G4ABLA]="G4ABLA 3.3 G4ABLADATA"
+ [G4INCL]="G4INCL 1.2 G4INCLDATA"
+ [G4ENSDFSTATE]="G4ENSDFSTATE 2.3 G4ENSDFSTATEDATA"
+ [G4TENDL]="G4TENDL 1.4 G4PARTICLEHPDATA"
+)
+
+for DATASET in ${!DATASETS[@]}; do
+ read FILENAME VERSION ENVVAR <<< "${DATASETS[$DATASET]}"
+ SRC_URI+="${SRC_DATA}/${FILENAME}.${VERSION}.tar.gz "
+done
+unset DATASET FILENAME VERSION ENVVAR
+
+LICENSE="geant4"
+SLOT="4"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ # unpack in destination only to avoid copy
+ return
+}
+
+src_install() {
+ dodir /usr/share/geant4/data
+ cd "${ED}/usr/share/geant4/data" || die
+ unpack ${A}
+}
diff --git a/sci-physics/geant/Manifest b/sci-physics/geant/Manifest
index 2d3135427162..08fbfcb9a022 100644
--- a/sci-physics/geant/Manifest
+++ b/sci-physics/geant/Manifest
@@ -2,7 +2,9 @@ AUX geant-4.11.0.2-musl-avoid-execinfo.patch 2812 BLAKE2B 7bede49a061f174d2cd3ad
DIST geant4-v11.0.4.tar.gz 35827159 BLAKE2B 52297887fb3467c5a08725340da959cda72ebe1b0b0d526d240213a7d954f1c68b379abf04c00b271013a019c1179ce6d6d8dbc22a5339ea66927b30342aa58d SHA512 ae5c60702a9f08e30d202dbd9270c1e1353751b369f7129d91f3744b5ba9c5a30549bf90a1bce98351e0e5ddc57624a8748132c289de1c3a0679670ab4e30602
DIST geant4-v11.1.2.tar.gz 36423840 BLAKE2B 14ea4402b421d9d5613c0fed7e818d8e3e8daef7f60ebbb0aef654cc9d6e499b57fa42d731a2796815261b979646751c359402d1e92546cc81a330f2b69a9097 SHA512 592296fe4dcb6d7fbaf60a3fa7cb2a1281246dbb67ad88c4ebb24361b4668b4308195edf72c1daeb9f178b7bdafc4ca744ef1661b9e229129beab12f7d20702b
DIST geant4-v11.1.3.tar.gz 36455707 BLAKE2B 3edb035422906e0d9cfc1d2bd431eb6dc7abb2f62698fb333379776a5b548d3105a954ef5a1a87e7992b08e6ef85cb11445a3d95f09a2414f5ab6e93318e6d9f SHA512 2154443534de6c74ef48459b4ff818182801a18bfceaf4350dc8aa841363d71397c8a8ab5f5ad34ddb664ade9461508327072e33c520e69016729320cee6d9c7
+DIST geant4-v11.2.0.tar.gz 36652313 BLAKE2B 41b5138b778be1302776961c0e029efd6143ceed9f3e81b0b1aeb542e1999f746b85dfe66b02421ce38e9475fd95ac0b2513944e13e4689a2e5ec627fa5b9e45 SHA512 57b31fd4125d992754e7ce2770d7427355d204cb0b28708429f8c7983aeb0b41897aa3f5fd345489b343232f459eede6b153752fece96146a7ee59660363acf9
EBUILD geant-4.11.0.4-r1.ebuild 3378 BLAKE2B 7866291004cafc5078614dfbfd59319964fc1b0bbf7a0914f83ae49ad2dc586a8dbc6fe317071fed3963ceffae04e4d5075f3b473e788fb1a90bc263fadda116 SHA512 451a91db6ca90b6f61d84d75a23c07afdb40ab1944308939404a790b7aa3075eeca93401851399e25e9a438b34b80abae43f4ea0713d04587b906b3ebe94317c
EBUILD geant-4.11.1.2-r1.ebuild 2931 BLAKE2B f4e100968a9d4a8d7c4a8f13820d73db4d6e2f5ee787200e5d961a429230d9b9f66b55c960bfe8d5151ea31dfcbd8c94c87886646c493e629c787d8ff9ef39b7 SHA512 5460a507c95acaa00f9177f38bf84ecb1e75e9f2d41fe0689a78a3b45427ff0e033299fa5a2e9ac575f1da0f93e5ab1eea7ab8d53a6759f04bc4c35346795d2a
EBUILD geant-4.11.1.3-r1.ebuild 2932 BLAKE2B 4903a4c3527a49f7c6caab2ba5149756dd33a49e3903c41e79664d7b6ca9f2423a25d172d5fe05be687e07ac5a1be1b0f8fbf9ebc6588cf6f43bbb6da9587184 SHA512 cbba86291b0b7882ceaf75db28ed4a8e86704e7f67ba473337555b5315797d4e478527740fb912501d3e8971955bff5dd851121178550381d992921bb1ca63da
+EBUILD geant-4.11.2.0.ebuild 2906 BLAKE2B f9c53ef156f400a2daf8d32834d201d6794f4778eb1f215fd817824f10d47bd7c120590c121d2c165a057bdc798a8e933dfa03925e83bfae3284211f5b54b7eb SHA512 f3fb4982cbde2dc6330a0854eaa1415852953173aa13366c8f235011157d989119083ff59dc33b070d18a716b4e71a13f81d10d03a8335f6eb3091581e7367c1
MISC metadata.xml 1527 BLAKE2B f077711907b2effb5aa79e7470db8397e36dddad753e494e2398c72992b6b5cc1f1ef6ed3fa35640ccd119a7a46448e0f3b205803e886b6a587ba5afe4a568b5 SHA512 db1ae57378e4f109283b14d8f27ef38e0426b39a33cdd6bdf2fd6683bbf6b1cca5e89e78ef6771afa3e770af3db872c7bfbbfae3177f516147e2527aae51b181
diff --git a/sci-physics/geant/geant-4.11.2.0.ebuild b/sci-physics/geant/geant-4.11.2.0.ebuild
new file mode 100644
index 000000000000..aea36c3b920c
--- /dev/null
+++ b/sci-physics/geant/geant-4.11.2.0.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_P=${PN}$(ver_cut 1)-v$(ver_cut 2-4)
+
+case ${PV} in
+*_beta*)
+ DOCS="ReleaseNotes/Beta.$(ver_cut 2-3)-*.txt"
+ ;;
+*)
+ if [[ $(ver_cut 4) -gt 0 ]]; then
+ DOCS="ReleaseNotes/Patch.$(ver_cut 2-3)-*.txt"
+ fi
+ HTML_DOCS="ReleaseNotes/ReleaseNotes.$(ver_cut 2-3).html"
+ ;;
+esac
+
+DESCRIPTION="Toolkit for simulation of passage of particles through matter"
+HOMEPAGE="https://geant4.web.cern.ch/"
+SRC_URI="https://geant4-data.web.cern.ch/geant4-data/releases/${MY_P}.tar.gz"
+
+LICENSE="geant4"
+SLOT="4/$(ver_cut 1-4)"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+data debug doc examples freetype gdml geant3 hdf5 inventor motif opengl
+ qt5 raytracerx static-libs tbb threads trajectories vtk"
+
+REQUIRED_USE="
+ inventor? ( opengl )
+ motif? ( opengl )
+ qt5? ( opengl )
+ tbb? ( threads )
+ vtk? ( qt5 )
+"
+
+RDEPEND="
+ dev-libs/expat
+ >=sci-physics/clhep-2.4.7.1:2=[threads?]
+ data? ( ~sci-physics/geant-data-4.11.2.0 )
+ doc? ( app-doc/geant-docs )
+ gdml? ( dev-libs/xerces-c )
+ hdf5? ( sci-libs/hdf5[threads?] )
+ inventor? ( media-libs/SoXt )
+ motif? ( x11-libs/motif:0 )
+ opengl? ( virtual/opengl )
+ qt5? (
+ dev-qt/qt3d:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ opengl? ( dev-qt/qtopengl:5 )
+ )
+ raytracerx? (
+ x11-libs/libX11
+ x11-libs/libXmu
+ )
+ vtk? (
+ sci-libs/vtk:=[qt5]
+ )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.11.0.2-musl-avoid-execinfo.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_DATADIR="${EPREFIX}/usr/share/geant4"
+ -DGEANT4_BUILD_BUILTIN_BACKTRACE=$(usex debug)
+ -DGEANT4_BUILD_MULTITHREADED=$(usex threads)
+ -DGEANT4_BUILD_STORE_TRAJECTORY=$(usex trajectories)
+ -DGEANT4_BUILD_TLS_MODEL=$(usex threads global-dynamic initial-exec)
+ -DGEANT4_BUILD_VERBOSE_CODE=$(usex debug)
+ -DGEANT4_INSTALL_DATA=OFF
+ -DGEANT4_INSTALL_DATADIR="${EPREFIX}/usr/share/geant4/data"
+ -DGEANT4_INSTALL_EXAMPLES=$(usex examples)
+ -DGEANT4_INSTALL_PACKAGE_CACHE=OFF
+ -DGEANT4_USE_FREETYPE=$(usex freetype)
+ -DGEANT4_USE_G3TOG4=$(usex geant3)
+ -DGEANT4_USE_GDML=$(usex gdml)
+ -DGEANT4_USE_HDF5=$(usex hdf5)
+ -DGEANT4_USE_INVENTOR=$(usex inventor)
+ -DGEANT4_USE_OPENGL_X11=$(usex opengl)
+ -DGEANT4_USE_QT=$(usex qt5)
+ -DGEANT4_USE_RAYTRACER_X11=$(usex raytracerx)
+ -DGEANT4_USE_SYSTEM_CLHEP=ON
+ -DGEANT4_USE_SYSTEM_EXPAT=ON
+ -DGEANT4_USE_SYSTEM_ZLIB=ON
+ -DGEANT4_USE_TBB=$(usex tbb)
+ -DGEANT4_USE_XM=$(usex motif)
+ -DGEANT4_USE_VTK=$(usex vtk)
+ -DBUILD_STATIC_LIBS=$(usex static-libs)
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ # adjust clhep linking flags for system clhep
+ # binmake.gmk is only useful for legacy build systems
+ sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die
+ cmake_src_install
+ rm "${ED}"/usr/bin/*.{sh,csh} || die "failed to remove obsolete shell scripts"
+ einstalldocs
+}
diff --git a/sci-physics/geant4_vmc/Manifest b/sci-physics/geant4_vmc/Manifest
index d0d6a4f2f1c2..c0fa78c348e4 100644
--- a/sci-physics/geant4_vmc/Manifest
+++ b/sci-physics/geant4_vmc/Manifest
@@ -1,4 +1,6 @@
DIST geant4_vmc-6.3_p2.tar.gz 5737615 BLAKE2B db6b27e2ff81d37f61c75f39b4bdc775fa2eeded4916b82de7a6e717b206f9648eb295058547d0eaf8bc30bb8f28dddd1b00dea334aeccf6c2cb53da25cee90a SHA512 d9994a291fd195737b94101cafeadbb18aa14a71046cf8c637ea42c8560f290edd7fa524056c472b164fbff8f07afe01b4f5c6b86eeecfa1cfd564e55839052f
+DIST geant4_vmc-6.5.tar.gz 5933744 BLAKE2B 8d797eb770a0627f11860c0c6f7544b2bbfd93de1d6cb1b7ad8ca0888e81ec01a8f07067f810d45a86546f08c08136221c425e4b82039b8e74d24ea01da558a7 SHA512 d81b38eab84fa8d6bcf66b9a755970e4aa79b8c212e528a1e91f4d8692a89180f9f16cefcd049ffc63894a29b258d04dfcd217f0b82cfbe7e5e911ce16b2184f
EBUILD geant4_vmc-6.3_p2-r1.ebuild 1842 BLAKE2B 66af230d7a4b65039ce2338483f6d25608704441ae51bd1b1efe10553d4003c00f03b7c6a0767c614c0473ce429beca492248dcbb6629c100d36a67ffe4ba6b8 SHA512 93d54db4ad03cf978ac271debc9a797166eb92b3662876c686bfacefe99b6f6835dd430e8ad9ab6af3fc75bf5ae8c9ad25ae2b619714fd8fb7b290263bc410b2
+EBUILD geant4_vmc-6.5.ebuild 1842 BLAKE2B 66af230d7a4b65039ce2338483f6d25608704441ae51bd1b1efe10553d4003c00f03b7c6a0767c614c0473ce429beca492248dcbb6629c100d36a67ffe4ba6b8 SHA512 93d54db4ad03cf978ac271debc9a797166eb92b3662876c686bfacefe99b6f6835dd430e8ad9ab6af3fc75bf5ae8c9ad25ae2b619714fd8fb7b290263bc410b2
EBUILD geant4_vmc-9999.ebuild 1812 BLAKE2B 00639262cdf9b4121b45bdc0c770447e0d5dd526e4bebbf641b938178089a35a6b58bb2050d6c03e5ebb12f5593e70212bf941d85817304d476399e02d05ae17 SHA512 eda76e372b87bda80d24226ffd125852153ceca569dbf474d3d7dbee9b23567e4da5da2663b29c904dab483a4306cc18aba26bc401d5dc3ee9a63e727d3966c8
MISC metadata.xml 898 BLAKE2B d938774267f72be00ef3ce6e483d5c1c2f84b20cc3ee46129cefc8677cbd7725760d7289863a5cb2ebb44a43e375831fa581597f75c2c4a1218acbd97872d181 SHA512 f2c0b0b9e6440975f0a322f57943c9eb40b244081927971377f355f4913d2db678cc6e65e49be6b7a67457440974c101fbe3a4ae3dbfb49c27f16175cd16dd6c
diff --git a/sci-physics/geant4_vmc/geant4_vmc-6.5.ebuild b/sci-physics/geant4_vmc/geant4_vmc-6.5.ebuild
new file mode 100644
index 000000000000..f376fc36fd36
--- /dev/null
+++ b/sci-physics/geant4_vmc/geant4_vmc-6.5.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake virtualx
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/vmc-project/${PN}.git"
+else
+ MY_PV=$(ver_rs 1-2 -)
+ SRC_URI="https://github.com/vmc-project/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Virtual Monte Carlo Geant4 implementation"
+HOMEPAGE="https://github.com/vmc-project/geant4_vmc"
+
+LICENSE="GPL-3"
+SLOT="4"
+IUSE="doc examples geant3 +g4root vgm test"
+
+RDEPEND="
+ sci-physics/clhep:=
+ >=sci-physics/geant-4.11.1:=[opengl,geant3?]
+ sci-physics/root:=
+ >=sci-physics/vmc-2.0:=
+ vgm? ( >=sci-physics/vgm-5.1:= )"
+DEPEND="${RDEPEND}
+ test? ( >=sci-physics/geant-4.11.1:=[gdml] )"
+BDEPEND="doc? ( app-doc/doxygen[dot] )"
+RESTRICT="
+ !examples? ( test )
+ !geant3? ( test )
+ !g4root? ( test )
+ !test? ( test )
+ !vgm? ( test )"
+
+DOCS=(history README.md)
+
+src_configure() {
+ local mycmakeargs=(
+ -DGeant4VMC_USE_VGM="$(usex vgm)"
+ -DGeant4VMC_USE_GEANT4_G3TOG4="$(usex geant3)"
+ -DGeant4VMC_USE_G4Root="$(usex g4root)"
+ -DGeant4VMC_BUILD_EXAMPLES="$(usex test)"
+ -DGeant4VMC_INSTALL_EXAMPLES="$(usex examples)"
+ -DGeant4VMC_BUILD_G4Root_TEST="$(usex test)"
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ if use doc ; then
+ local dirs=(
+ source
+ $(usev g4root)
+ $(usev examples)
+ )
+ local d
+ for d in "${dirs[@]}"; do
+ doxygen "${d}"/Doxyfile || die
+ done
+ fi
+}
+
+src_test() {
+ cd examples || 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() {
+ cmake_src_install
+ use doc && local HTML_DOCS=(doc/.)
+ einstalldocs
+}