1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/vinagre/vinagre-2.26.2.ebuild,v 1.10 2010/07/20 02:27:27 jer Exp $ |
4 |
|
5 |
EAPI="2" |
6 |
GCONF_DEBUG="no" |
7 |
|
8 |
inherit autotools eutils gnome2 |
9 |
|
10 |
DESCRIPTION="VNC Client for the GNOME Desktop" |
11 |
HOMEPAGE="http://www.gnome.org/projects/vinagre/" |
12 |
|
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
15 |
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd" |
16 |
IUSE="applet avahi test" |
17 |
|
18 |
RDEPEND=">=dev-libs/glib-2.17.0 |
19 |
>=x11-libs/gtk+-2.13.1 |
20 |
>=gnome-base/libglade-2.6 |
21 |
>=gnome-base/gconf-2.16 |
22 |
>=net-libs/gtk-vnc-0.3.8 |
23 |
>=gnome-base/gnome-keyring-1 |
24 |
applet? ( >=gnome-base/gnome-panel-2 ) |
25 |
avahi? ( >=net-dns/avahi-0.6.22[dbus,gtk] )" |
26 |
|
27 |
DEPEND="${RDEPEND} |
28 |
gnome-base/gnome-common |
29 |
>=dev-lang/perl-5 |
30 |
>=dev-util/pkgconfig-0.9 |
31 |
>=dev-util/intltool-0.35 |
32 |
app-text/scrollkeeper |
33 |
app-text/gnome-doc-utils |
34 |
test? ( ~app-text/docbook-xml-dtd-4.3 )" |
35 |
|
36 |
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README" |
37 |
|
38 |
pkg_setup() { |
39 |
G2CONF="${G2CONF} |
40 |
--disable-scrollkeeper |
41 |
$(use_enable avahi) |
42 |
$(use_enable applet)" |
43 |
} |
44 |
|
45 |
src_prepare() { |
46 |
gnome2_src_prepare |
47 |
|
48 |
# Make applet optional, bug #267279 |
49 |
epatch "${FILESDIR}/${PN}-2.26.1-optional-applet.patch" |
50 |
|
51 |
intltoolize --force --copy --automake || die "intltoolize failed" |
52 |
eautoreconf |
53 |
} |
54 |
|
55 |
src_install() { |
56 |
gnome2_src_install |
57 |
|
58 |
# Remove it's own installation of DOCS that go to $PN instead of $P and aren't ecompressed |
59 |
rm -rf "${D}"/usr/share/doc/vinagre |
60 |
} |