/[gentoo-x86]/net-misc/grdesktop/grdesktop-0.22-r1.ebuild
Gentoo

Contents of /net-misc/grdesktop/grdesktop-0.22-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sat Jan 12 13:22:18 2008 UTC (11 years, 11 months ago) by leio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Remove old and add missing pkgconfig dep, bug 205437
(Portage version: 2.1.4_rc14)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/grdesktop/grdesktop-0.22-r1.ebuild,v 1.9 2006/03/16 13:08:31 allanonjl Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Gtk2 frontend for rdesktop"
8 HOMEPAGE="http://www.nongnu.org/grdesktop/"
9 SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="x86 sparc amd64"
14
15 IUSE="doc"
16
17 RDEPEND=">=x11-libs/gtk+-2.0.6-r3
18 >=net-misc/rdesktop-1.1.0.19.9.0
19 >=gnome-base/libgnomeui-2.2
20 >=gnome-base/gconf-2"
21
22 DEPEND="${RDEPEND}
23 doc? ( app-text/docbook2X )
24 app-text/scrollkeeper"
25
26 src_unpack() {
27 unpack ${A}
28 cd ${S}
29
30 # Fix invalid C code that breaks compilation under gcc 2.
31 epatch ${FILESDIR}/${P}-gcc2_fix.patch
32
33 # Correct icon path. See bug #50295.
34 sed -i -e 's:Icon=.*:Icon=grdesktop/icon.png:' grdesktop.desktop
35
36 gnome2_omf_fix
37 }
38
39 src_compile() {
40 econf \
41 --with-keymap-path=/usr/share/rdesktop/keymaps \
42 --localstatedir=${D}/var/lib || die "./configure failed"
43
44 # For some reason we have duplicate syntax in Makefiles, removing
45 epatch ${FILESDIR}/0010_all_0.22-remove-double-makefile-syntax.patch
46
47 emake || die
48 }
49
50 src_install() {
51 #einstall
52 make DESTDIR=${D} install || die "couldnt install"
53
54 dodoc AUTHORS ABOUT-NLS COPYING ChangeLog INSTALL NEWS README TODO
55 }

  ViewVC Help
Powered by ViewVC 1.1.20