Commits

seenxu  committed 9d0775a

add tigervnc 1.0.90 which released on 18.03.2011, this version will
probably be the future v1.1, this ebuild only builds the viewer and
has no server supported, the dependency is also not tested, use on
your own risk

  • Participants
  • Parent commits 3488627

Comments (0)

Files changed (2)

File net-misc/tigervnc/Manifest

+DIST tigervnc-1.0.90.tar.gz 2750545 RMD160 a9caf9c42bb710ec7bc4ac4931656e18a1e884a6 SHA1 9fbfb1680bf118ad9d5033159504552c779629ad SHA256 f5d2af881c2dd19d8e789ed9a4fe0c6d5325877ea10cebdadcc48be6da082026

File net-misc/tigervnc/tigervnc-1.0.90.ebuild

+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/tigervnc-1.0.1_p20100914-r5.ebuild,v 1.7 2011/03/05 18:06:05 xarthisius Exp $
+
+EAPI="1"
+
+inherit eutils toolchain-funcs multilib autotools
+
+# CAUTION:
+# this ebuild won't build server support, and the dependency is outdated and
+# won't garantie it will be successfully built on a clean system
+DESCRIPTION="Remote desktop viewer display system"
+HOMEPAGE="http://www.tigervnc.org"
+SRC_URI="http://downloads.sourceforge.net/project/tigervnc/tigervnc/1.0.90%20%281.1beta1%29/tigervnc-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64" 
+IUSE=""
+
+RDEPEND="
+	sys-libs/zlib
+	media-libs/freetype
+	x11-libs/libSM
+	x11-libs/libXtst
+	x11-libs/libXft
+	!net-misc/vnc
+	!net-misc/tightvnc
+	!net-misc/xf4vnc"
+DEPEND="${RDEPEND}
+	amd64? ( dev-lang/nasm )
+	>=x11-proto/inputproto-1.5
+	>=x11-proto/xextproto-7.0.3
+	>=x11-proto/xproto-7.0.13"
+
+SRC_DIR="${WORKDIR}/${PN}-${PV}"
+
+src_unpack() {
+	unpack ${A}
+	cd ${SRC_DIR} || die "package dir changed?"
+}
+
+src_compile() {
+	econf || die "econf failed"
+	emake || die "emake failed"
+}
+
+src_install() {
+	cd unix
+	emake DESTDIR="${D}" install || die "emake install failed"
+	newman vncviewer/vncviewer.man vncviewer.1
+	newman vncconfig/vncconfig.man vncconfig.1
+	newman vncpasswd/vncpasswd.man vncpasswd.1
+	newman x0vncserver/x0vncserver.man x0vncserver.1
+}