summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lxde-base/lxterminal')
-rw-r--r--lxde-base/lxterminal/lxterminal-0.2.0-r1.ebuild (renamed from lxde-base/lxterminal/lxterminal-0.2.0.ebuild)19
-rw-r--r--lxde-base/lxterminal/metadata.xml3
2 files changed, 13 insertions, 9 deletions
diff --git a/lxde-base/lxterminal/lxterminal-0.2.0.ebuild b/lxde-base/lxterminal/lxterminal-0.2.0-r1.ebuild
index 83a43a193575..d2c87cc6f20c 100644
--- a/lxde-base/lxterminal/lxterminal-0.2.0.ebuild
+++ b/lxde-base/lxterminal/lxterminal-0.2.0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
DESCRIPTION="Lightweight vte-based tabbed terminal emulator for LXDE"
HOMEPAGE="http://lxde.sf.net/"
@@ -11,17 +11,18 @@ SRC_URI="mirror://sourceforge/lxde/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~x86 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux"
SLOT="0"
-IUSE=""
+IUSE="gtk3"
-RDEPEND="x11-libs/gtk+:2
- dev-libs/glib:2
- x11-libs/vte:0"
+RDEPEND="dev-libs/glib:2
+ !gtk3? ( x11-libs/gtk+:2 x11-libs/vte:0 )
+ gtk3? ( x11-libs/gtk+:3 x11-libs/vte:2.90 )"
DEPEND="${RDEPEND}
virtual/pkgconfig
sys-devel/gettext
>=dev-util/intltool-0.40.0"
-src_install () {
- emake DESTDIR="${D}" install
- dodoc AUTHORS README
+DOCS=( AUTHORS README )
+
+src_configure() {
+ econf $(use_enable gtk3)
}
diff --git a/lxde-base/lxterminal/metadata.xml b/lxde-base/lxterminal/metadata.xml
index b31e527de265..be43ebb61c28 100644
--- a/lxde-base/lxterminal/metadata.xml
+++ b/lxde-base/lxterminal/metadata.xml
@@ -5,6 +5,9 @@
<email>lxde@gentoo.org</email>
<name>Gentoo LXDE Project</name>
</maintainer>
+ <use>
+ <flag name="gtk3">Use GTK+3 instead of GTK+2</flag>
+ </use>
<upstream>
<remote-id type="sourceforge">lxde</remote-id>
</upstream>