commit:     9ef80217ea5856679443ddf5bed3340b921c5f45
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Thu Feb 10 23:58:33 2022 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Feb 11 07:36:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ef80217

sci-physics/geant4_vmc: Update live ebuild.

Upstream has dropped the mtroot option
(migrated into sci-physics/vmc), doc generation has been simplified.

Closes: https://github.com/gentoo/gentoo/pull/24152

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 sci-physics/geant4_vmc/geant4_vmc-9999.ebuild | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild 
b/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild
index 9ad9d152375f..02d5af437b7d 100644
--- a/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild
+++ b/sci-physics/geant4_vmc/geant4_vmc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -20,7 +20,7 @@ HOMEPAGE="https://github.com/vmc-project/geant4_vmc";
 
 LICENSE="GPL-3"
 SLOT="4"
-IUSE="doc examples geant3 +g4root +mtroot vgm test"
+IUSE="doc examples geant3 +g4root vgm test"
 
 RDEPEND="
        sci-physics/geant[c++17,opengl,geant3?]
@@ -33,7 +33,6 @@ RESTRICT="
        !examples? ( test )
        !geant3? ( test )
        !g4root? ( test )
-       !mtroot? ( test )
        !test? ( test )
        !vgm? ( test )"
 
@@ -44,7 +43,6 @@ src_configure() {
                -DGeant4VMC_USE_VGM="$(usex vgm)"
                -DGeant4VMC_USE_GEANT4_G3TOG4="$(usex geant3)"
                -DGeant4VMC_USE_G4Root="$(usex g4root)"
-               -DGeant4VMC_BUILD_MTRoot="$(usex mtroot)"
                -DGeant4VMC_BUILD_EXAMPLES="$(usex test)"
                -DGeant4VMC_INSTALL_EXAMPLES="$(usex examples)"
        )
@@ -57,14 +55,11 @@ src_compile() {
                local dirs=(
                        source
                        $(usev g4root)
-                       $(usev mtroot)
                        $(usev examples)
                )
                local d
                for d in "${dirs[@]}"; do
-                       pushd "${d}" > /dev/null || die
-                       doxygen || die
-                       popd > /dev/null || die
+                       doxygen "${d}"/Doxyfile || die
                done
        fi
 }

Reply via email to