-# 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/"
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)
}
<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>