summaryrefslogtreecommitdiff
blob: 5980929c000ce98b168a7d3b3fba8d7c8777ed36 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-rdp/gnome-rdp-0.2.3-r1.ebuild,v 1.1 2010/11/22 13:41:38 voyageur Exp $

EAPI=2

inherit eutils gnome2 mono

DESCRIPTION="Remote Desktop Client for the GNOME desktop"
HOMEPAGE="http://sourceforge.net/projects/gnome-rdp"
SRC_URI="mirror://sourceforge/gnome-rdp/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+rdesktop +vnc"

RDEPEND=">=dev-db/sqlite-2.8
		>=dev-libs/glib-2.0
		>=dev-dotnet/glade-sharp-2.10
		>=dev-dotnet/gtk-sharp-2.0
		>=dev-dotnet/gnome-keyring-sharp-1.0.0
		>=dev-dotnet/gnome-sharp-2.16
		>=dev-dotnet/vte-sharp-2.16
		>=x11-libs/gtk+-2.4
		>=net-misc/openssh-3
		>=x11-terms/gnome-terminal-2
		rdesktop? ( >=net-misc/rdesktop-1.3 )
		vnc? ( >=net-misc/tightvnc-1.2 )"

DEPEND="${RDEPEND}
		dev-dotnet/nant
		>=dev-util/intltool-0.21"

DOCS="AUTHORS ChangeLog NEWS README"

src_prepare() {
	sed -i -e "s/gnome-keyring-sharp/gnome-keyring-sharp-1.0/" gnome-rdp.build || die "sed failed"
	epatch "${FILESDIR}"/${P}-mono-2.8.patch
}

src_configure() {
	default
}

src_compile() {
	nant -D:DESTDIR="${D}" || die
}

src_install() {
	nant -D:DESTDIR="${D}" install|| die
}