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: weston-1.6.1.ebuild ChangeLog
Date: Mon, 09 Feb 2015 01:21:37
Message-Id: 20150209012132.D2895115BE@oystercatcher.gentoo.org
1 chithanh 15/02/09 01:21:32
2
3 Modified: ChangeLog
4 Added: weston-1.6.1.ebuild
5 Log:
6 Version bump. Shut up repoman warning.
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x2324E7B566DF2611!)
9
10 Revision Changes Path
11 1.14 dev-libs/weston/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/weston/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 27 Sep 2014 23:00:35 -0000 1.13
24 +++ ChangeLog 9 Feb 2015 01:21:32 -0000 1.14
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/weston
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/ChangeLog,v 1.13 2014/09/27 23:00:35 mattst88 Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/ChangeLog,v 1.14 2015/02/09 01:21:32 chithanh Exp $
31 +
32 +*weston-1.6.1 (09 Feb 2015)
33 +
34 + 09 Feb 2015; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
35 + +weston-1.6.1.ebuild:
36 + Version bump. Shut up repoman warning.
37
38 27 Sep 2014; Matt Turner <mattst88@g.o> weston-1.6.0.ebuild:
39 Depend on wayland-1.6.0, bug 523872.
40
41
42
43 1.1 dev-libs/weston/weston-1.6.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/weston-1.6.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/weston/weston-1.6.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: weston-1.6.1.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/weston-1.6.1.ebuild,v 1.1 2015/02/09 01:21:32 chithanh Exp $
53
54 EAPI=5
55
56 if [[ ${PV} = 9999* ]]; then
57 EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
58 GIT_ECLASS="git-r3"
59 EXPERIMENTAL="true"
60 fi
61 VIRTUALX_REQUIRED="test"
62 RESTRICT="test"
63
64 inherit autotools readme.gentoo toolchain-funcs virtualx $GIT_ECLASS
65
66 DESCRIPTION="Wayland reference compositor"
67 HOMEPAGE="http://wayland.freedesktop.org/"
68
69 if [[ $PV = 9999* ]]; then
70 SRC_URI="${SRC_PATCHES}"
71 else
72 SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
73 fi
74
75 LICENSE="MIT CC-BY-SA-3.0"
76 SLOT="0"
77 KEYWORDS="~amd64 ~arm ~x86 ~arm-linux"
78 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"
79
80 REQUIRED_USE="
81 drm? ( egl )
82 egl? ( || ( gles2 opengl ) )
83 gles2? ( !opengl )
84 screen-sharing? ( rdp )
85 test? ( X )
86 wayland-compositor? ( egl )
87 "
88
89 RDEPEND="
90 >=dev-libs/wayland-1.6.0
91 media-libs/lcms:2
92 media-libs/libpng:0=
93 media-libs/libwebp:0=
94 virtual/jpeg
95 >=x11-libs/cairo-1.11.3[gles2(-)?,opengl?]
96 >=x11-libs/libdrm-2.4.30
97 x11-libs/libxkbcommon
98 x11-libs/pixman
99 x11-misc/xkeyboard-config
100 fbdev? (
101 >=sys-libs/mtdev-1.1.0
102 >=virtual/udev-136
103 )
104 colord? ( >=x11-misc/colord-0.1.27 )
105 dbus? ( sys-apps/dbus )
106 drm? (
107 media-libs/mesa[gbm]
108 >=sys-libs/mtdev-1.1.0
109 >=virtual/udev-136
110 )
111 egl? (
112 media-libs/glu
113 media-libs/mesa[gles2,wayland]
114 )
115 editor? ( x11-libs/pango )
116 gles2? (
117 media-libs/mesa[wayland]
118 )
119 opengl? (
120 media-libs/mesa[wayland]
121 )
122 rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 )
123 rpi? (
124 >=sys-libs/mtdev-1.1.0
125 >=virtual/udev-136
126 )
127 systemd? (
128 sys-auth/pambase[systemd]
129 sys-apps/systemd[pam]
130 )
131 launch? ( sys-auth/pambase )
132 unwind? ( sys-libs/libunwind )
133 X? (
134 x11-libs/libxcb
135 x11-libs/libX11
136 )
137 xwayland? (
138 x11-base/xorg-server[wayland]
139 x11-libs/cairo[xcb]
140 x11-libs/libxcb
141 x11-libs/libXcursor
142 )
143 "
144 DEPEND="${RDEPEND}
145 virtual/pkgconfig
146 "
147
148 src_prepare() {
149 if [[ ${PV} = 9999* ]]; then
150 eautoreconf
151 fi
152 }
153
154 src_configure() {
155 local myconf
156 if use examples || use gles2 || use test; then
157 myconf="--enable-simple-clients
158 $(use_enable egl simple-egl-clients)"
159 else
160 myconf="--disable-simple-clients
161 --disable-simple-egl-clients"
162 fi
163
164 if use gles2; then
165 myconf+=" --with-cairo=glesv2"
166 elif use opengl; then
167 myconf+=" --with-cairo=gl"
168 else
169 myconf+=" --with-cairo=image"
170 fi
171
172 econf \
173 $(use_enable examples demo-clients-install) \
174 $(use_enable fbdev fbdev-compositor) \
175 $(use_enable dbus) \
176 $(use_enable drm drm-compositor) \
177 $(use_enable headless headless-compositor) \
178 $(use_enable rdp rdp-compositor) \
179 $(use_enable rpi rpi-compositor) \
180 $(use_enable wayland-compositor) \
181 $(use_enable X x11-compositor) \
182 $(use_enable launch weston-launch) \
183 $(use_enable colord) \
184 $(use_enable egl) \
185 $(use_enable unwind libunwind) \
186 $(use_enable resize-optimization) \
187 $(use_enable screen-sharing) \
188 $(use_enable suid setuid-install) \
189 $(use_enable xwayland) \
190 $(use_enable xwayland xwayland-test) \
191 --disable-libinput-backend \
192 ${myconf}
193 }
194
195 src_test() {
196 export XDG_RUNTIME_DIR="${T}/runtime-dir"
197 mkdir "${XDG_RUNTIME_DIR}" || die
198 chmod 0700 "${XDG_RUNTIME_DIR}" || die
199
200 cd "${BUILD_DIR}" || die
201 Xemake check
202 }
203
204 src_install() {
205 default
206
207 readme.gentoo_src_install
208 }