Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/weston: metadata.xml weston-1.5.0.ebuild ChangeLog
Date: Wed, 21 May 2014 15:52:18
Message-Id: 20140521155214.96FF82004C@flycatcher.gentoo.org
1 chithanh 14/05/21 15:52:14
2
3 Modified: metadata.xml ChangeLog
4 Added: weston-1.5.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.4 dev-libs/weston/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/metadata.xml?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/metadata.xml?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/metadata.xml?r1=1.3&r2=1.4
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/weston/metadata.xml,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- metadata.xml 30 Jan 2014 12:24:40 -0000 1.3
24 +++ metadata.xml 21 May 2014 15:52:14 -0000 1.4
25 @@ -15,6 +15,7 @@
26 <flag name='rdp'>Enable Remote Desktop Protocol compositor support</flag>
27 <flag name='resize-optimization'>Increase performance, allocate more RAM. Recommended to disable on Raspberry Pi</flag>
28 <flag name='rpi'>Raspberry Pi GPU support</flag>
29 + <flag name='screen-sharing'>Enable screen-sharing through RDP</flag>
30 <flag name='simple-clients'>Enable simple-clients</flag>
31 <flag name='tablet'>Enable interface for tablets</flag>
32 <flag name='unwind'>Enable libunwind usage for backtraces</flag>
33
34
35
36 1.10 dev-libs/weston/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/ChangeLog?rev=1.10&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/ChangeLog?rev=1.10&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/ChangeLog?r1=1.9&r2=1.10
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/dev-libs/weston/ChangeLog,v
45 retrieving revision 1.9
46 retrieving revision 1.10
47 diff -u -r1.9 -r1.10
48 --- ChangeLog 6 Apr 2014 10:10:43 -0000 1.9
49 +++ ChangeLog 21 May 2014 15:52:14 -0000 1.10
50 @@ -1,6 +1,12 @@
51 # ChangeLog for dev-libs/weston
52 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/ChangeLog,v 1.9 2014/04/06 10:10:43 ago Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/ChangeLog,v 1.10 2014/05/21 15:52:14 chithanh Exp $
55 +
56 +*weston-1.5.0 (21 May 2014)
57 +
58 + 21 May 2014; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
59 + +weston-1.5.0.ebuild, metadata.xml:
60 + Version bump.
61
62 06 Apr 2014; Agostino Sarubbo <ago@g.o> weston-1.4.0.ebuild:
63 Stable for x86, wrt bug #500368
64
65
66
67 1.1 dev-libs/weston/weston-1.5.0.ebuild
68
69 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/weston-1.5.0.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/weston-1.5.0.ebuild?rev=1.1&content-type=text/plain
71
72 Index: weston-1.5.0.ebuild
73 ===================================================================
74 # Copyright 1999-2014 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/weston-1.5.0.ebuild,v 1.1 2014/05/21 15:52:14 chithanh Exp $
77
78 EAPI=5
79
80 if [[ ${PV} = 9999* ]]; then
81 EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
82 GIT_ECLASS="git-r3"
83 EXPERIMENTAL="true"
84 fi
85 VIRTUALX_REQUIRED="test"
86 RESTRICT="test"
87
88 inherit autotools readme.gentoo toolchain-funcs virtualx $GIT_ECLASS
89
90 DESCRIPTION="Wayland reference compositor"
91 HOMEPAGE="http://wayland.freedesktop.org/"
92
93 if [[ $PV = 9999* ]]; then
94 SRC_URI="${SRC_PATCHES}"
95 else
96 SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
97 fi
98
99 LICENSE="MIT CC-BY-SA-3.0"
100 SLOT="0"
101 KEYWORDS="~amd64 ~arm ~x86 ~arm-linux"
102 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"
103
104 REQUIRED_USE="
105 drm? ( egl )
106 egl? ( || ( gles2 opengl ) )
107 gles2? ( !opengl )
108 screen-sharing? ( rdp )
109 test? ( X )
110 wayland-compositor? ( egl )
111 "
112
113 RDEPEND="
114 >=dev-libs/wayland-1.4.0
115 media-libs/lcms:2
116 media-libs/libpng:0=
117 media-libs/libwebp:0=
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 rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 )
147 rpi? (
148 >=sys-libs/mtdev-1.1.0
149 >=virtual/udev-136
150 )
151 systemd? (
152 sys-auth/pambase[systemd]
153 sys-apps/systemd[pam]
154 )
155 launch? ( sys-auth/pambase )
156 unwind? ( sys-libs/libunwind )
157 X? (
158 x11-libs/libxcb
159 x11-libs/libX11
160 )
161 xwayland? (
162 x11-base/xorg-server[wayland]
163 x11-libs/cairo[xcb]
164 x11-libs/libxcb
165 x11-libs/libXcursor
166 )
167 "
168 DEPEND="${RDEPEND}
169 virtual/pkgconfig
170 "
171
172 src_prepare() {
173 if [[ ${PV} = 9999* ]]; then
174 eautoreconf
175 fi
176 }
177
178 src_configure() {
179 local myconf
180 if use examples || use gles2 || use test; then
181 myconf="--enable-simple-clients
182 $(use_enable egl simple-egl-clients)"
183 else
184 myconf="--disable-simple-clients
185 --disable-simple-egl-clients"
186 fi
187
188 if use gles2; then
189 myconf+=" --with-cairo=glesv2"
190 elif use opengl; then
191 myconf+=" --with-cairo=gl"
192 else
193 myconf+=" --with-cairo=image"
194 fi
195
196 econf \
197 $(use_enable examples demo-clients-install) \
198 $(use_enable fbdev fbdev-compositor) \
199 $(use_enable dbus) \
200 $(use_enable drm drm-compositor) \
201 $(use_enable headless headless-compositor) \
202 $(use_enable rdp rdp-compositor) \
203 $(use_enable rpi rpi-compositor) \
204 $(use_enable wayland-compositor) \
205 $(use_enable X x11-compositor) \
206 $(use_enable launch weston-launch) \
207 $(use_enable colord) \
208 $(use_enable egl) \
209 $(use_enable unwind libunwind) \
210 $(use_enable resize-optimization) \
211 $(use_enable screen-sharing) \
212 $(use_enable suid setuid-install) \
213 $(use_enable xwayland) \
214 $(use_enable xwayland xwayland-test) \
215 --disable-libinput-backend \
216 ${myconf}
217 }
218
219 src_test() {
220 export XDG_RUNTIME_DIR="${T}/runtime-dir"
221 mkdir "${XDG_RUNTIME_DIR}" || die
222 chmod 0700 "${XDG_RUNTIME_DIR}" || die
223
224 cd "${BUILD_DIR}" || die
225 Xemake check
226 }
227
228 src_install() {
229 default
230
231 readme.gentoo_src_install
232 }