From: Julian Ospald Date: Sun, 20 Sep 2015 17:32:19 +0000 (+0200) Subject: x11-misc/x11vnc: add libressl support X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d746cc57f67ce1b4518113440bf4f1a70025b9b3;p=gentoo.git x11-misc/x11vnc: add libressl support --- diff --git a/x11-misc/x11vnc/x11vnc-0.9.13_p20150111-r1.ebuild b/x11-misc/x11vnc/x11vnc-0.9.13_p20150111-r1.ebuild new file mode 100644 index 000000000000..1134013408d2 --- /dev/null +++ b/x11-misc/x11vnc/x11vnc-0.9.13_p20150111-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="A VNC server for real X displays" +HOMEPAGE="http://www.karlrunge.com/x11vnc/" +SRC_URI="https://github.com/LibVNC/x11vnc/archive/82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a.zip" + +LICENSE="GPL-2" +SLOT="0" +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" +IUSE="avahi crypt fbcon libressl ssl xinerama" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + >=x11-libs/libXtst-1.1.0 + avahi? ( >=net-dns/avahi-0.6.4 ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:= ) + ) + >=net-libs/libvncserver-0.9.8 + xinerama? ( x11-libs/libXinerama )" +DEPEND="${RDEPEND} + x11-libs/libXt + x11-proto/inputproto + x11-proto/trapproto + x11-proto/recordproto + x11-proto/xproto + x11-proto/xextproto + xinerama? ( x11-proto/xineramaproto )" + +S="${WORKDIR}/x11vnc-82eb9752485db87c9c6d3d6bb4aa1ae7ac81174a" + +DOCS=(ChangeLog README) + +src_prepare() { + eautoreconf +} + +src_configure() { + # --without-v4l because of missing video4linux 2.x support wrt #389079 + econf \ + $(use_with avahi) \ + $(use_with crypt) \ + $(use_with fbcon fbdev) \ + $(use_with ssl) \ + $(use_with ssl crypto) \ + --without-v4l \ + $(use_with xinerama) +}