blob: 32b392ed2ce3d458077f476a230ec60a9818a115 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/remmina/remmina-0.9.3.ebuild,v 1.2 2011/03/21 22:15:12 nirbheek Exp $
EAPI=2
inherit eutils gnome2-utils
DESCRIPTION="A GTK+ RDP, VNC, XDMCP and SSH client"
HOMEPAGE="http://remmina.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="avahi crypt debug nls ssh unique vte"
RDEPEND="x11-libs/gtk+:2
avahi? ( net-dns/avahi )
crypt? ( dev-libs/libgcrypt )
nls? ( virtual/libintl )
ssh? ( net-libs/libssh[sftp] )
unique? ( dev-libs/libunique:1 )
vte? ( x11-libs/vte:0 )"
DEPEND="${RDEPEND}
dev-util/intltool
dev-util/pkgconfig
nls? ( sys-devel/gettext )"
src_configure() {
if use ssh && ! use vte; then
ewarn "Enabling ssh without vte only provides sftp support."
fi
econf \
--disable-dependency-tracking \
$(use_enable avahi) \
$(use_enable crypt gcrypt) \
$(use_enable debug) \
$(use_enable nls) \
$(use_enable ssh) \
$(use_enable unique) \
$(use_enable vte)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog README || die "dodoc failed"
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
elog "You need to install net-misc/remmina-plugins which"
elog "provide all the necessary network protocols required by ${PN}"
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}
|