summaryrefslogtreecommitdiffstats
path: root/gentoo/dev-qt/tqtinterface/tqtinterface-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'gentoo/dev-qt/tqtinterface/tqtinterface-9999.ebuild')
-rw-r--r--gentoo/dev-qt/tqtinterface/tqtinterface-9999.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/gentoo/dev-qt/tqtinterface/tqtinterface-9999.ebuild b/gentoo/dev-qt/tqtinterface/tqtinterface-9999.ebuild
new file mode 100644
index 000000000..f0e131676
--- /dev/null
+++ b/gentoo/dev-qt/tqtinterface/tqtinterface-9999.ebuild
@@ -0,0 +1,36 @@
+# 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
+}