From 65f587cba61d970bb72e086febe3edb50b175891 Mon Sep 17 00:00:00 2001 From: Paul Zander Date: Fri, 27 Oct 2023 13:13:56 +0200 Subject: media-libs/openimageio: silence warnings Closes: https://bugs.gentoo.org/913746 Signed-off-by: Paul Zander Signed-off-by: Andrew Ammerlaan --- media-libs/openimageio/openimageio-2.4.14.0.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'media-libs/openimageio/openimageio-2.4.14.0.ebuild') diff --git a/media-libs/openimageio/openimageio-2.4.14.0.ebuild b/media-libs/openimageio/openimageio-2.4.14.0.ebuild index 008c987ed88e..0de0832197fc 100644 --- a/media-libs/openimageio/openimageio-2.4.14.0.ebuild +++ b/media-libs/openimageio/openimageio-2.4.14.0.ebuild @@ -108,6 +108,7 @@ pkg_setup() { } src_prepare() { + use dicom || rm -r "${S}/src/dicom.imageio/" || die cmake_src_prepare cmake_comment_add_subdirectory src/fonts @@ -162,9 +163,7 @@ src_configure() { if use gui; then mycmakeargs+=( -DENABLE_IV=ON -DUSE_OPENGL=ON -DUSE_QT=ON ) - if use qt6; then - mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Qt5=ON ) - else + if ! use qt6; then mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Qt6=ON ) fi else -- cgit v1.2.3-65-gdbad