summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2016-05-11 20:24:45 +0200
committerDavide Pesavento <pesa@gentoo.org>2016-05-11 20:26:22 +0200
commit09bf545aea84808494fbc616004bc71c41f37fdf (patch)
treea52f393ce565828c48d3d9088aa72b4e1bd41876 /x11-terms/qterminal
parentmedia-libs/mlt: version bump (diff)
downloadgentoo-09bf545aea84808494fbc616004bc71c41f37fdf.tar.gz
gentoo-09bf545aea84808494fbc616004bc71c41f37fdf.tar.bz2
gentoo-09bf545aea84808494fbc616004bc71c41f37fdf.zip
x11-terms/qterminal: EAPI=6; drop USE=qt4 as per Qt team policy
Package-Manager: portage-2.2.28
Diffstat (limited to 'x11-terms/qterminal')
-rw-r--r--x11-terms/qterminal/qterminal-0.6.0-r1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/x11-terms/qterminal/qterminal-0.6.0-r1.ebuild b/x11-terms/qterminal/qterminal-0.6.0-r1.ebuild
new file mode 100644
index 000000000000..a075af44501c
--- /dev/null
+++ b/x11-terms/qterminal/qterminal-0.6.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit cmake-utils
+
+DESCRIPTION="Qt-based multitab terminal emulator"
+HOMEPAGE="https://github.com/lxde/qterminal"
+SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="qt5"
+
+RDEPEND="
+ !qt5? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ x11-libs/libqxt
+ ~x11-libs/qtermwidget-${PV}[qt4]
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ ~x11-libs/qtermwidget-${PV}[qt5]
+ )
+"
+DEPEND="${RDEPEND}
+ qt5? ( dev-qt/linguist-tools:5 )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_QT5=$(usex qt5)
+ -DUSE_SYSTEM_QXT=$(usex !qt5)
+ )
+ cmake-utils_src_configure
+}