blob: cb092e33f7e07b33cea64aa96ca5d40038872b12 (
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
77
78
79
80
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/remmina-plugins/remmina-plugins-9999.ebuild,v 1.5 2012/05/05 03:20:41 jdhore Exp $
EAPI=2
EGIT_REPO_URI="git://github.com/FreeRDP/Remmina.git"
EGIT_PROJECT="remmina"
EGIT_SOURCEDIR="${WORKDIR}"
inherit autotools git-2 gnome2-utils
DESCRIPTION="Set of plugins for Remmina GTK+ RDP, VNC, XDMCP and SSH client"
HOMEPAGE="http://remmina.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="nls nx rdesktop ssh telepathy vnc xdmcp"
RDEPEND=">=net-misc/remmina-0.8.0
nls? ( virtual/libintl )
nx? ( net-misc/nx )
rdesktop? ( =net-misc/freerdp-9999 )
xdmcp? ( x11-base/xorg-server[kdrive] )
ssh? ( net-libs/libssh[sftp] )
vnc? ( net-libs/libvncserver[jpeg,zlib] >=net-libs/gnutls-2.4.0 )"
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
nls? ( sys-devel/gettext )
telepathy? ( >=net-libs/telepathy-glib-0.9.0 ) "
S="${WORKDIR}"/${PN}
src_prepare() {
intltoolize --force --copy --automake
eautoreconf
}
src_configure() {
local myconf="--disable-dependency-tracking"
if use nx; then
if ! use ssh; then
myconf="${myconf} --disable-nx"
ewarn "nx support requires ssh."
ewarn "nx support will not be included."
else
myconf="${myconf} --enable-nx"
fi
else
myconf="${myconf} --disable-nx"
fi
econf \
${myconf} \
$(use_enable nls) \
$(use_enable rdesktop rdp) \
$(use_enable ssh) \
$(use_enable telepathy) \
$(use_enable vnc ) \
$(use_enable xdmcp)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog README
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}
|