Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/weston/
Date: Fri, 16 Nov 2018 23:05:07
Message-Id: 1542409492.c894be80ab28c389a39a3f7fea974120fff5b83b.chewi@gentoo
1 commit: c894be80ab28c389a39a3f7fea974120fff5b83b
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 16 23:03:59 2018 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 16 23:04:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c894be80
7
8 dev-libs/weston: Updates to 9999 including remoting USE flag
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 dev-libs/weston/metadata.xml | 1 +
14 dev-libs/weston/weston-9999.ebuild | 28 ++++++++++++++++------------
15 2 files changed, 17 insertions(+), 12 deletions(-)
16
17 diff --git a/dev-libs/weston/metadata.xml b/dev-libs/weston/metadata.xml
18 index c1c3e3956fa..c976a4437cf 100644
19 --- a/dev-libs/weston/metadata.xml
20 +++ b/dev-libs/weston/metadata.xml
21 @@ -15,6 +15,7 @@
22 <flag name="ivi">Enable the IVI shell</flag>
23 <flag name="launch">Install weston-launch utility</flag>
24 <flag name="rdp">Enable Remote Desktop Protocol compositor support</flag>
25 + <flag name="remoting">Enable plugin to stream output to remote hosts using <pkg>media-libs/gstreamer</pkg></flag>
26 <flag name="resize-optimization">Increase performance, allocate more RAM. Recommended to disable on Raspberry Pi</flag>
27 <flag name="screen-sharing">Enable screen-sharing through RDP</flag>
28 <flag name="unwind">Enable libunwind usage for backtraces</flag>
29
30 diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild
31 index 44880eb9639..40aa43e4412 100644
32 --- a/dev-libs/weston/weston-9999.ebuild
33 +++ b/dev-libs/weston/weston-9999.ebuild
34 @@ -1,4 +1,4 @@
35 -# Copyright 1999-2017 Gentoo Foundation
36 +# Copyright 1999-2018 Gentoo Authors
37 # Distributed under the terms of the GNU General Public License v2
38
39 EAPI=6
40 @@ -25,7 +25,7 @@ fi
41 LICENSE="MIT CC-BY-SA-3.0"
42 SLOT="0"
43
44 -IUSE="colord dbus +drm editor examples fbdev +gles2 headless ivi jpeg +launch lcms rdp +resize-optimization screen-sharing static-libs +suid systemd test unwind wayland-compositor webp +X xwayland"
45 +IUSE="colord dbus +drm editor examples fbdev +gles2 headless ivi jpeg +launch lcms rdp remoting +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland"
46
47 REQUIRED_USE="
48 drm? ( gles2 )
49 @@ -38,13 +38,13 @@ REQUIRED_USE="
50 RDEPEND="
51 >=dev-libs/libinput-0.8.0
52 >=dev-libs/wayland-1.12.0
53 - >=dev-libs/wayland-protocols-1.8
54 + >=dev-libs/wayland-protocols-1.14
55 lcms? ( media-libs/lcms:2 )
56 media-libs/libpng:0=
57 webp? ( media-libs/libwebp:0= )
58 jpeg? ( virtual/jpeg:0= )
59 >=x11-libs/cairo-1.11.3
60 - >=x11-libs/libdrm-2.4.30
61 + >=x11-libs/libdrm-2.4.68
62 >=x11-libs/libxkbcommon-0.5.0
63 >=x11-libs/pixman-0.25.2
64 x11-misc/xkeyboard-config
65 @@ -55,7 +55,7 @@ RDEPEND="
66 colord? ( >=x11-misc/colord-0.1.27 )
67 dbus? ( >=sys-apps/dbus-1.6 )
68 drm? (
69 - media-libs/mesa[gbm]
70 + >=media-libs/mesa-17.1[gbm]
71 >=sys-libs/mtdev-1.1.0
72 >=virtual/udev-136
73 )
74 @@ -63,13 +63,16 @@ RDEPEND="
75 gles2? (
76 media-libs/mesa[gles2,wayland]
77 )
78 - rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 )
79 + rdp? ( >=net-misc/freerdp-1.1.0:= )
80 + remoting? (
81 + media-libs/gstreamer:1.0
82 + media-libs/gst-plugins-base:1.0
83 + )
84 systemd? (
85 sys-auth/pambase[systemd]
86 >=sys-apps/systemd-209[pam]
87 )
88 launch? ( sys-auth/pambase )
89 - unwind? ( sys-libs/libunwind )
90 X? (
91 >=x11-libs/libxcb-1.9
92 x11-libs/libX11
93 @@ -95,11 +98,12 @@ src_prepare() {
94 }
95
96 src_configure() {
97 - local myconf
98 + local myconf=()
99 +
100 if use examples || use test; then
101 - myconf="--enable-simple-clients"
102 + myconf+=( --enable-simple-clients )
103 else
104 - myconf="--disable-simple-clients"
105 + myconf+=( --disable-simple-clients )
106 fi
107
108 econf \
109 @@ -116,7 +120,7 @@ src_configure() {
110 $(use_enable launch weston-launch) \
111 $(use_enable colord) \
112 $(use_enable gles2 egl) \
113 - $(use_enable unwind libunwind) \
114 + $(use_enable remoting) \
115 $(use_enable resize-optimization) \
116 $(use_enable screen-sharing) \
117 $(use_enable suid setuid-install) \
118 @@ -132,7 +136,7 @@ src_configure() {
119 --disable-simple-dmabuf-v4l-client \
120 --disable-simple-egl-clients \
121 --disable-vaapi-recorder \
122 - ${myconf}
123 + "${myconf[@]}"
124 }
125
126 src_test() {