1 |
commit: 64a36e616a2c524af2375f75dbee9b952fe2030a |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 16 23:01:44 2018 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 16 23:04:51 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a36e61 |
7 |
|
8 |
dev-libs/weston: Version bump to 5.0.0 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/634572 |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.12 |
12 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
13 |
|
14 |
dev-libs/weston/Manifest | 1 + |
15 |
dev-libs/weston/weston-5.0.0.ebuild | 150 ++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 151 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/weston/Manifest b/dev-libs/weston/Manifest |
19 |
index e4a6d59c72c..2c30fde70a9 100644 |
20 |
--- a/dev-libs/weston/Manifest |
21 |
+++ b/dev-libs/weston/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST weston-3.0.0.tar.xz 1300340 BLAKE2B 38b46ecca03ffee7832a561348cb1d6604db7e0add8b5629141ce61593ae250625d71c6716f02296157ea5a61764ff10561fa7ffc8f3c1426a4c86589b13b5c3 SHA512 b824c39f2a884f6d50d607613f447090621f684c96f7d905f25f6e500dabd03ecb2b1cd1030babc193c3417223cb220103abb792437e1a5ead7229a76b5c7a58 |
24 |
+DIST weston-5.0.0.tar.xz 1467496 BLAKE2B 514bc4c4f09dc8bc5b068c66cf14b86687bee1e691f7dfcb251a5ae7fe02389b48626ed02c97eff9334b43e227ea8b83beef48c53a83b4691f59a65af53ad61d SHA512 b6f97eca014ea47f3de0c5ddd89712f896cd66423d0eb499e1d88d35aab616cef1e735ebb8e0cefd8b60085314b6ec3d56b39d7c4776188bb56d58efc84a52cf |
25 |
|
26 |
diff --git a/dev-libs/weston/weston-5.0.0.ebuild b/dev-libs/weston/weston-5.0.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..61c5f7776cc |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/weston/weston-5.0.0.ebuild |
31 |
@@ -0,0 +1,150 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+if [[ ${PV} = 9999* ]]; then |
38 |
+ EGIT_REPO_URI="https://anongit.freedesktop.org/git/wayland/weston.git" |
39 |
+ GIT_ECLASS="git-r3" |
40 |
+ EXPERIMENTAL="true" |
41 |
+fi |
42 |
+ |
43 |
+inherit autotools readme.gentoo-r1 toolchain-funcs $GIT_ECLASS |
44 |
+ |
45 |
+DESCRIPTION="Wayland reference compositor" |
46 |
+HOMEPAGE="https://wayland.freedesktop.org/" |
47 |
+ |
48 |
+if [[ $PV = 9999* ]]; then |
49 |
+ SRC_URI="${SRC_PATCHES}" |
50 |
+ KEYWORDS="" |
51 |
+else |
52 |
+ SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz" |
53 |
+ KEYWORDS="~amd64 ~arm ~x86" |
54 |
+fi |
55 |
+ |
56 |
+LICENSE="MIT CC-BY-SA-3.0" |
57 |
+SLOT="0" |
58 |
+ |
59 |
+IUSE="colord dbus +drm editor examples fbdev +gles2 headless ivi jpeg +launch lcms rdp +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland" |
60 |
+ |
61 |
+REQUIRED_USE=" |
62 |
+ drm? ( gles2 ) |
63 |
+ screen-sharing? ( rdp ) |
64 |
+ systemd? ( dbus ) |
65 |
+ test? ( headless xwayland ) |
66 |
+ wayland-compositor? ( gles2 ) |
67 |
+" |
68 |
+ |
69 |
+RDEPEND=" |
70 |
+ >=dev-libs/libinput-0.8.0 |
71 |
+ >=dev-libs/wayland-1.12.0 |
72 |
+ >=dev-libs/wayland-protocols-1.13 |
73 |
+ lcms? ( media-libs/lcms:2 ) |
74 |
+ media-libs/libpng:0= |
75 |
+ webp? ( media-libs/libwebp:0= ) |
76 |
+ jpeg? ( virtual/jpeg:0= ) |
77 |
+ >=x11-libs/cairo-1.11.3 |
78 |
+ >=x11-libs/libdrm-2.4.68 |
79 |
+ >=x11-libs/libxkbcommon-0.5.0 |
80 |
+ >=x11-libs/pixman-0.25.2 |
81 |
+ x11-misc/xkeyboard-config |
82 |
+ fbdev? ( |
83 |
+ >=sys-libs/mtdev-1.1.0 |
84 |
+ >=virtual/udev-136 |
85 |
+ ) |
86 |
+ colord? ( >=x11-misc/colord-0.1.27 ) |
87 |
+ dbus? ( >=sys-apps/dbus-1.6 ) |
88 |
+ drm? ( |
89 |
+ >=media-libs/mesa-17.1[gbm] |
90 |
+ >=sys-libs/mtdev-1.1.0 |
91 |
+ >=virtual/udev-136 |
92 |
+ ) |
93 |
+ editor? ( x11-libs/pango ) |
94 |
+ gles2? ( |
95 |
+ media-libs/mesa[gles2,wayland] |
96 |
+ ) |
97 |
+ rdp? ( >=net-misc/freerdp-1.1.0:= ) |
98 |
+ systemd? ( |
99 |
+ sys-auth/pambase[systemd] |
100 |
+ >=sys-apps/systemd-209[pam] |
101 |
+ ) |
102 |
+ launch? ( sys-auth/pambase ) |
103 |
+ X? ( |
104 |
+ >=x11-libs/libxcb-1.9 |
105 |
+ x11-libs/libX11 |
106 |
+ ) |
107 |
+ xwayland? ( |
108 |
+ x11-base/xorg-server[wayland] |
109 |
+ x11-libs/cairo[xcb] |
110 |
+ >=x11-libs/libxcb-1.9 |
111 |
+ x11-libs/libXcursor |
112 |
+ ) |
113 |
+" |
114 |
+DEPEND="${RDEPEND} |
115 |
+ virtual/pkgconfig |
116 |
+" |
117 |
+ |
118 |
+src_prepare() { |
119 |
+ default |
120 |
+ if [[ ${PV} = 9999* ]]; then |
121 |
+ eautoreconf |
122 |
+ else |
123 |
+ elibtoolize |
124 |
+ fi |
125 |
+} |
126 |
+ |
127 |
+src_configure() { |
128 |
+ local myconf=() |
129 |
+ |
130 |
+ if use examples || use test; then |
131 |
+ myconf+=( --enable-simple-clients ) |
132 |
+ else |
133 |
+ myconf+=( --disable-simple-clients ) |
134 |
+ fi |
135 |
+ |
136 |
+ econf \ |
137 |
+ $(use_enable examples demo-clients-install) \ |
138 |
+ $(use_enable fbdev fbdev-compositor) \ |
139 |
+ $(use_enable dbus) \ |
140 |
+ $(use_enable drm drm-compositor) \ |
141 |
+ $(use_enable headless headless-compositor) \ |
142 |
+ $(use_enable ivi ivi-shell) \ |
143 |
+ $(use_enable lcms) \ |
144 |
+ $(use_enable rdp rdp-compositor) \ |
145 |
+ $(use_enable wayland-compositor) \ |
146 |
+ $(use_enable X x11-compositor) \ |
147 |
+ $(use_enable launch weston-launch) \ |
148 |
+ $(use_enable colord) \ |
149 |
+ $(use_enable gles2 egl) \ |
150 |
+ $(use_enable resize-optimization) \ |
151 |
+ $(use_enable screen-sharing) \ |
152 |
+ $(use_enable suid setuid-install) \ |
153 |
+ $(use_enable systemd systemd-login) \ |
154 |
+ $(use_enable systemd systemd-notify) \ |
155 |
+ $(use_enable xwayland) \ |
156 |
+ $(use_enable xwayland xwayland-test) \ |
157 |
+ $(use_with jpeg) \ |
158 |
+ $(use_with webp) \ |
159 |
+ --with-cairo=image \ |
160 |
+ --disable-junit-xml \ |
161 |
+ --disable-simple-dmabuf-drm-client \ |
162 |
+ --disable-simple-dmabuf-v4l-client \ |
163 |
+ --disable-simple-egl-clients \ |
164 |
+ --disable-vaapi-recorder \ |
165 |
+ "${myconf[@]}" |
166 |
+} |
167 |
+ |
168 |
+src_test() { |
169 |
+ export XDG_RUNTIME_DIR="${T}/runtime-dir" |
170 |
+ mkdir "${XDG_RUNTIME_DIR}" || die |
171 |
+ chmod 0700 "${XDG_RUNTIME_DIR}" || die |
172 |
+ |
173 |
+ cd "${BUILD_DIR}" || die |
174 |
+ emake check |
175 |
+} |
176 |
+ |
177 |
+src_install() { |
178 |
+ default |
179 |
+ |
180 |
+ readme.gentoo_create_doc |
181 |
+} |