1 |
chithanh 14/01/30 12:24:40 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: weston-1.4.0.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 dev-libs/weston/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/metadata.xml?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/metadata.xml?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/metadata.xml?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/weston/metadata.xml,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- metadata.xml 29 Jul 2013 14:35:47 -0000 1.2 |
24 |
+++ metadata.xml 30 Jan 2014 12:24:40 -0000 1.3 |
25 |
@@ -11,6 +11,7 @@ |
26 |
<flag name='fbdev'>Enable fbdev compositor support</flag> |
27 |
<flag name='gles2'>Use GLESv2 cairo instead of full GL</flag> |
28 |
<flag name='headless'>Headless backend and a noop renderer, mainly for testing purposes</flag> |
29 |
+ <flag name='launch'>Install weston-launch utility</flag> |
30 |
<flag name='rdp'>Enable Remote Desktop Protocol compositor support</flag> |
31 |
<flag name='resize-optimization'>Increase performance, allocate more RAM. Recommended to disable on Raspberry Pi</flag> |
32 |
<flag name='rpi'>Raspberry Pi GPU support</flag> |
33 |
|
34 |
|
35 |
|
36 |
1.6 dev-libs/weston/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/ChangeLog?rev=1.6&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/ChangeLog?rev=1.6&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/ChangeLog?r1=1.5&r2=1.6 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/weston/ChangeLog,v |
45 |
retrieving revision 1.5 |
46 |
retrieving revision 1.6 |
47 |
diff -u -r1.5 -r1.6 |
48 |
--- ChangeLog 25 Aug 2013 16:39:48 -0000 1.5 |
49 |
+++ ChangeLog 30 Jan 2014 12:24:40 -0000 1.6 |
50 |
@@ -1,6 +1,12 @@ |
51 |
# ChangeLog for dev-libs/weston |
52 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/ChangeLog,v 1.5 2013/08/25 16:39:48 chithanh Exp $ |
54 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
55 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/ChangeLog,v 1.6 2014/01/30 12:24:40 chithanh Exp $ |
56 |
+ |
57 |
+*weston-1.4.0 (30 Jan 2014) |
58 |
+ |
59 |
+ 30 Jan 2014; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
60 |
+ +weston-1.4.0.ebuild, metadata.xml: |
61 |
+ Version bump. |
62 |
|
63 |
*weston-1.2.1 (25 Aug 2013) |
64 |
|
65 |
|
66 |
|
67 |
|
68 |
1.1 dev-libs/weston/weston-1.4.0.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/weston-1.4.0.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/weston-1.4.0.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: weston-1.4.0.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2014 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/weston-1.4.0.ebuild,v 1.1 2014/01/30 12:24:40 chithanh Exp $ |
78 |
|
79 |
EAPI=5 |
80 |
|
81 |
if [[ ${PV} = 9999* ]]; then |
82 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}" |
83 |
GIT_ECLASS="git-r3" |
84 |
EXPERIMENTAL="true" |
85 |
fi |
86 |
VIRTUALX_REQUIRED="test" |
87 |
RESTRICT="test" |
88 |
|
89 |
inherit autotools readme.gentoo toolchain-funcs virtualx $GIT_ECLASS |
90 |
|
91 |
DESCRIPTION="Wayland reference compositor" |
92 |
HOMEPAGE="http://wayland.freedesktop.org/" |
93 |
|
94 |
if [[ $PV = 9999* ]]; then |
95 |
SRC_URI="${SRC_PATCHES}" |
96 |
KEYWORDS="" |
97 |
else |
98 |
SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz" |
99 |
KEYWORDS="~arm ~amd64 ~x86 ~arm-linux" |
100 |
fi |
101 |
|
102 |
LICENSE="MIT CC-BY-SA-3.0" |
103 |
SLOT="0" |
104 |
IUSE="colord +drm dbus +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi +launch static-libs +suid systemd test unwind view wayland-compositor +X xwayland" |
105 |
|
106 |
REQUIRED_USE=" |
107 |
drm? ( egl ) |
108 |
egl? ( || ( gles2 opengl ) ) |
109 |
gles2? ( !opengl ) |
110 |
test? ( X ) |
111 |
wayland-compositor? ( egl ) |
112 |
" |
113 |
|
114 |
RDEPEND=" |
115 |
>=dev-libs/wayland-1.4.0 |
116 |
media-libs/lcms:2 |
117 |
media-libs/libpng:= |
118 |
virtual/jpeg |
119 |
>=x11-libs/cairo-1.11.3[gles2(-)?,opengl?] |
120 |
>=x11-libs/libdrm-2.4.30 |
121 |
x11-libs/libxkbcommon |
122 |
x11-libs/pixman |
123 |
x11-misc/xkeyboard-config |
124 |
fbdev? ( |
125 |
>=sys-libs/mtdev-1.1.0 |
126 |
>=virtual/udev-136 |
127 |
) |
128 |
colord? ( >=x11-misc/colord-0.1.27 ) |
129 |
dbus? ( sys-apps/dbus ) |
130 |
drm? ( |
131 |
media-libs/mesa[gbm] |
132 |
>=sys-libs/mtdev-1.1.0 |
133 |
>=virtual/udev-136 |
134 |
) |
135 |
egl? ( |
136 |
media-libs/glu |
137 |
media-libs/mesa[gles2,wayland] |
138 |
) |
139 |
editor? ( x11-libs/pango ) |
140 |
gles2? ( |
141 |
media-libs/mesa[wayland] |
142 |
) |
143 |
opengl? ( |
144 |
media-libs/mesa[wayland] |
145 |
) |
146 |
view? ( |
147 |
app-text/poppler:=[cairo] |
148 |
dev-libs/glib:2 |
149 |
) |
150 |
rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 ) |
151 |
rpi? ( |
152 |
>=sys-libs/mtdev-1.1.0 |
153 |
>=virtual/udev-136 |
154 |
) |
155 |
systemd? ( |
156 |
sys-auth/pambase[systemd] |
157 |
sys-apps/systemd[pam] |
158 |
) |
159 |
launch? ( sys-auth/pambase ) |
160 |
unwind? ( sys-libs/libunwind ) |
161 |
X? ( |
162 |
x11-libs/libxcb |
163 |
x11-libs/libX11 |
164 |
) |
165 |
xwayland? ( |
166 |
x11-libs/cairo[xcb] |
167 |
x11-libs/libxcb |
168 |
x11-libs/libXcursor |
169 |
) |
170 |
" |
171 |
DEPEND="${RDEPEND} |
172 |
gnome-base/librsvg |
173 |
virtual/pkgconfig |
174 |
" |
175 |
|
176 |
src_prepare() { |
177 |
if [[ ${PV} = 9999* ]]; then |
178 |
eautoreconf |
179 |
fi |
180 |
} |
181 |
|
182 |
src_configure() { |
183 |
local myconf |
184 |
if use examples || use gles2 || use test; then |
185 |
myconf="--enable-simple-clients |
186 |
$(use_enable egl simple-egl-clients)" |
187 |
else |
188 |
myconf="--disable-simple-clients |
189 |
--disable-simple-egl-clients" |
190 |
fi |
191 |
|
192 |
if use gles2; then |
193 |
myconf+=" --with-cairo=glesv2" |
194 |
elif use opengl; then |
195 |
myconf+=" --with-cairo=gl" |
196 |
else |
197 |
myconf+=" --with-cairo=image" |
198 |
fi |
199 |
|
200 |
econf \ |
201 |
$(use_enable fbdev fbdev-compositor) \ |
202 |
$(use_enable dbus) \ |
203 |
$(use_enable drm drm-compositor) \ |
204 |
$(use_enable headless headless-compositor) \ |
205 |
$(use_enable rdp rdp-compositor) \ |
206 |
$(use_enable rpi rpi-compositor) \ |
207 |
$(use_enable wayland-compositor) \ |
208 |
$(use_enable X x11-compositor) \ |
209 |
$(use_enable launch weston-launch) \ |
210 |
$(use_enable colord) \ |
211 |
$(use_enable egl) \ |
212 |
$(use_enable unwind libunwind) \ |
213 |
$(use_enable resize-optimization) \ |
214 |
$(use_enable suid setuid-install) \ |
215 |
$(use_enable xwayland) \ |
216 |
$(use_enable xwayland xwayland-test) \ |
217 |
${myconf} |
218 |
} |
219 |
|
220 |
src_test() { |
221 |
export XDG_RUNTIME_DIR="${T}/runtime-dir" |
222 |
mkdir "${XDG_RUNTIME_DIR}" || die |
223 |
chmod 0700 "${XDG_RUNTIME_DIR}" || die |
224 |
|
225 |
cd "${BUILD_DIR}" || die |
226 |
Xemake check |
227 |
} |
228 |
|
229 |
src_install() { |
230 |
default |
231 |
|
232 |
readme.gentoo_src_install |
233 |
|
234 |
pushd clients || die |
235 |
|
236 |
if use opengl && use egl && use !gles2; then |
237 |
dobin weston-gears |
238 |
fi |
239 |
if use editor; then |
240 |
dobin weston-editor |
241 |
fi |
242 |
if use view; then |
243 |
dobin weston-view |
244 |
fi |
245 |
if use examples; then |
246 |
use egl && dobin weston-simple-egl |
247 |
dobin \ |
248 |
weston-calibrator \ |
249 |
weston-clickdot \ |
250 |
weston-cliptest \ |
251 |
weston-dnd \ |
252 |
weston-eventdemo \ |
253 |
weston-flower \ |
254 |
weston-fullscreen \ |
255 |
weston-image \ |
256 |
weston-resizor \ |
257 |
weston-simple-shm \ |
258 |
weston-simple-touch \ |
259 |
weston-smoke \ |
260 |
weston-transformed |
261 |
fi |
262 |
popd |
263 |
|
264 |
} |