blob: 1d544dfd9af3edc27fc82f5bf1d1c975f40c3a9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
DESCRIPTION="An minimal twitter client written in Vala"
HOMEPAGE="http://code.google.com/p/pino-twitter/"
SRC_URI="http://pino-twitter.googlecode.com/files/${P}.tar.bz2"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-libs/glib-2.14
>=x11-libs/gtk+-2.10
>=dev-libs/libgee-0.5.0
>=net-libs/libsoup-2.4
app-text/gtkspell
x11-libs/libnotify
dev-libs/libxml2:2
dev-libs/libunique
net-libs/webkit-gtk"
DEPEND="${RDEPEND}
>=dev-lang/vala-0.7
dev-util/pkgconfig
sys-devel/gettext"
DOCS="AUTHORS INSTALL README"
src_configure() {
CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" \
./waf --prefix=/usr \
configure || die "./waf configure failed"
}
src_compile() {
local myjobs=$(echo "$MAKEOPTS" | sed -n -e 's,.*\(-j[[:digit:]]\+\).*,\1,p')
./waf ${myjobs} build || die "./waf configure failed"
}
src_install() {
./waf \
--destdir="${D}" \
install || die "./waf install failed"
rm -f $(find "${D}" -name *.py[co])
dodoc ${DOCS}
}
|