diff options
Diffstat (limited to 'sci-physics/geant')
-rw-r--r-- | sci-physics/geant/Manifest | 12 | ||||
-rw-r--r-- | sci-physics/geant/geant-4.11.0.3.ebuild | 2 | ||||
-rw-r--r-- | sci-physics/geant/geant-4.11.0.4.ebuild (renamed from sci-physics/geant/geant-4.11.0.2-r1.ebuild) | 11 | ||||
-rw-r--r-- | sci-physics/geant/geant-4.11.1.0.ebuild | 4 | ||||
-rw-r--r-- | sci-physics/geant/geant-4.11.1.1.ebuild | 113 | ||||
-rw-r--r-- | sci-physics/geant/metadata.xml | 1 |
6 files changed, 128 insertions, 15 deletions
diff --git a/sci-physics/geant/Manifest b/sci-physics/geant/Manifest index dc3d1d9b3a80..361e1c40877b 100644 --- a/sci-physics/geant/Manifest +++ b/sci-physics/geant/Manifest @@ -1,8 +1,10 @@ AUX geant-4.11.0.2-musl-avoid-execinfo.patch 2812 BLAKE2B 7bede49a061f174d2cd3ad9176db104dc8dd4e8253949412d9b8b749d860fae8d27b29b64f817d0051785d2f657e0a46f9567fd06093e6a1e1aaf8925761b2f3 SHA512 d16ea93357e62571344a26ad8162a50333f0822a4eda9e3d349d9ac8041e39555face07d25382e1f4e53ca5256dbdd213248af329ce5f0d1739ce95cd99add22 -DIST geant4-v11.0.2.tar.gz 35636883 BLAKE2B f22c68cf4c4c9d68d24c98251198804d5790b500ed9077a06ffe5fcc7d84447befc15c93e57f725e68915ff97e7ce022c7f7f5678ceea593aacb231294affa3e SHA512 e7e98242787d1e37303dac54c763e659682adf5c86d30dcefb6c22a7360ba837591c11fb5787a56219461913db786e408f4a344e7ace8ca39cbb8b65b1e23ede DIST geant4-v11.0.3.tar.gz 35680670 BLAKE2B 202cd035cd9ed7520d8662c80a49063b639ec90107255234fca95664b245a12af495546d92227d905f69c5cddabd56ee1fb5b0ecbe468a9e4bf5ff2063f7f705 SHA512 43f86fc8df90a36f26914bd72967c376a909ab9bd7369b4d1c04dc1a95f73cdef4ba32195d4e99cc5eac5ce2c8dc07d6c952aa23347db10e4cef16c47baca34a +DIST geant4-v11.0.4.tar.gz 35827159 BLAKE2B 52297887fb3467c5a08725340da959cda72ebe1b0b0d526d240213a7d954f1c68b379abf04c00b271013a019c1179ce6d6d8dbc22a5339ea66927b30342aa58d SHA512 ae5c60702a9f08e30d202dbd9270c1e1353751b369f7129d91f3744b5ba9c5a30549bf90a1bce98351e0e5ddc57624a8748132c289de1c3a0679670ab4e30602 DIST geant4-v11.1.0.tar.gz 36412990 BLAKE2B 92d7a370ab7c3f2e91edf9bd323ba76833ee1e4973701507c40849b348a032e7cc6baeaf06bff850d76e0b92704ce042a797a41d2ed93e309ca5f4d6ed4c6f8c SHA512 b8d181e3433754b89a27fec8f3a3ebff8289fbd5ec0bc04521b18f0df7774304ea391c3aca547aa03707c83fc72501a670827ef02ab4999e113e869da9eca88f -EBUILD geant-4.11.0.2-r1.ebuild 3487 BLAKE2B f0fc08583e96626e31775e70716bfb1f0d052237dda201704138d8e82da80e169c94dec719b08598a5432366b63db4de62cceff494c4b2e157b374dab0f620d2 SHA512 03c9d5fb6831ead424267f90b6c581eebb04a53bbe6b78e50a2155c2243ff9997ae7dad898dd0b206fda048d617770d301635f462684225c44174323705df091 -EBUILD geant-4.11.0.3.ebuild 3488 BLAKE2B e6e41cca6eac44aa8f0994d1435b1b21092883c8c5fb457cbee68aa61469f12bab511098be676c700dc004d7fe1e7d754575f877412e5442e8cde4e0b14b019f SHA512 5d08c7bbabd5070a5e68164d45d800877234e96fd2e08cbf091f1524eccfea4fd381a4755c2352833ada53b8e1f4b7638826fada5f7b5f73024a6b5969b10af4 -EBUILD geant-4.11.1.0.ebuild 3043 BLAKE2B a45dc43c800bb6495c6ad295194e166bc53c3d095f4662b6a5151570a64f2d3ec16abe0d47e2916222999c8cf02641a8c538de98aea10f60b4438084e6ee43f8 SHA512 9ce40484eadd7c7d97b00dfbcaaed4a7ff8b25e8e675529f285e4eb10c33e74c61b4f15d676c23b1f5e756e46b3685361e0e2f038bbd4332823d7d1caa05c4b9 -MISC metadata.xml 1572 BLAKE2B b5d677b50176c7d2207710cc2f5224ff065f36961da66e628af606adb3c3c90082ddc0181b7bc9db463b26393502bed615c448c92c71f526736f4f23e0ffa61e SHA512 e8d878d6dd63f8209df2eb74cd9ab261c09f31bd6dd5ad3fd901d588dc7a2d514bacfa350413f5d9fa9f5732b591f4244d64e701ab1bdf2f777d8b1a8a81bf86 +DIST geant4-v11.1.1.tar.gz 36404092 BLAKE2B e96ccd5b4e89def53b82220558bcab6201250fbe51530f61572a7fe57463ab4e683c52d48585fbb2a217480185881c5dea02153c53b0de658f96d106e673d9f2 SHA512 874537431c802df78d2ca7b6f243ea78f8c6c5de8dc0f90cb7638631f3cefa784f4b00c46b4a5e88ac9c40f6e4e7188b34dc240c74ec91af75918e196d061915 +EBUILD geant-4.11.0.3.ebuild 3486 BLAKE2B 1acb3168d430f34fbaeb9b40f87edfe45b787ffb537f96ebcf987bd26ceaf0606fe0356193573019e7d77bdd047c75c4cac54b5ba5dc3032d30c5c95bda217e5 SHA512 7bd51dcc1a4296d028bf73b014c70bfc3d5bd17fa4cb5b2274d6faf814a79b0aaa9c97841a95914e6ed1bd68d3696030c87a68b946fe61a5fcec8307fc864358 +EBUILD geant-4.11.0.4.ebuild 3462 BLAKE2B 000d7797f428805db147eaf59aa3a42b089e35b22402cd255c314bc59adcd185230af9338f4baba85cf18b9b52816b42a39e76b5e73ddd114e98ee8f9bcbf666 SHA512 a6e3e41d665b6878302a642047d43c415384e89eb2d353f06dd8b4c823713f7aef391338d0c11acdbd06ffc5aec62842dfbdd2e3542503e34e53be66c7e3143f +EBUILD geant-4.11.1.0.ebuild 3041 BLAKE2B 56c1f279934f93e17f929df6b09f799a8c2221dd4c9ade6471766a8c3b25fcafe87f97a5d791bd9045ae927576ea4cd7fe4c1bf548f924b4d625a98dc540ee60 SHA512 f9c837f5f1b88e0ff548a38fa2d24fc932eb218667a88cec50195878f5c43d4af28bba8bb00b68ed2e212dfadac502a3c57133a20e2ec02eea4de628cd98edf4 +EBUILD geant-4.11.1.1.ebuild 3015 BLAKE2B fd1f2a0372dca10b3aa41915dc45467afcb4082d8538b41e52ea24bb8f9b666fb235f6e7ad7753a2f4bea30de26244ab12d0e302b07164d04ca788520e90bd70 SHA512 77e909be2440a94b009408145fa753539e23f4d087eb747657f183f082098f06f72a992686dcd82fa562188d31ae824178e4adcdc77000bea0114eda52a2b9dd +MISC metadata.xml 1649 BLAKE2B aa1d00d2f11d3c35231a3ea66bc2fe33466b644152171d0a1ded5f62d404816d517e992ada87adf1842d58624ee1b2538b46b3869f5a62185f361507eb78659a SHA512 02a6b99d4fae650dccd478de365c943e200909dd35ea158582b42747fb522c11392eaa84d35566b49f65834571a4e3377bba1d31d20598dd9a1c7a2d98923b14 diff --git a/sci-physics/geant/geant-4.11.0.3.ebuild b/sci-physics/geant/geant-4.11.0.3.ebuild index edb5cf30de8c..77cd061bd19f 100644 --- a/sci-physics/geant/geant-4.11.0.3.ebuild +++ b/sci-physics/geant/geant-4.11.0.3.ebuild @@ -27,7 +27,7 @@ SRC_URI="https://geant4-data.web.cern.ch/geant4-data/releases/${MY_P}.tar.gz" LICENSE="geant4" SLOT="4" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" IUSE="+c++17 c++20 +data debug doc examples freetype gdml geant3 hdf5 inventor motif opengl python qt5 raytracerx static-libs tbb threads vtk" diff --git a/sci-physics/geant/geant-4.11.0.2-r1.ebuild b/sci-physics/geant/geant-4.11.0.4.ebuild index 5df4167d3c7a..d09ff3396b06 100644 --- a/sci-physics/geant/geant-4.11.0.2-r1.ebuild +++ b/sci-physics/geant/geant-4.11.0.4.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit cmake python-single-r1 @@ -27,9 +27,9 @@ SRC_URI="https://geant4-data.web.cern.ch/geant4-data/releases/${MY_P}.tar.gz" LICENSE="geant4" SLOT="4" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="+c++17 c++20 +data debug doc examples freetype gdml geant3 hdf5 inventor motif opengl - python qt5 raytracerx static-libs tbb threads vtk" + python qt5 raytracerx static-libs tbb threads trajectories vtk" REQUIRED_USE=" ^^ ( c++17 c++20 ) @@ -85,7 +85,7 @@ src_configure() { -DCMAKE_CXX_STANDARD=$( (usev c++17 || usev c++20) | cut -c4-) -DGEANT4_BUILD_BUILTIN_BACKTRACE=$(usex debug) -DGEANT4_BUILD_MULTITHREADED=$(usex threads) - -DGEANT4_BUILD_STORE_TRAJECTORY=OFF + -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 @@ -117,8 +117,6 @@ src_configure() { ) fi - [ -v EXTRA_ECONF ] && mycmakeargs+=( ${EXTRA_ECONF} ) - cmake_src_configure } @@ -129,6 +127,5 @@ src_install() { cmake_src_install use python && python_optimize rm "${ED}"/usr/bin/*.{sh,csh} || die "failed to remove obsolete shell scripts" - einstalldocs } diff --git a/sci-physics/geant/geant-4.11.1.0.ebuild b/sci-physics/geant/geant-4.11.1.0.ebuild index 0f958f9e6038..256fb47daacb 100644 --- a/sci-physics/geant/geant-4.11.1.0.ebuild +++ b/sci-physics/geant/geant-4.11.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,7 +25,7 @@ SRC_URI="https://geant4-data.web.cern.ch/geant4-data/releases/${MY_P}.tar.gz" LICENSE="geant4" SLOT="4" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" IUSE="+c++17 c++20 +data debug doc examples freetype gdml geant3 hdf5 inventor motif opengl qt5 raytracerx static-libs tbb threads vtk" diff --git a/sci-physics/geant/geant-4.11.1.1.ebuild b/sci-physics/geant/geant-4.11.1.1.ebuild new file mode 100644 index 000000000000..f27e52f2f965 --- /dev/null +++ b/sci-physics/geant/geant-4.11.1.1.ebuild @@ -0,0 +1,113 @@ +# 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" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+c++17 c++20 +data debug doc examples freetype gdml geant3 hdf5 inventor motif opengl + qt5 raytracerx static-libs tbb threads trajectories vtk" + +REQUIRED_USE=" + ^^ ( c++17 c++20 ) + inventor? ( opengl ) + motif? ( opengl ) + qt5? ( opengl ) + tbb? ( threads ) + vtk? ( qt5 ) +" + +RDEPEND=" + dev-libs/expat + >=sci-physics/clhep-2.4.6.2:2=[threads?] + data? ( ~sci-physics/geant-data-4.11.1.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/qtprintsupport: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" + -DCMAKE_CXX_STANDARD=$( (usev c++17 || usev c++20) | cut -c4-) + -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/geant/metadata.xml b/sci-physics/geant/metadata.xml index 61a7e1097826..e30535f60f9a 100644 --- a/sci-physics/geant/metadata.xml +++ b/sci-physics/geant/metadata.xml @@ -24,6 +24,7 @@ <flag name="inventor">Add support for Open Inventor SGI toolkit via Coin3D</flag> <flag name="raytracerx">Enable raytracing for physics events</flag> <flag name="tbb">Enable support for <pkg>dev-cpp/tbb</pkg></flag> + <flag name="trajectories">Enable display of particle trajectories</flag> <flag name="vtk">Use <pkg>sci-libs/vtk</pkg> for visualization (experimental)</flag> </use> <upstream> |