blob: 586d10904d74105bc45778289c76a4e1810af690 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/vino/vino-2.32.2.ebuild,v 1.5 2011/05/21 15:59:40 armin76 Exp $
EAPI="3"
GCONF_DEBUG="yes"
inherit eutils gnome2
DESCRIPTION="An integrated VNC server for GNOME"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="avahi crypt ipv6 jpeg gnome-keyring libnotify networkmanager ssl +telepathy zlib"
RDEPEND=">=dev-libs/glib-2.17:2
>=x11-libs/gtk+-2.20:2
>=gnome-base/gconf-2:2
>=sys-apps/dbus-1.2.3
>=net-libs/libsoup-2.24:2.4
dev-libs/libunique:1
dev-libs/dbus-glib
x11-libs/libXext
x11-libs/libXtst
avahi? ( >=net-dns/avahi-0.6[dbus] )
crypt? ( >=dev-libs/libgcrypt-1.1.90 )
gnome-keyring? ( || ( gnome-base/libgnome-keyring <gnome-base/gnome-keyring-2.29.4 ) )
jpeg? ( virtual/jpeg:0 )
libnotify? ( >=x11-libs/libnotify-0.4.4 )
networkmanager? ( >=net-misc/networkmanager-0.7 )
ssl? ( >=net-libs/gnutls-1 )
telepathy? ( >=net-libs/telepathy-glib-0.11.6 )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
>=dev-lang/perl-5
>=dev-util/pkgconfig-0.9
>=dev-util/intltool-0.40
|| (
gnome-base/libgnome-keyring
<gnome-base/gnome-keyring-2.29.4 )"
# keyring is always required at build time per bug 322763
pkg_setup() {
G2CONF="${G2CONF}
$(use_enable avahi)
$(use_enable crypt gcrypt)
$(use_enable ipv6)
$(use_with jpeg)
$(use_enable gnome-keyring)
$(use_enable libnotify)
$(use_enable networkmanager network-manager)
$(use_enable ssl gnutls)
$(use_enable telepathy)
$(use_with zlib)
$(use_with zlib libz)
--enable-libunique"
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
}
src_prepare() {
gnome2_src_prepare
# Fix autorestart loop, bug #277989
epatch "${FILESDIR}/${PN}-2.26.2-autorestart-loop.patch"
}
pkg_postinst() {
gnome2_pkg_postinst
elog "If you are getting refresh problems when using special 3D effects,"
elog "try disabling XDamage extension. For that, you can run the following:"
elog " gconftool-2 --type boolean --set /desktop/gnome/remote_access/disable_xdamage true"
elog "This is due http://bugs.freedesktop.org/12255"
}
|