You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
717 B
37 lines
717 B
# Copyright 1999-2016 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=
|
|
IUSE="-qt3 +tqt"
|
|
REQUIRED_USE="^^ ( qt3 tqt )"
|
|
SLOT="0"
|
|
|
|
DEPEND="qt3? ( >=dev-qt/qt-3.9999:3 )
|
|
tqt? ( >=dev-qt/tqt-3.9999 )
|
|
!!x11-libs/tqtinterface"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
pkg_setup() {
|
|
use qt3 && export QTDIR="/usr/qt/3"
|
|
use tqt && export QTDIR="/usr/tqt3"
|
|
}
|
|
|
|
src_configure() {
|
|
mycmakeargs=(
|
|
-DUSE_QT3=ON
|
|
-DQT_PREFIX_DIR="$QTDIR"
|
|
)
|
|
|
|
cmake-utils_src_configure
|
|
}
|