| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-terms/valaterm/valaterm-0.5.1.ebuild,v 1.1 2012/06/30 08:57:35 ssuominen Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit waf-utils
|
| 7 |
|
| 8 |
PN_vala_slot=0.16
|
| 9 |
PN_vala_ver=${PN_vala_slot}
|
| 10 |
|
| 11 |
DESCRIPTION="A lightweight vala based terminal"
|
| 12 |
HOMEPAGE="http://gitorious.org/valaterm"
|
| 13 |
SRC_URI="http://gitorious.org/${PN}/${PN}/archive-tarball/${PV} -> ${P}.tar.gz"
|
| 14 |
|
| 15 |
LICENSE="GPL-3"
|
| 16 |
SLOT="0"
|
| 17 |
KEYWORDS="~amd64 ~x86"
|
| 18 |
IUSE="nls"
|
| 19 |
|
| 20 |
RDEPEND=">=dev-libs/glib-2
|
| 21 |
x11-libs/gtk+:3
|
| 22 |
x11-libs/vte:2.90"
|
| 23 |
DEPEND="${RDEPEND}
|
| 24 |
>=dev-lang/vala-${PN_vala_ver}:${PN_vala_slot}
|
| 25 |
virtual/pkgconfig
|
| 26 |
nls? (
|
| 27 |
dev-util/intltool
|
| 28 |
sys-devel/gettext
|
| 29 |
)"
|
| 30 |
|
| 31 |
DOCS="AUTHORS ChangeLog README TODO"
|
| 32 |
|
| 33 |
S=${WORKDIR}/${PN}-${PN}
|
| 34 |
|
| 35 |
src_configure() {
|
| 36 |
export VALAC="$(type -P valac-${PN_vala_slot})"
|
| 37 |
local myconf
|
| 38 |
use nls || myconf='--disable-nls'
|
| 39 |
waf-utils_src_configure --custom-flags --verbose ${myconf}
|
| 40 |
}
|