Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/base/, dev-libs/weston/
Date: Tue, 22 Sep 2015 16:33:27
Message-Id: 1442939567.7c369cc5675d36dd06d4629acb6b5a3763a1b3a5.mattst88@gentoo
1 commit: 7c369cc5675d36dd06d4629acb6b5a3763a1b3a5
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 30 19:49:27 2015 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 22 16:32:47 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c369cc5
7
8 dev-libs/weston: Remove the ability to select --with-cairo={gl,glesv2}.
9
10 Bug: https://bugs.gentoo.org/549912
11
12 dev-libs/weston/weston-9999.ebuild | 36 ++++++++++--------------------------
13 profiles/base/package.use.mask | 3 ++-
14 2 files changed, 12 insertions(+), 27 deletions(-)
15
16 diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild
17 index 0c32e69..f4e816e 100644
18 --- a/dev-libs/weston/weston-9999.ebuild
19 +++ b/dev-libs/weston/weston-9999.ebuild
20 @@ -27,15 +27,13 @@ fi
21
22 LICENSE="MIT CC-BY-SA-3.0"
23 SLOT="0"
24 -IUSE="colord dbus +drm +egl editor examples fbdev gles2 headless ivi +opengl rdp +resize-optimization rpi +launch screen-sharing static-libs +suid systemd test unwind wayland-compositor +X xwayland"
25 +IUSE="colord dbus +drm editor examples fbdev +gles2 headless ivi rdp +resize-optimization rpi +launch screen-sharing static-libs +suid systemd test unwind wayland-compositor +X xwayland"
26
27 REQUIRED_USE="
28 - drm? ( egl )
29 - egl? ( || ( gles2 opengl ) )
30 - gles2? ( !opengl )
31 + drm? ( gles2 )
32 screen-sharing? ( rdp )
33 test? ( X )
34 - wayland-compositor? ( egl )
35 + wayland-compositor? ( gles2 )
36 "
37
38 RDEPEND="
39 @@ -45,7 +43,7 @@ RDEPEND="
40 media-libs/libpng:0=
41 media-libs/libwebp:0=
42 virtual/jpeg
43 - >=x11-libs/cairo-1.11.3[gles2(-)?,opengl?]
44 + >=x11-libs/cairo-1.11.3
45 >=x11-libs/libdrm-2.4.30
46 x11-libs/libxkbcommon
47 x11-libs/pixman
48 @@ -61,15 +59,9 @@ RDEPEND="
49 >=sys-libs/mtdev-1.1.0
50 >=virtual/udev-136
51 )
52 - egl? (
53 - media-libs/mesa[gles2,wayland]
54 - )
55 editor? ( x11-libs/pango )
56 gles2? (
57 - media-libs/mesa[wayland]
58 - )
59 - opengl? (
60 - media-libs/mesa[wayland]
61 + media-libs/mesa[gles2,wayland]
62 )
63 rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 )
64 rpi? (
65 @@ -105,21 +97,13 @@ src_prepare() {
66
67 src_configure() {
68 local myconf
69 - if use examples || use gles2 || use test; then
70 - myconf="--enable-simple-clients
71 - $(use_enable egl simple-egl-clients)"
72 + if use examples || use test; then
73 + myconf="--enable-simple-clients"
74 else
75 - myconf="--disable-simple-clients
76 - --disable-simple-egl-clients"
77 + myconf="--disable-simple-clients"
78 fi
79
80 - if use gles2; then
81 - myconf+=" --with-cairo=glesv2"
82 - elif use opengl; then
83 - myconf+=" --with-cairo=gl"
84 - else
85 - myconf+=" --with-cairo=image"
86 - fi
87 + myconf+=" --with-cairo=image --disable-simple-egl-clients"
88
89 econf \
90 $(use_enable examples demo-clients-install) \
91 @@ -134,7 +118,7 @@ src_configure() {
92 $(use_enable X x11-compositor) \
93 $(use_enable launch weston-launch) \
94 $(use_enable colord) \
95 - $(use_enable egl) \
96 + $(use_enable gles2 egl) \
97 $(use_enable unwind libunwind) \
98 $(use_enable resize-optimization) \
99 $(use_enable screen-sharing) \
100
101 diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
102 index dedbee4..6ebc30d 100644
103 --- a/profiles/base/package.use.mask
104 +++ b/profiles/base/package.use.mask
105 @@ -469,7 +469,8 @@ media-sound/clementine ios
106 # Chí-Thanh Christopher Nguyễn <chithanh@g.o> (13 Jul 2013)
107 # GL/GLES support in cairo is mutually exclusive, bug #428770.
108 x11-libs/cairo gles2
109 -dev-libs/weston gles2 rpi
110 +dev-libs/weston rpi
111 +<dev-libs/weston-9999 gles2
112
113 # Alexis Ballier <aballier@g.o> (03 Jul 2013)
114 # The idea behind using libunwind there is to avoid needing to link to libgcc_s