# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" inherit eutils toolchain-funcs cmake-utils flag-o-matic DESCRIPTION="ITK snap tool for segmentation of medical data" HOMEPAGE="http://www.itksnap.org" SRC_URI="mirror://sourceforge/itk-snap/itksnap-source-${PV}.tar.gz" RESTRICT="primaryuri" LICENSE="GPL-3" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" append-cxxflags -fPIC -funroll-loops -ftree-vectorize RDEPEND=">=sci-libs/itk-4.8.0[itkv3compat] >=sci-libs/vtk-7 >=dev-qt/qtgui-5.4 >=dev-qt/qtwidgets-5.4 >=dev-qt/qtopengl-5.4 >=dev-qt/qtcore-5.4 >=dev-qt/qtconcurrent-5.4 >=dev-qt/qtnetwork-5.4 >=dev-qt/qtdeclarative-5.4 media-libs/libpng:0 virtual/jpeg:62 " DEPEND="${RDEPEND} >=dev-util/cmake-2.8 " src_configure() { local mycmakeargs=( -DSNAP_PACKAGE_QT_PLUGINS=OFF ) cmake-utils_src_configure }