summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-06-23 23:02:10 +0000
committerSven Wegener <swegener@gentoo.org>2007-06-23 23:02:10 +0000
commitc6c6b5f4fb879ad8246f4571bb49eea31a3e73af (patch)
tree11722a9b5c09162aa473c986781edc916f78417b /x11-misc/x11vnc
parentAdded gallery-2.2.2 to the tree. (diff)
downloadgentoo-2-c6c6b5f4fb879ad8246f4571bb49eea31a3e73af.tar.gz
gentoo-2-c6c6b5f4fb879ad8246f4571bb49eea31a3e73af.tar.bz2
gentoo-2-c6c6b5f4fb879ad8246f4571bb49eea31a3e73af.zip
Add a local USE flag allowing to build x11vnc against the system libvncserver. This is an experimental feature.
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'x11-misc/x11vnc')
-rw-r--r--x11-misc/x11vnc/ChangeLog8
-rw-r--r--x11-misc/x11vnc/files/digest-x11vnc-0.9.2-r13
-rw-r--r--x11-misc/x11vnc/x11vnc-0.9.2-r1.ebuild64
3 files changed, 74 insertions, 1 deletions
diff --git a/x11-misc/x11vnc/ChangeLog b/x11-misc/x11vnc/ChangeLog
index f97bca335879..99b3f7477e5c 100644
--- a/x11-misc/x11vnc/ChangeLog
+++ b/x11-misc/x11vnc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/x11vnc
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/x11vnc/ChangeLog,v 1.37 2007/06/18 19:32:41 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/x11vnc/ChangeLog,v 1.38 2007/06/23 23:02:10 swegener Exp $
+
+*x11vnc-0.9.2-r1 (23 Jun 2007)
+
+ 23 Jun 2007; Sven Wegener <swegener@gentoo.org> +x11vnc-0.9.2-r1.ebuild:
+ Add a local USE flag allowing to build x11vnc against the system
+ libvncserver. This is an experimental feature.
*x11vnc-0.9.2 (18 Jun 2007)
diff --git a/x11-misc/x11vnc/files/digest-x11vnc-0.9.2-r1 b/x11-misc/x11vnc/files/digest-x11vnc-0.9.2-r1
new file mode 100644
index 000000000000..be7f1e0ea05c
--- /dev/null
+++ b/x11-misc/x11vnc/files/digest-x11vnc-0.9.2-r1
@@ -0,0 +1,3 @@
+MD5 a1693e3a0ab67f8dd3593180804aa5b5 x11vnc-0.9.2.tar.gz 2068626
+RMD160 c1931ec2fd1bda0ea78ddd93fa5aa155162247be x11vnc-0.9.2.tar.gz 2068626
+SHA256 6aa2b4c42add39098ef3e8ccbdf1e134f7b2a95f2fc80c2dea002151e0e71aac x11vnc-0.9.2.tar.gz 2068626
diff --git a/x11-misc/x11vnc/x11vnc-0.9.2-r1.ebuild b/x11-misc/x11vnc/x11vnc-0.9.2-r1.ebuild
new file mode 100644
index 000000000000..02b6644dd3ff
--- /dev/null
+++ b/x11-misc/x11vnc/x11vnc-0.9.2-r1.ebuild
@@ -0,0 +1,64 @@
+# 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.2-r1.ebuild,v 1.1 2007/06/23 23:02:10 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="~amd64 ~hppa ~ppc ~sparc ~x86"
+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
+ )
+ virtual/x11
+ )"
+
+DEPEND="${RDEPEND}
+ || (
+ (
+ x11-libs/libXt
+ xinerama? ( x11-proto/xineramaproto )
+ x11-proto/trapproto
+ x11-proto/recordproto
+ x11-proto/xproto
+ x11-proto/xextproto
+ )
+ virtual/x11
+ )"
+
+src_compile() {
+ 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) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc x11vnc/{ChangeLog,README}
+}