# Copyright @ 2019-2023 Oslo University Hospital # Distributed under the terms of the BSD 3 Clause License EAPI=7 PYTHON_COMPAT=( python3_{9..10} ) inherit cmake python-single-r1 git-r3 # Short one-line description of this package. DESCRIPTION="Open source medical image processing and visualization software" EGIT_REPO_URI="https://github.com/Slicer/Slicer.git" EGIT_BRANCH="main" # Homepage, not used by Portage directly but handy for developer reference HOMEPAGE="https://www.slicer.org/" LICENSE="BSD" if [[ ${PV} != *9999* ]]; then KEYWORDS="~amd64 ~x86" fi SLOT="0" IUSE="python cli DICOM" DEPEND=" sci-medical/ctk[python?,DICOM?] sci-libs/vtkAddon[python?] dev-qt/qtcore:5 dev-qt/linguist-tools:5 dev-qt/qtmultimedia:5[widgets] dev-qt/qtopengl:5 dev-qt/qtsql:5 dev-qt/qtxmlpatterns:5 dev-qt/qtx11extras:5 dev-qt/qtsvg:5 dev-qt/qtwebengine:5 dev-qt/qtwebchannel:5 dev-qt/qtnetwork:5 dev-qt/qtscript:5 dev-qt/designer:5 dev-libs/rapidjson dev-libs/jsoncpp dev-libs/qRestAPI sci-medical/CTKAppLauncherLib sci-medical/teem cli? ( Slicer-CLI/SlicerExecutionModel ) sci-libs/itk[vtkglue,deprecated] sci-libs/vtk:0= " RDEPEND=" ${DEPEND} python? ( ${PYTHON_DEPS} dev-python/scipy dev-python/numpy ) " # NOTE: This is due to incompatibilities with some versions of cmake # for reference see https://github.com/Slicer/Slicer/pull/6852 BDEPEND="