summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Korepanov <kaikaikai@yandex.ru>2016-04-22 11:01:16 +0100
committerPatrice Clement <monsieurp@gentoo.org>2016-06-05 08:29:43 +0000
commit2bf7cce9aa019ef4ed480de21b10eb00bef13c9f (patch)
tree313abbbfae9c3b6bd1da23000fa59cb010b4cb7d /lxde-base/lxterminal
parentsec-policy/selinux-base: Drop old blocker on selinux-base-policy (diff)
downloadgentoo-2bf7cce9aa019ef4ed480de21b10eb00bef13c9f.tar.gz
gentoo-2bf7cce9aa019ef4ed480de21b10eb00bef13c9f.tar.bz2
gentoo-2bf7cce9aa019ef4ed480de21b10eb00bef13c9f.zip
lxde-base/lxterminal: Version bump. Add gtk3 USE flag.
Closes: https://github.com/gentoo/gentoo/pull/1323 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
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 83a43a19357..d2c87cc6f20 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 b31e527de26..be43ebb61c2 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>