Gentoo Archives: gentoo-commits

From: Julian Ospald <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/x11vnc/
Date: Sun, 20 Sep 2015 17:35:25
Message-Id: 1442770504.d746cc57f67ce1b4518113440bf4f1a70025b9b3.hasufell@gentoo
1 commit: d746cc57f67ce1b4518113440bf4f1a70025b9b3
2 Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 20 17:32:19 2015 +0000
4 Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 20 17:35:04 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d746cc57
7
8 x11-misc/x11vnc: add libressl support
9
10 x11-misc/x11vnc/x11vnc-0.9.13_p20150111-r1.ebuild | 59 +++++++++++++++++++++++
11 1 file changed, 59 insertions(+)
12
13 diff --git a/x11-misc/x11vnc/x11vnc-0.9.13_p20150111-r1.ebuild b/x11-misc/x11vnc/x11vnc-0.9.13_p20150111-r1.ebuild
14 new file mode 100644
15 index 0000000..1134013
16 --- /dev/null
17 +++ b/x11-misc/x11vnc/x11vnc-0.9.13_p20150111-r1.ebuild
18 @@ -0,0 +1,59 @@
19 +# Copyright 1999-2015 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +# $Id$
22 +
23 +EAPI=5
24 +
25 +inherit autotools eutils
26 +
27 +DESCRIPTION="A VNC server for real X displays"
28 +HOMEPAGE="http://www.karlrunge.com/x11vnc/"
29 +SRC_URI="https://github.com/LibVNC/x11vnc/archive/82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a.zip"
30 +
31 +LICENSE="GPL-2"
32 +SLOT="0"
33 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
34 +IUSE="avahi crypt fbcon libressl ssl xinerama"
35 +
36 +RDEPEND="
37 + x11-libs/libX11
38 + x11-libs/libXdamage
39 + x11-libs/libXext
40 + x11-libs/libXfixes
41 + x11-libs/libXrandr
42 + >=x11-libs/libXtst-1.1.0
43 + avahi? ( >=net-dns/avahi-0.6.4 )
44 + ssl? (
45 + !libressl? ( dev-libs/openssl:0= )
46 + libressl? ( dev-libs/libressl:= )
47 + )
48 + >=net-libs/libvncserver-0.9.8
49 + xinerama? ( x11-libs/libXinerama )"
50 +DEPEND="${RDEPEND}
51 + x11-libs/libXt
52 + x11-proto/inputproto
53 + x11-proto/trapproto
54 + x11-proto/recordproto
55 + x11-proto/xproto
56 + x11-proto/xextproto
57 + xinerama? ( x11-proto/xineramaproto )"
58 +
59 +S="${WORKDIR}/x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a"
60 +
61 +DOCS=(ChangeLog README)
62 +
63 +src_prepare() {
64 + eautoreconf
65 +}
66 +
67 +src_configure() {
68 + # --without-v4l because of missing video4linux 2.x support wrt #389079
69 + econf \
70 + $(use_with avahi) \
71 + $(use_with crypt) \
72 + $(use_with fbcon fbdev) \
73 + $(use_with ssl) \
74 + $(use_with ssl crypto) \
75 + --without-v4l \
76 + $(use_with xinerama)
77 +}