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@gentoo.org>
This commit is contained in:
Guilherme Amadio
2024-12-12 13:33:47 +01:00
parent 98b0b2e6d6
commit 4bc56d03df

View File

@@ -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}"