diff options
author | Sam James <sam@gentoo.org> | 2020-11-13 18:30:24 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-11-13 18:30:32 +0000 |
commit | 48384290f8a27812d3c260117d3fc0691748dee5 (patch) | |
tree | 289d322a43317761286aa2cdf1c5c3ed6ee4d903 /media-libs/openimageio | |
parent | games-misc/xcowsay: drop old version (diff) | |
download | gentoo-48384290f8a27812d3c260117d3fc0691748dee5.tar.gz gentoo-48384290f8a27812d3c260117d3fc0691748dee5.tar.bz2 gentoo-48384290f8a27812d3c260117d3fc0691748dee5.zip |
media-libs/openimageio: restore USE=dicom
sci-libs/dcmtk has a non-free licence, so let's
make it conditional once more.
Closes: https://bugs.gentoo.org/754216
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/openimageio')
-rw-r--r-- | media-libs/openimageio/openimageio-2.2.8.0.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/media-libs/openimageio/openimageio-2.2.8.0.ebuild b/media-libs/openimageio/openimageio-2.2.8.0.ebuild index 847ae6ec6348..934cf38bd1c8 100644 --- a/media-libs/openimageio/openimageio-2.2.8.0.ebuild +++ b/media-libs/openimageio/openimageio-2.2.8.0.ebuild @@ -21,7 +21,7 @@ X86_CPU_FEATURES=( ) CPU_FEATURES=( ${X86_CPU_FEATURES[@]/#/cpu_flags_x86_} ) -IUSE="doc ffmpeg field3d gif jpeg2k opencv opengl openvdb ptex python qt5 raw +truetype ${CPU_FEATURES[@]%:*}" +IUSE="dicom doc ffmpeg field3d gif jpeg2k opencv opengl openvdb ptex python qt5 raw +truetype ${CPU_FEATURES[@]%:*}" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" # test data in separate repo @@ -50,9 +50,9 @@ RDEPEND=" media-libs/opencolorio:= >=media-libs/openexr-2.2.0-r2:= media-libs/tiff:0= - sci-libs/dcmtk sys-libs/zlib:= virtual/jpeg:0 + dicom? ( sci-libs/dcmtk ) ffmpeg? ( media-video/ffmpeg:= ) field3d? ( media-libs/Field3D:= ) gif? ( media-libs/giflib:0= ) @@ -115,6 +115,7 @@ src_configure() { -DBUILD_DOCS=$(usex doc) -DINSTALL_DOCS=$(usex doc) -DSTOP_ON_WARNING=OFF + -DUSE_DCMTK=$(usex dicom) -DUSE_EXTERNAL_PUGIXML=ON -DUSE_JPEGTURBO=ON -DUSE_NUKE=OFF # not in Gentoo |