# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="5" TRINITY_MODULE_TYPE="dependencies" TRINITY_MODULE_NAME="${PN}" inherit trinity-base DESCRIPTION="Interface and abstraction library for Qt and Trinity" HOMEPAGE="http://trinitydesktop.org/" LICENSE="GPL-2" KEYWORDS="x86 amd64" IUSE="+qt3 -qt4" SLOT="0" DEPEND="qt3? ( >=dev-qt/qt-3.3.8d:3 ) qt4? ( dev-qt/qt-meta:4 ) !!x11-libs/tqtinterface" RDEPEND="${RDEPEND}" src_configure() { mycmakeargs=( $(cmake-utils_use qt3 USE_QT3) $(cmake-utils_use qt4 USE_QT4) ) cmake-utils_src_configure }