Gentoo Archives: gentoo-commits

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