commit:     5fac7d21d7dfdb883a5750846929b89144223bf0
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Mon Nov 10 14:49:59 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Jan  2 16:52:45 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fac7d21

sci-libs/opencascade: Drop IUSE examples,inspector (Qt5-deps)

Bug: https://bugs.gentoo.org/955651
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44585
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/opencascade/opencascade-9999.ebuild | 32 ++++------------------------
 1 file changed, 4 insertions(+), 28 deletions(-)

diff --git a/sci-libs/opencascade/opencascade-9999.ebuild 
b/sci-libs/opencascade/opencascade-9999.ebuild
index a0d8a1efe64d..e968dc552f03 100644
--- a/sci-libs/opencascade/opencascade-9999.ebuild
+++ b/sci-libs/opencascade/opencascade-9999.ebuild
@@ -31,7 +31,7 @@ fi
 
 LICENSE="|| ( Open-CASCADE-LGPL-2.1-Exception-1.0 LGPL-2.1 )"
 SLOT="0/$(ver_cut 1-2)"
-IUSE="X debug doc examples freeimage gles2 inspector jemalloc json opengl 
optimize tbb test testprograms tk truetype vtk"
+IUSE="X debug doc freeimage gles2 jemalloc json opengl optimize tbb test 
testprograms tk truetype vtk"
 
 # vtk libs are hardcoded in src/TKIVtk*/EXTERNLIB
 REQUIRED_USE="
@@ -55,21 +55,7 @@ RDEPEND="
        X? (
                x11-libs/libX11
        )
-       examples? (
-               dev-qt/qtcore:5
-               dev-qt/qtgui:5
-               dev-qt/qtquickcontrols2:5
-               dev-qt/qtwidgets:5
-               dev-qt/qtxml:5
-       )
        freeimage? ( media-libs/freeimage )
-       inspector? (
-               dev-qt/qtcore:5
-               dev-qt/qtgui:5
-               dev-qt/qtquickcontrols2:5
-               dev-qt/qtwidgets:5
-               dev-qt/qtxml:5
-       )
        jemalloc? ( dev-libs/jemalloc )
        tbb? ( dev-cpp/tbb:= )
        truetype? (
@@ -90,9 +76,6 @@ DEPEND="
 "
 BDEPEND="
        doc? ( app-text/doxygen[dot] )
-       inspector? (
-               dev-qt/linguist-tools:5
-       )
        test? ( dev-tcltk/thread )
 "
 
@@ -149,7 +132,7 @@ src_configure() {
                -DBUILD_SOVERSION_NUMBERS=2
 
                -DBUILD_DOC_Overview="$(usex doc)"
-               -DBUILD_Inspector="$(usex inspector)"
+               -DBUILD_Inspector="no"
 
                -DBUILD_ENABLE_FPE_SIGNAL_HANDLER="$(usex debug)"
                -DBUILD_USE_PCH="no"
@@ -166,11 +149,11 @@ src_configure() {
                -DINSTALL_DIR_INCLUDE="include/${PN}"
                -DINSTALL_DIR_LIB="$(get_libdir)/${PN}"
                -DINSTALL_DIR_RESOURCE="share/${PN}/resources"
-               -DINSTALL_DIR_SAMPLES="share/${PN}/samples"
+               # -DINSTALL_DIR_SAMPLES="share/${PN}/samples"
                -DINSTALL_DIR_SCRIPT="$(get_libdir)/${PN}/bin"
                -DINSTALL_DIR_TESTS="share/${PN}/tests"
                -DINSTALL_DIR_WITH_VERSION="no"
-               -DINSTALL_SAMPLES="$(usex examples)"
+               -DINSTALL_SAMPLES="no"
 
                -DINSTALL_TEST_CASES="$(usex testprograms)"
 
@@ -214,13 +197,6 @@ src_configure() {
                )
        fi
 
-       if use examples || use inspector; then
-               mycmakeargs+=(
-                       -D3RDPARTY_QT_DIR="${ESYSROOT}/usr"
-                       -DBUILD_SAMPLES_QT="$(usex examples)"
-               )
-       fi
-
        if use tbb; then
                mycmakeargs+=(
                        -D3RDPARTY_TBB_DIR="${ESYSROOT}/usr"

Reply via email to