Skip to content

Commit

Permalink
media-libs/openimageio: restore USE=dicom
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
thesamesam committed Nov 13, 2020
1 parent 4a05f76 commit 4838429
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions media-libs/openimageio/openimageio-2.2.8.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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= )
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4838429

Please sign in to comment.