Line 0
Link Here
|
0 |
- |
1 |
# Copyright 1999-2016 Gentoo Foundation |
|
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Id$ |
4 |
|
5 |
EAPI=6 |
6 |
|
7 |
inherit autotools vcs-snapshot |
8 |
|
9 |
DESCRIPTION="A VNC server for real X displays" |
10 |
HOMEPAGE="https://libvnc.github.io/" |
11 |
SRC_URI="https://github.com/LibVNC/x11vnc/archive/104705f7a6a80646893215bf67f2c660d7b40037.tar.gz -> ${P}.tar.gz" |
12 |
|
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
15 |
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" |
16 |
IUSE="avahi crypt fbcon ssl xinerama" |
17 |
|
18 |
RDEPEND=">=net-libs/libvncserver-0.9.8 |
19 |
x11-libs/libX11 |
20 |
x11-libs/libXdamage |
21 |
x11-libs/libXext |
22 |
x11-libs/libXfixes |
23 |
x11-libs/libXrandr |
24 |
>=x11-libs/libXtst-1.1.0 |
25 |
avahi? ( >=net-dns/avahi-0.6.4 ) |
26 |
ssl? ( dev-libs/openssl:0= ) |
27 |
xinerama? ( x11-libs/libXinerama )" |
28 |
DEPEND="${RDEPEND} |
29 |
x11-libs/libXt |
30 |
x11-proto/inputproto |
31 |
x11-proto/trapproto |
32 |
x11-proto/recordproto |
33 |
x11-proto/xproto |
34 |
x11-proto/xextproto |
35 |
xinerama? ( x11-proto/xineramaproto )" |
36 |
|
37 |
DOCS=(ChangeLog README) |
38 |
|
39 |
src_prepare() { |
40 |
default |
41 |
|
42 |
eautoreconf |
43 |
} |
44 |
|
45 |
src_configure() { |
46 |
# --without-v4l because of missing video4linux 2.x support wrt #389079 |
47 |
econf \ |
48 |
$(use_with avahi) \ |
49 |
$(use_with crypt) \ |
50 |
$(use_with fbcon fbdev) \ |
51 |
$(use_with ssl) \ |
52 |
$(use_with ssl crypto) \ |
53 |
--without-v4l \ |
54 |
$(use_with xinerama) |
55 |
} |
56 |
|
57 |
src_install() { |
58 |
default |
59 |
doinitd "${FILESDIR}/x11vnc.init.d" |
60 |
doconfd "${FILESDIR}/x11vnc.conf.d" |
61 |
} |