/[gentoo-x86]/net-misc/vnc/vnc-4.0.ebuild
Gentoo

Contents of /net-misc/vnc/vnc-4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Jan 20 21:57:24 2006 UTC (13 years, 8 months ago) by vanquirius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove old ebuilds (4.0-r1 stable everywhere), block net-misc/tightvnc for bug 115135.
(Portage version: 2.0.54)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-4.0.ebuild,v 1.6 2005/05/18 04:18:29 mr_bones_ Exp $
4
5 inherit eutils toolchain-funcs
6
7 X_VERSION="6.7.0"
8
9 MY_P="${P}-unixsrc"
10 DESCRIPTION="Remote desktop viewer display system"
11 HOMEPAGE="http://www.realvnc.com/"
12 SRC_URI="http://www.realvnc.com/dist/${MY_P}.tar.gz
13 http://freedesktop.org/~xorg/X11R${X_VERSION}/src/X11R${X_VERSION}-src1.tar.gz
14 http://freedesktop.org/~xorg/X11R${X_VERSION}/src/X11R${X_VERSION}-src2.tar.gz
15 http://freedesktop.org/~xorg/X11R${X_VERSION}/src/X11R${X_VERSION}-src3.tar.gz"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="~x86 ~sparc ~ppc amd64"
20 IUSE=""
21
22 DEPEND="sys-libs/zlib
23 !net-misc/tightvnc
24 media-libs/freetype
25 x11-base/xorg-x11"
26
27 S="${WORKDIR}/${MY_P}"
28
29 src_unpack() {
30 mkdir -p ${S}/xc ; cd ${S}
31
32 unpack X11R${X_VERSION}-src1.tar.gz
33 unpack X11R${X_VERSION}-src2.tar.gz
34 unpack X11R${X_VERSION}-src3.tar.gz
35
36 cd ${WORKDIR}
37 unpack ${MY_P}.tar.gz ; cd ${S}
38
39 # patches from Redhat
40 epatch ${FILESDIR}/${P}/vnc-cookie.patch
41 epatch ${FILESDIR}/${P}/vnc-def.patch
42 epatch ${FILESDIR}/${P}/vnc-fPIC.patch
43 epatch ${FILESDIR}/${P}/vnc-gcc34.patch
44 epatch ${FILESDIR}/${P}/vnc-idle.patch
45 epatch ${FILESDIR}/${P}/vnc-restart.patch
46 epatch ${FILESDIR}/${P}/vnc-sparc.patch
47 epatch ${FILESDIR}/${P}/vnc-via.patch
48 epatch ${FILESDIR}/${P}/vnc-xclients.patch
49 epatch ${FILESDIR}/${P}/vnc-xorg-x11-fixes.patch
50 epatch ${FILESDIR}/${P}/vnc-xorg.patch
51
52 epatch ${FILESDIR}/xc.patch-cfbglblt8.patch
53 epatch xc.patch
54 }
55
56 src_compile() {
57 # client
58 econf --with-installed-zlib || die
59 emake || die
60
61 # server
62 cd ${S}/xc
63 make CDEBUGFLAGS="${CFLAGS}" CXXDEBUGFLAGS="${CXXFLAGS}" World FAST=1 || die
64 }
65
66 src_install() {
67 # client
68 dodir /usr/bin /usr/share/man/man1 /usr/X11R6/lib/modules/extensions
69 ./vncinstall ${D}/usr/bin ${D}/usr/share/man ${D}/usr/X11R6/lib/modules/extensions || die
70 dodoc LICENCE.TXT README
71
72 ewarn "Note that the free VNC release is not designed for use on untrusted networks"
73 }

  ViewVC Help
Powered by ViewVC 1.1.20