| 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.4.3.ebuild,v 1.2 2012/05/03 07:11:35 jdhore Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit waf-utils
|
| 7 |
|
| 8 |
PN_vala_version=0.14
|
| 9 |
|
| 10 |
DESCRIPTION="A vala based lightweight terminal"
|
| 11 |
HOMEPAGE="http://gitorious.org/valaterm"
|
| 12 |
SRC_URI="http://gitorious.org/${PN}/${PN}/archive-tarball/${PV} -> ${P}.tar.gz"
|
| 13 |
|
| 14 |
LICENSE="GPL-2"
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS="amd64 x86"
|
| 17 |
IUSE="nls"
|
| 18 |
|
| 19 |
RDEPEND=">=dev-libs/glib-2
|
| 20 |
x11-libs/gtk+:3
|
| 21 |
x11-libs/vte:2.90"
|
| 22 |
DEPEND="${RDEPEND}
|
| 23 |
>=dev-lang/vala-0.13.2:${PN_vala_version}
|
| 24 |
virtual/pkgconfig
|
| 25 |
nls? (
|
| 26 |
dev-util/intltool
|
| 27 |
sys-devel/gettext
|
| 28 |
)"
|
| 29 |
|
| 30 |
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
| 31 |
|
| 32 |
S=${WORKDIR}/${PN}-${PN}
|
| 33 |
|
| 34 |
src_prepare() {
|
| 35 |
sed -i \
|
| 36 |
-e '/conf.env.CFLAGS.extend.*O/d' \
|
| 37 |
-e '/conf.env.LINKFLAGS.extend.*O/d' \
|
| 38 |
wscript || die
|
| 39 |
}
|
| 40 |
|
| 41 |
src_configure() {
|
| 42 |
export VALAC="$(type -P valac-${PN_vala_version})"
|
| 43 |
local myconf
|
| 44 |
use nls || myconf="--disable-nls"
|
| 45 |
waf-utils_src_configure --with-gtk3 ${myconf}
|
| 46 |
}
|