1 |
commit: 9fe3894274b687c11fa91cf0bcd52dcfe7304c72 |
2 |
Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 21 16:42:28 2014 +0000 |
4 |
Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de> |
5 |
CommitDate: Wed May 21 16:42:28 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=9fe38942 |
7 |
|
8 |
dev-libs/weston: sync ebuild with portage |
9 |
|
10 |
--- |
11 |
dev-libs/weston/weston-9999.ebuild | 46 ++++++-------------------------------- |
12 |
1 file changed, 7 insertions(+), 39 deletions(-) |
13 |
|
14 |
diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild |
15 |
index e19404c..cdada48 100644 |
16 |
--- a/dev-libs/weston/weston-9999.ebuild |
17 |
+++ b/dev-libs/weston/weston-9999.ebuild |
18 |
@@ -19,20 +19,20 @@ HOMEPAGE="http://wayland.freedesktop.org/" |
19 |
|
20 |
if [[ $PV = 9999* ]]; then |
21 |
SRC_URI="${SRC_PATCHES}" |
22 |
- KEYWORDS="" |
23 |
else |
24 |
SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz" |
25 |
- KEYWORDS="~arm ~amd64 ~x86 ~arm-linux" |
26 |
fi |
27 |
|
28 |
LICENSE="MIT CC-BY-SA-3.0" |
29 |
SLOT="0" |
30 |
-IUSE="colord dbus +drm +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi +launch static-libs +suid systemd test unwind view wayland-compositor +X xwayland" |
31 |
+KEYWORDS="~amd64 ~arm ~x86 ~arm-linux" |
32 |
+IUSE="colord dbus +drm +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi +launch screen-sharing static-libs +suid systemd test unwind wayland-compositor +X xwayland" |
33 |
|
34 |
REQUIRED_USE=" |
35 |
drm? ( egl ) |
36 |
egl? ( || ( gles2 opengl ) ) |
37 |
gles2? ( !opengl ) |
38 |
+ screen-sharing? ( rdp ) |
39 |
test? ( X ) |
40 |
wayland-compositor? ( egl ) |
41 |
" |
42 |
@@ -70,10 +70,6 @@ RDEPEND=" |
43 |
opengl? ( |
44 |
media-libs/mesa[wayland] |
45 |
) |
46 |
- view? ( |
47 |
- app-text/poppler:=[cairo] |
48 |
- dev-libs/glib:2 |
49 |
- ) |
50 |
rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 ) |
51 |
rpi? ( |
52 |
>=sys-libs/mtdev-1.1.0 |
53 |
@@ -90,13 +86,13 @@ RDEPEND=" |
54 |
x11-libs/libX11 |
55 |
) |
56 |
xwayland? ( |
57 |
+ x11-base/xorg-server[wayland] |
58 |
x11-libs/cairo[xcb] |
59 |
x11-libs/libxcb |
60 |
x11-libs/libXcursor |
61 |
) |
62 |
" |
63 |
DEPEND="${RDEPEND} |
64 |
- gnome-base/librsvg |
65 |
virtual/pkgconfig |
66 |
" |
67 |
|
68 |
@@ -125,6 +121,7 @@ src_configure() { |
69 |
fi |
70 |
|
71 |
econf \ |
72 |
+ $(use_enable examples demo-clients-install) \ |
73 |
$(use_enable fbdev fbdev-compositor) \ |
74 |
$(use_enable dbus) \ |
75 |
$(use_enable drm drm-compositor) \ |
76 |
@@ -138,9 +135,11 @@ src_configure() { |
77 |
$(use_enable egl) \ |
78 |
$(use_enable unwind libunwind) \ |
79 |
$(use_enable resize-optimization) \ |
80 |
+ $(use_enable screen-sharing) \ |
81 |
$(use_enable suid setuid-install) \ |
82 |
$(use_enable xwayland) \ |
83 |
$(use_enable xwayland xwayland-test) \ |
84 |
+ --disable-libinput-backend \ |
85 |
${myconf} |
86 |
} |
87 |
|
88 |
@@ -157,35 +156,4 @@ src_install() { |
89 |
default |
90 |
|
91 |
readme.gentoo_src_install |
92 |
- |
93 |
- pushd clients || die |
94 |
- |
95 |
- if use opengl && use egl && use !gles2; then |
96 |
- dobin weston-gears |
97 |
- fi |
98 |
- if use editor; then |
99 |
- dobin weston-editor |
100 |
- fi |
101 |
- if use view; then |
102 |
- dobin weston-view |
103 |
- fi |
104 |
- if use examples; then |
105 |
- use egl && dobin weston-simple-egl |
106 |
- dobin \ |
107 |
- weston-calibrator \ |
108 |
- weston-clickdot \ |
109 |
- weston-cliptest \ |
110 |
- weston-dnd \ |
111 |
- weston-eventdemo \ |
112 |
- weston-flower \ |
113 |
- weston-fullscreen \ |
114 |
- weston-image \ |
115 |
- weston-resizor \ |
116 |
- weston-simple-shm \ |
117 |
- weston-simple-touch \ |
118 |
- weston-smoke \ |
119 |
- weston-transformed |
120 |
- fi |
121 |
- popd |
122 |
- |
123 |
} |