# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 EHG_REPO_URI="https://bitbucket.org/Coin3D/soqt" EHG_CONFIG="subpaths.\.\./(.*)=https://bitbucket.org/Coin3D/\1" inherit mercurial cmake-utils DESCRIPTION="The glue between Coin3D and Qt" HOMEPAGE="https://bitbucket.org/Coin3D/soqt" LICENSE="|| ( GPL-2 PEL )" KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" SLOT="0" IUSE="debug static-libs" RDEPEND=" >=media-libs/coin-9999 virtual/opengl dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtopengl:5 dev-qt/qtwidgets:5 " DEPEND="${RDEPEND}" DOCS=(AUTHORS ChangeLog FAQ HACKING NEWS README) src_configure() { local mycmakeargs=( -DCOIN_IV_EXTENSIONS=ON -DSOQT_BUILD_SHARED_LIBS=$(usex static-libs no yes) -DUSE_QT5=ON -DCMAKE_INSTALL_INCLUDEDIR=include/coin ) cmake-utils_src_configure }