commit:     4bc56d03df1c7bad3cc8d71e38b3c7b1b67ff8bd
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 12:33:47 2024 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 16:35:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc56d03

sci-physics/geant: update dependencies and REQUIRED_USE

Not only RayTracerX depends on X11, other options also do. The
combination of USE=-raytracerx with other options that depended on
X11 libraries could cause configuration to fail. Since most other
options depend on OpenGL, add X11 dependencies there and update
REQUIRED_USE accordingly.

Closes: https://bugs.gentoo.org/946281

Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 .../geant/{geant-4.11.3.0.ebuild => geant-4.11.3.0-r1.ebuild} | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/sci-physics/geant/geant-4.11.3.0.ebuild 
b/sci-physics/geant/geant-4.11.3.0-r1.ebuild
similarity index 98%
rename from sci-physics/geant/geant-4.11.3.0.ebuild
rename to sci-physics/geant/geant-4.11.3.0-r1.ebuild
index 93df6ed38d47..21112b59e585 100644
--- a/sci-physics/geant/geant-4.11.3.0.ebuild
+++ b/sci-physics/geant/geant-4.11.3.0-r1.ebuild
@@ -36,6 +36,7 @@ REQUIRED_USE="
        inventor? ( opengl )
        motif? ( opengl )
        qt6? ( opengl )
+       raytracerx? ( opengl )
        tbb? ( threads )
        vtk? ( qt6 )
 "
@@ -49,15 +50,15 @@ RDEPEND="
        hdf5? ( sci-libs/hdf5:=[threads?] )
        inventor? ( media-libs/SoXt )
        motif? ( x11-libs/motif:0 )
-       opengl? ( virtual/opengl )
+       opengl? (
+               virtual/opengl
+               x11-libs/libX11
+               x11-libs/libXmu
+       )
        qt6? (
                dev-qt/qt3d:6
                dev-qt/qtbase:6[gui,opengl?,widgets]
        )
-       raytracerx? (
-               x11-libs/libX11
-               x11-libs/libXmu
-       )
        vtk? ( sci-libs/vtk:=[qt6] )
 "
 DEPEND="${RDEPEND}"

Reply via email to