summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-10-11 13:13:12 +0000
committerSven Wegener <swegener@gentoo.org>2007-10-11 13:13:12 +0000
commitbdd67157306ba6080d5c3742b37d7b0b7eb84d71 (patch)
tree937a732146e415abcd142cde288b64ff13972dfb /x11-misc/x11vnc/x11vnc-0.9.3.ebuild
parentstable ppc, bug #195016 (diff)
downloadgentoo-2-bdd67157306ba6080d5c3742b37d7b0b7eb84d71.tar.gz
gentoo-2-bdd67157306ba6080d5c3742b37d7b0b7eb84d71.tar.bz2
gentoo-2-bdd67157306ba6080d5c3742b37d7b0b7eb84d71.zip
Version bump.
(Portage version: 2.1.3.12)
Diffstat (limited to 'x11-misc/x11vnc/x11vnc-0.9.3.ebuild')
-rw-r--r--x11-misc/x11vnc/x11vnc-0.9.3.ebuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/x11-misc/x11vnc/x11vnc-0.9.3.ebuild b/x11-misc/x11vnc/x11vnc-0.9.3.ebuild
new file mode 100644
index 000000000000..b581fc5d9b54
--- /dev/null
+++ b/x11-misc/x11vnc/x11vnc-0.9.3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/x11vnc/x11vnc-0.9.3.ebuild,v 1.1 2007/10/11 13:13:12 swegener Exp $
+
+DESCRIPTION="A VNC server for real X displays"
+HOMEPAGE="http://www.karlrunge.com/x11vnc/"
+SRC_URI="mirror://sourceforge/libvncserver/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="jpeg zlib threads ssl crypt v4l xinerama avahi system-libvncserver"
+
+RDEPEND="system-libvncserver? ( >=net-libs/libvncserver-0.9.1 )
+ zlib? ( sys-libs/zlib )
+ jpeg? ( media-libs/jpeg )
+ ssl? ( dev-libs/openssl )
+ avahi? ( >=net-dns/avahi-0.6.4 )
+ xinerama? ( x11-libs/libXinerama )
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libX11
+ x11-libs/libXtst
+ x11-libs/libXdamage
+ x11-libs/libXext"
+
+DEPEND="${RDEPEND}
+ x11-libs/libXt
+ xinerama? ( x11-proto/xineramaproto )
+ x11-proto/trapproto
+ x11-proto/recordproto
+ x11-proto/xproto
+ x11-proto/xextproto"
+
+src_compile() {
+ local myconf=""
+
+ # we need to force threads on, because our system libvncserver gets build with thread support
+ use system-libvncserver && myconf="--with-pthread"
+
+ econf \
+ $(use_with system-libvncserver) \
+ $(use_with avahi) \
+ $(use_with xinerama) \
+ $(use_with ssl) \
+ $(use_with ssl crypto) \
+ $(use_with crypt) \
+ $(use_with v4l) \
+ $(use_with jpeg) \
+ $(use_with zlib) \
+ $(use_with threads pthread) \
+ ${myconf} \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc x11vnc/{ChangeLog,README}
+}