blob: 0bd23bbde2cc045bff0d2f40cdbaf095a2dba92f (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/xf4vnc/xf4vnc-4.3.0.999.ebuild,v 1.3 2007/07/22 08:03:41 dberkholz Exp $
DESCRIPTION="VNC (remote desktop viewer) derived from tightvnc but cooler :-)"
HOMEPAGE="http://xf4vnc.sourceforge.net/"
SRC_URI="x86? ( mirror://sourceforge/xf4vnc/${PN}-ix86-linux-${PV}.tar.gz )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 -*"
IUSE="xvnc vncviewer"
RESTRICT="strip"
RDEPEND="vncviewer? (
!net-misc/tightvnc
!net-misc/vnc
)
xvnc? (
media-libs/freetype
media-libs/jpeg
)
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXaw
x11-libs/libXext
x11-libs/libXmu
x11-libs/libXpm
x11-libs/libXt"
src_install() {
exeinto /usr/lib/xorg/modules
doexe vnc.so
# Vnc extension library
dolib.so libVncExt.so.2.0
dosym libVncExt.so.2.0 /usr/lib/libVncExt.so.2
dosym libVncExt.so.2.0 /usr/lib/libVncExt.so
# Vnc extension headers
insinto /usr/include/X11/extensions
doins vnc*.h
dobin vncevent
use xvnc && dobin Xvnc
if use vncviewer; then
dobin vncviewer
dolib.so *.so
fi
}
|