diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-02 02:37:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-02 02:37:53 +0000 |
commit | 4815dbf26236ec6c3411c095579b57b6a97ca018 (patch) | |
tree | 715c9b677c1e63abff33fee586616abbd52822a8 | |
parent | ver bump #35793 (diff) | |
download | historical-4815dbf26236ec6c3411c095579b57b6a97ca018.tar.gz historical-4815dbf26236ec6c3411c095579b57b6a97ca018.tar.bz2 historical-4815dbf26236ec6c3411c095579b57b6a97ca018.zip |
make gemsvnc work with libvncserver-0.6
-rw-r--r-- | net-misc/gemsvnc/gemsvnc-1.ebuild | 19 |
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" } |