summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-02 02:37:53 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-02 02:37:53 +0000
commitb2576a9ea5a8eedef61ab484f7c98b28f3dd4a19 (patch)
tree2dabd47797283176a4a42d9d44465c7bd2d76e48 /net-misc
parentver bump #35793 (diff)
downloadgentoo-2-b2576a9ea5a8eedef61ab484f7c98b28f3dd4a19.tar.gz
gentoo-2-b2576a9ea5a8eedef61ab484f7c98b28f3dd4a19.tar.bz2
gentoo-2-b2576a9ea5a8eedef61ab484f7c98b28f3dd4a19.zip
make gemsvnc work with libvncserver-0.6
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/gemsvnc/gemsvnc-1.ebuild19
1 files changed, 16 insertions, 3 deletions
diff --git a/net-misc/gemsvnc/gemsvnc-1.ebuild b/net-misc/gemsvnc/gemsvnc-1.ebuild
index 2c15494b038b..297ee44ba6fc 100644
--- a/net-misc/gemsvnc/gemsvnc-1.ebuild
+++ b/net-misc/gemsvnc/gemsvnc-1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gemsvnc/gemsvnc-1.ebuild,v 1.1 2003/08/21 01:08:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gemsvnc/gemsvnc-1.ebuild,v 1.2 2004/01/02 02:37:53 vapier Exp $
-inherit gcc
+inherit gcc flag-o-matic
DESCRIPTION="an X11 vnc server for remote control"
HOMEPAGE="http://www.elilabs.com/~rj/gemsvnc/"
@@ -13,14 +13,27 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
-DEPEND="net-libs/libvncserver
+DEPEND=">=net-libs/libvncserver-0.6
virtual/x11
sys-libs/zlib
media-libs/jpeg"
S=${WORKDIR}/${PN}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e 's:Bool:rfbBool:g' \
+ -e 's:CARD8:uint8_t:g' \
+ -e 's:CARD16:uint16_t:g' \
+ -e 's:RFBKeySym:rfbKeySym:g' \
+ -e 's:XGetKeyboardMapping:(rfbKeySym*)XGetKeyboardMapping:' \
+ gemsvnc.c
+}
+
src_compile() {
+ append-flags -I/usr/include/rfb
emake || die "emake failed"
}