blob: 9c3a42a64a9373af9c91d035f20437fd71c53e63 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/grdesktop/grdesktop-0.22-r1.ebuild,v 1.9 2006/03/16 13:08:31 allanonjl Exp $
inherit eutils
DESCRIPTION="Gtk2 frontend for rdesktop"
HOMEPAGE="http://www.nongnu.org/grdesktop/"
SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc amd64"
IUSE="doc"
RDEPEND=">=x11-libs/gtk+-2.0.6-r3
>=net-misc/rdesktop-1.1.0.19.9.0
>=gnome-base/libgnomeui-2.2
>=gnome-base/gconf-2"
DEPEND="${RDEPEND}
doc? ( app-text/docbook2X )
app-text/scrollkeeper"
src_unpack() {
unpack ${A}
cd ${S}
# Fix invalid C code that breaks compilation under gcc 2.
epatch ${FILESDIR}/${P}-gcc2_fix.patch
# Correct icon path. See bug #50295.
sed -i -e 's:Icon=.*:Icon=grdesktop/icon.png:' grdesktop.desktop
gnome2_omf_fix
}
src_compile() {
econf \
--with-keymap-path=/usr/share/rdesktop/keymaps \
--localstatedir=${D}/var/lib || die "./configure failed"
# For some reason we have duplicate syntax in Makefiles, removing
epatch ${FILESDIR}/0010_all_0.22-remove-double-makefile-syntax.patch
emake || die
}
src_install() {
#einstall
make DESTDIR=${D} install || die "couldnt install"
dodoc AUTHORS ABOUT-NLS COPYING ChangeLog INSTALL NEWS README TODO
}
|