summaryrefslogtreecommitdiffstats
path: root/dev-tqt/tqtinterface/tqtinterface-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tqt/tqtinterface/tqtinterface-9999.ebuild')
-rw-r--r--dev-tqt/tqtinterface/tqtinterface-9999.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/dev-tqt/tqtinterface/tqtinterface-9999.ebuild b/dev-tqt/tqtinterface/tqtinterface-9999.ebuild
index e3f00612..6448acb0 100644
--- a/dev-tqt/tqtinterface/tqtinterface-9999.ebuild
+++ b/dev-tqt/tqtinterface/tqtinterface-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI="7"
TRINITY_MODULE_TYPE="dependencies"
TRINITY_MODULE_NAME="${PN}"
@@ -12,21 +12,22 @@ HOMEPAGE="http://trinitydesktop.org/"
LICENSE="GPL-2"
KEYWORDS=
-IUSE="+tqt"
-REQUIRED_USE="^^ ( tqt )"
SLOT="0"
-DEPEND="tqt? ( >=dev-tqt/tqt-9999 )"
+#Note: for the sake of easier maintenance, building against QT3
+# (no T) is no longer a thing.
+DEPEND="~dev-tqt/tqt-${PV}
+ !!x11-libs/tqtinterface"
RDEPEND="${DEPEND}"
pkg_setup() {
- use tqt && export TQTDIR="/usr/tqt3"
+ export QTDIR="/usr/tqt3"
}
src_configure() {
mycmakeargs=(
- -DUSE_QT3=ON
- -DQT_PREFIX_DIR="$TQTDIR"
+ -DUSE_QT3=ON
+ -DQT_PREFIX_DIR="$QTDIR"
)
cmake-utils_src_configure