summaryrefslogtreecommitdiffstats
path: root/dev-tqt/tqtinterface/tqtinterface-9999.ebuild
blob: e3f006125416843d526a42b83b7d820195ac275f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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 TQt and Trinity"
HOMEPAGE="http://trinitydesktop.org/"

LICENSE="GPL-2"
KEYWORDS=
IUSE="+tqt"
REQUIRED_USE="^^ ( tqt )"
SLOT="0"

DEPEND="tqt? ( >=dev-tqt/tqt-9999 )"
RDEPEND="${DEPEND}"

pkg_setup() {
	use tqt && export TQTDIR="/usr/tqt3"
}

src_configure() {
	mycmakeargs=(
	    -DUSE_QT3=ON
		-DQT_PREFIX_DIR="$TQTDIR"
	 )

	 cmake-utils_src_configure
}