From b2a3508c3634488d32ec5bbe6b4365ab27185ebd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 19 Sep 2022 17:22:12 +0100 Subject: gentoo auto-resync : 19:09:2022 - 17:22:11 --- sci-physics/Manifest.gz | Bin 4204 -> 4199 bytes sci-physics/geant/Manifest | 6 +- sci-physics/geant/geant-4.11.0.1-r1.ebuild | 130 ---------------------------- sci-physics/geant/geant-4.11.0.2-r1.ebuild | 2 +- sci-physics/geant/geant-4.11.0.3.ebuild | 133 +++++++++++++++++++++++++++++ 5 files changed, 137 insertions(+), 134 deletions(-) delete mode 100644 sci-physics/geant/geant-4.11.0.1-r1.ebuild create mode 100644 sci-physics/geant/geant-4.11.0.3.ebuild (limited to 'sci-physics') diff --git a/sci-physics/Manifest.gz b/sci-physics/Manifest.gz index 6083fb57c2ca..35f127c5d727 100644 Binary files a/sci-physics/Manifest.gz and b/sci-physics/Manifest.gz differ diff --git a/sci-physics/geant/Manifest b/sci-physics/geant/Manifest index b4334a1a2d38..b73e5d4a6e7d 100644 --- a/sci-physics/geant/Manifest +++ b/sci-physics/geant/Manifest @@ -1,8 +1,8 @@ AUX geant-4.11.0.2-musl-avoid-execinfo.patch 2812 BLAKE2B 7bede49a061f174d2cd3ad9176db104dc8dd4e8253949412d9b8b749d860fae8d27b29b64f817d0051785d2f657e0a46f9567fd06093e6a1e1aaf8925761b2f3 SHA512 d16ea93357e62571344a26ad8162a50333f0822a4eda9e3d349d9ac8041e39555face07d25382e1f4e53ca5256dbdd213248af329ce5f0d1739ce95cd99add22 -DIST geant4-v11.0.1.tar.gz 35643646 BLAKE2B 52af009440d70aa1547d07e4367266a4e02561d0d5d509399db94ce8dcf41d491085b8de908efee7fbe3e7324963f57c9e36e1beeed9a6cef42d327b2f2201a0 SHA512 d189e6aca04dfa6a7a371f2273105d7fb80719c9e1cade7c170ff350d22db5cb33cbfece4c1f8c4d5a374a048bb95f6e9fcd37b03a3a7c2d946e046c4ea608fa 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.10.07.p03.tar.gz 35756099 BLAKE2B 9e510d17173d280a24d2540d0e0f25f7337a410858c30e9281b937a8402cbc0acd022cc6f41cc3b88fec28b53fa8a266d79e90bfb6545f4ecffe0724e36183da SHA512 174e4f37ca977eff89bbd8f72f18ef5534db72d966665b9a837ed26acffa527d45741fd38fde460f0719c8962dc2ee33db1f3dfe065a7d0e74c148e4582c095c EBUILD geant-4.10.7.3.ebuild 2977 BLAKE2B 9cc044c0122abe4817069e694dd2e5d9a097047a7953243b6f3a5c4fc42fdc02c1d744b273df7763bee6c9751825c0e99fe89f932359902acf8d6a69fd72ee76 SHA512 ebe32fedd0fb593ec393861ea277bf77a9f49d50fa432b2e3191a35ce213108ec2bd2105a5aa9fb2add7c6dbf01dc2c048e8515676d3aef031970afe1978f6eb -EBUILD geant-4.11.0.1-r1.ebuild 3419 BLAKE2B 93bbe0d69869fbc6b5a305d7fd5aba2d53f209c1b5f61fa0cf7b6a560699580bf3d7d7d982e5db1b49adafda51709c2e59c447b023e8df9e91c4bebeff88a716 SHA512 b5b00bd23629e444880942db4748fe4ffae504141c06e2e19c33dbaf09899afe4ca8307805425ed38219fd92d3d45513ef53360caef5d8799946e00cff03d359 -EBUILD geant-4.11.0.2-r1.ebuild 3489 BLAKE2B d99404345102af41947ae99940a313bc933c1afbd4b0345950b4851f46507e258b74533557cc23e82fda816d1b9243e8020e85d6b4cdcba2999fcb9a2b12c081 SHA512 6cf7877a6b4f5d88b286866909857c402528333e549b9f1787c67fbbdec56347f8b66451d71f982b87fba316b32f377c457b49ef3c97dff95852a2a62a21e113 +EBUILD geant-4.11.0.2-r1.ebuild 3488 BLAKE2B 856be51fc0be681d660d5dfc7740fa4a68cd741a472b3cf8652c4b6a2bf616af0a681cf9d566432f60cbbfa76c66cf6a4d9b7073f7b06b9be778ce033e3c2cbb SHA512 fe5b97a172c027c204964c54394253d4a9d9ae60a616a24fdcc2c96ce39ff11903f6464c45f89a58febef063b54075afeb5beb2e4299b4bcd04a7269e08e6c26 +EBUILD geant-4.11.0.3.ebuild 3488 BLAKE2B 4881b875eb418da776b2142224cb89e6f90fea68dd8fbcec424adb5d2f6c698d1d62960bc76f29d6db39965fa0fa0d295dfe38188e6208236513067237aac17f SHA512 be78ae2d7e200acc312279a1e6f63468b1d6097d779f32e390e70fe8df6543b1f3205dbcab27d5c7edefc184024f0b6bfa4d6fcf9ef39697312ab533e4151db2 MISC metadata.xml 1776 BLAKE2B 74ebef8d1d7ef17c516b71eeb1a901b9a1692633ba876c15c72163128f20a14b9c2fad760a21676ea81322b281d8f67de9b8b67ffccda6a1a6872f47b7022aec SHA512 1bf55d45afb8cead41c8984e029019beaba353483491c770b16f5f6f9e0b600950222104e7c157348ac11cacd098da886dc9d3053a04748cf237a45dc23326a1 diff --git a/sci-physics/geant/geant-4.11.0.1-r1.ebuild b/sci-physics/geant/geant-4.11.0.1-r1.ebuild deleted file mode 100644 index cd4e386544a0..000000000000 --- a/sci-physics/geant/geant-4.11.0.1-r1.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit cmake python-single-r1 - -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 - python qt5 raytracerx static-libs tbb threads vtk" - -REQUIRED_USE=" - ^^ ( c++17 c++20 ) - inventor? ( opengl ) - motif? ( opengl ) - python? ( ${PYTHON_REQUIRED_USE} ) - qt5? ( opengl ) - tbb? ( threads ) - vtk? ( qt5 ) -" - -RDEPEND=" - dev-libs/expat - >=sci-physics/clhep-2.4.5.1:2=[threads?] - data? ( ~sci-physics/geant-data-4.11.0.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 ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-libs/boost:=[python,${PYTHON_USEDEP}] - ') - ) - 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}" - -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=OFF - -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_PYTHON=$(usex python) - -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) - ) - - if use python; then - mycmakeargs+=( - -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}" - -DCMAKE_INSTALL_PYTHONDIR="${EPREFIX}/usr/lib/${EPYTHON}/site-packages" - ) - fi - - [ -v EXTRA_ECONF ] && mycmakeargs+=( ${EXTRA_ECONF} ) - - 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 - 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.0.2-r1.ebuild b/sci-physics/geant/geant-4.11.0.2-r1.ebuild index e43a735dfdc4..13238f4acef0 100644 --- a/sci-physics/geant/geant-4.11.0.2-r1.ebuild +++ b/sci-physics/geant/geant-4.11.0.2-r1.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.3.ebuild b/sci-physics/geant/geant-4.11.0.3.ebuild new file mode 100644 index 000000000000..05e64880c997 --- /dev/null +++ b/sci-physics/geant/geant-4.11.0.3.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake python-single-r1 + +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 + python qt5 raytracerx static-libs tbb threads vtk" + +REQUIRED_USE=" + ^^ ( c++17 c++20 ) + inventor? ( opengl ) + motif? ( opengl ) + python? ( ${PYTHON_REQUIRED_USE} ) + qt5? ( opengl ) + tbb? ( threads ) + vtk? ( qt5 ) +" + +RDEPEND=" + dev-libs/expat + >=sci-physics/clhep-2.4.5.1:2=[threads?] + data? ( ~sci-physics/geant-data-4.11.0.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 ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-libs/boost:=[python,${PYTHON_USEDEP}] + ') + ) + 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=OFF + -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_PYTHON=$(usex python) + -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) + ) + + if use python; then + mycmakeargs+=( + -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}" + -DCMAKE_INSTALL_PYTHONDIR="${EPREFIX}/usr/lib/${EPYTHON}/site-packages" + ) + fi + + [ -v EXTRA_ECONF ] && mycmakeargs+=( ${EXTRA_ECONF} ) + + 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 + use python && python_optimize + rm "${ED}"/usr/bin/*.{sh,csh} || die "failed to remove obsolete shell scripts" + einstalldocs +} -- cgit v1.2.3