# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 inherit waf-utils versionator SRC_URI="http://git-jpdeplaix.dyndns.org/${PN}/${PN}.git/snapshot/${P}.tar.bz2" DESCRIPTION="ValaTerm is a lightweight terminal written in Vala" HOMEPAGE="http://git-jpdeplaix.dyndns.org/valaterm/" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="nls gtk3" RDEPEND=">=dev-libs/glib-2.16:2 !gtk3? ( >=x11-libs/gtk+-2.16:2 >=x11-libs/vte-0.26:0 ) gtk3? ( >=x11-libs/gtk+-3.0:3 >=x11-libs/vte-0.26:2.90 )" DEPEND="${RDEPEND} !gtk3? ( >=dev-lang/vala-0.12.1 ) gtk3? ( >=dev-lang/vala-0.13.2 ) nls? ( sys-devel/gettext dev-util/intltool ) dev-util/pkgconfig" DOCS=( AUTHORS ChangeLog README TODO ) src_configure() { local my_conf use nls || my_conf="${my_conf} --disable-nls" use gtk3 && my_conf="${my_conf} --with-gtk3" waf-utils_src_configure ${my_conf} }