commit:     5ec1a0124b63060022b8d6e5babd0cd9338666ee
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 27 11:36:39 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 11:38:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ec1a012

media-libs/openimageio: correct dependency on opengl

and fix an unused cmake variable warning

Closes: https://bugs.gentoo.org/909280
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 media-libs/openimageio/openimageio-2.4.12.0.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/media-libs/openimageio/openimageio-2.4.12.0.ebuild 
b/media-libs/openimageio/openimageio-2.4.12.0.ebuild
index 8520aeeffd4e..031e7ea96764 100644
--- a/media-libs/openimageio/openimageio-2.4.12.0.ebuild
+++ b/media-libs/openimageio/openimageio-2.4.12.0.ebuild
@@ -78,18 +78,14 @@ RDEPEND="
                ')
        )
        qt5? (
-               media-libs/glew:=
-               virtual/glu
-               virtual/opengl
+               media-libs/libglvnd
                dev-qt/qtcore:5
                dev-qt/qtgui:5
                dev-qt/qtopengl:5
                dev-qt/qtwidgets:5
        )
        qt6? (
-               media-libs/glew:=
-               virtual/glu
-               virtual/opengl
+               media-libs/libglvnd
                dev-qt/qtbase:6[gui,widgets,opengl]
        )
        raw? ( media-libs/libraw:= )
@@ -164,7 +160,7 @@ src_configure() {
                        mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Qt6=ON )
                fi
        else
-               mycmakeargs+=( -DENABLE_IV=OFF -DUSE_OPENGL=OFF -DUSE_QT=OFF )
+               mycmakeargs+=( -DENABLE_IV=OFF -DUSE_QT=OFF )
        fi
 
        if use python; then

Reply via email to