Line 0
Link Here
|
0 |
- |
1 |
# Copyright 1999-2010 Gentoo Foundation |
|
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: $ |
4 |
|
5 |
EAPI="2" |
6 |
|
7 |
inherit gnome2 |
8 |
|
9 |
DESCRIPTION="Javascript bindings for GNOME" |
10 |
HOMEPAGE="http://live.gnome.org/Gjs" |
11 |
|
12 |
LICENSE="MIT MPL-1.1 LGPL-2 GPL-2" |
13 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~x86" |
15 |
IUSE="" |
16 |
# USE=coverage does not work, see http://bugs.gentoo.org/show_bug.cgi?id=291424#c10 |
17 |
#IUSE="coverage" |
18 |
|
19 |
RDEPEND=">=dev-libs/glib-2.16.0 |
20 |
>=dev-libs/gobject-introspection-0.6.3 |
21 |
|
22 |
dev-libs/dbus-glib |
23 |
x11-libs/cairo |
24 |
net-libs/xulrunner:1.9" |
25 |
DEPEND="${RDEPEND} |
26 |
sys-devel/gettext |
27 |
>=dev-util/pkgconfig-0.9 |
28 |
coverage? ( |
29 |
sys-devel/gcc |
30 |
dev-util/lcov )" |
31 |
# AUTHORS, ChangeLog are empty |
32 |
DOCS="NEWS README" |
33 |
|
34 |
G2CONF=$(use_enable coverage) |
35 |
|
36 |
# parallel make/install dieabled due to random ls file creation error. |
37 |
# having work/gjs-0.6/.libs/libgjs-dbus.so.0.0.0T |
38 |
# instead of work/gjs-0.6/.libs/libgjs-dbus.so.0.0.0 |
39 |
src_compile () { |
40 |
emake -j1 || die |
41 |
} |
42 |
|
43 |
src_install () { |
44 |
gnome_src_install -j1 |
45 |
} |