Line 0
Link Here
|
0 |
- |
1 |
# Copyright 1999-2017 Gentoo Foundation |
|
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
4 |
EAPI=6 |
5 |
inherit autotools vcs-snapshot |
6 |
|
7 |
DESCRIPTION="A VNC server for real X displays" |
8 |
HOMEPAGE="https://libvnc.github.io/" |
9 |
SRC_URI="https://github.com/LibVNC/x11vnc/archive/e191071c1f375d04ba8f955ea0a30292a485999e.tar.gz -> ${P}.tar.gz" |
10 |
|
11 |
LICENSE="GPL-2" |
12 |
SLOT="0" |
13 |
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" |
14 |
# bug 609162 |
15 |
IUSE="crypt fbcon libressl ssl threads xinerama zeroconf zlib" |
16 |
|
17 |
RDEPEND=">=net-libs/libvncserver-0.9.8[ssl?,threads=,zlib=] |
18 |
x11-libs/libX11 |
19 |
x11-libs/libXcomposite |
20 |
x11-libs/libXcursor |
21 |
x11-libs/libXdamage |
22 |
x11-libs/libXext |
23 |
x11-libs/libXfixes |
24 |
x11-libs/libXrandr |
25 |
>=x11-libs/libXtst-1.1.0 |
26 |
ssl? ( |
27 |
!libressl? ( dev-libs/openssl:0= ) |
28 |
libressl? ( dev-libs/libressl:= ) |
29 |
) |
30 |
xinerama? ( x11-libs/libXinerama ) |
31 |
zeroconf? ( >=net-dns/avahi-0.6.4 ) |
32 |
" |
33 |
DEPEND="${RDEPEND} |
34 |
x11-libs/libXt |
35 |
x11-proto/inputproto |
36 |
x11-proto/trapproto |
37 |
x11-proto/recordproto |
38 |
x11-proto/xproto |
39 |
x11-proto/xextproto |
40 |
xinerama? ( x11-proto/xineramaproto )" |
41 |
|
42 |
src_prepare() { |
43 |
default |
44 |
eautoreconf |
45 |
} |
46 |
|
47 |
src_configure() { |
48 |
# --without-v4l because of missing video4linux 2.x support wrt #389079 |
49 |
# xtrap appears to be obsoleted by xtest here |
50 |
econf \ |
51 |
$(use_with crypt) \ |
52 |
$(use_with fbcon fbdev) \ |
53 |
$(use_with ssl) \ |
54 |
$(use_with ssl crypto) \ |
55 |
$(use_with xinerama) \ |
56 |
$(use_with zeroconf avahi) \ |
57 |
--without-v4l \ |
58 |
--without-xtrap |
59 |
} |
60 |
|
61 |
src_install() { |
62 |
default |
63 |
newinitd "${FILESDIR}/${PN}.init.d" ${PN} |
64 |
newconfd "${FILESDIR}/${PN}.conf.d" ${PN} |
65 |
} |