diff options
Diffstat (limited to 'dev-tqt/tqtinterface')
-rw-r--r-- | dev-tqt/tqtinterface/metadata.xml | 12 | ||||
-rw-r--r-- | dev-tqt/tqtinterface/tqtinterface-9999.ebuild | 33 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-tqt/tqtinterface/metadata.xml b/dev-tqt/tqtinterface/metadata.xml new file mode 100644 index 00000000..1fb59563 --- /dev/null +++ b/dev-tqt/tqtinterface/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Alexander Golubev</name> + </maintainer> + <use> + <flag name="qt3">Support for qt3 library(<pkg>dev-qt/qt</pkg>:3)</flag> + <flag name="tqt">Support for tqt library(<pkg>dev-qt/tqt</pkg>:3) a trinity fork of qt3</flag> + </use> +</pkgmetadata> diff --git a/dev-tqt/tqtinterface/tqtinterface-9999.ebuild b/dev-tqt/tqtinterface/tqtinterface-9999.ebuild new file mode 100644 index 00000000..e3f00612 --- /dev/null +++ b/dev-tqt/tqtinterface/tqtinterface-9999.ebuild @@ -0,0 +1,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 +} |