1 |
commit: 59e6f5b59a0b1f3b9a71e80f77503021c32b05eb |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 31 00:07:18 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 31 01:58:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59e6f5b5 |
7 |
|
8 |
x11-wm/mutter: Drop old versions |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
x11-wm/mutter/Manifest | 3 - |
13 |
x11-wm/mutter/mutter-3.38.4-r1.ebuild | 149 ---------------------------------- |
14 |
x11-wm/mutter/mutter-3.38.4.ebuild | 143 -------------------------------- |
15 |
x11-wm/mutter/mutter-40.0.ebuild | 148 --------------------------------- |
16 |
4 files changed, 443 deletions(-) |
17 |
|
18 |
diff --git a/x11-wm/mutter/Manifest b/x11-wm/mutter/Manifest |
19 |
index e2a04783bb4..5d053385763 100644 |
20 |
--- a/x11-wm/mutter/Manifest |
21 |
+++ b/x11-wm/mutter/Manifest |
22 |
@@ -1,6 +1,3 @@ |
23 |
DIST mutter-3.36.7-patchset.tar.xz 14232 BLAKE2B 90a289f7012e28607d487fd635b73683e657bfd8792dbf662f8822ac7f096d21add6fcd3b7092e4e82f2130226f5b1ff9afd1e026fec8333680c9b4e4712dea2 SHA512 74e3951358a02c552a45b590360b9a038283e983ff78daf433fea1589ca3e7824f21af3b786a06ba84fb400581dfc4f97f29d259afdaca2ae3e1456a49a96243 |
24 |
DIST mutter-3.36.7.tar.xz 2689176 BLAKE2B a3849b254dbe2029736ef760fe4225e63bf1d87bf2856a87682574904bd047822916485a3e00d2760118132466414b68764731ea4af9add5d734fd7ce3eac730 SHA512 6061cc8a3bdefe57049f9da757b9a33321b28ff7bc9543bc1db3abd75c7261bf233180fb1e8a2f76145dd67ebda91c48981f6e844a866ef6cbb66203af4b7ef7 |
25 |
-DIST mutter-3.38.4-r1-patchset.tar.xz 8188 BLAKE2B b9765fbb3514c5b6e0015b98bcb78381db8e5ea991fbb51e5df3e507fe1771e7bf8be8c927dc38fd05281c1019a91e71241f7c7492618cff685bd2a6c57e8b89 SHA512 a1b7e86991d42479b8791f6afe1866b8066bcfa1455907a1628a8a2ee6d231e2ca4d19170be3eb6850e9e2ae844e0ab296d4c914065ba0b3348be650395e1e6c |
26 |
-DIST mutter-3.38.4.tar.xz 2623788 BLAKE2B 27ca701459b3b70c790c8fec02b5e34eebecf5b4bd11a706a25eea19af0ee5be278835d6f789c4f77df6ec2ab23ae58bb491a0591d1ff51c9dae4690b9dde73f SHA512 a80728a5bd99e727717cb49f0fbfa0db0bb02b64d7e287b4b7e5e848774ea2191db57f8c70d4b1852db201384ac413daa7108472610e8f8986d13744d800fe11 |
27 |
-DIST mutter-40.0.tar.xz 2678364 BLAKE2B 3016216c396e5362a3c92dae44911ab67be6ad38b551ffef772f840fc1202ccd59a6800fe76526bab7ba1adf645a243bc000301ff6b331c949f660380143bcff SHA512 af4fd21e5ea7e2cf1004d6912771279cebb2fc60f51f5c7371fd5f6fefbfbd7e36841de98757b8f116b0d2006c1151ccf74ed03ee62836cf59d2a86eaf48084d |
28 |
DIST mutter-40.1.tar.xz 2680816 BLAKE2B 924fd977e1c6669abd5adea1855c3a0a4027ae7e96ab3c6ccbe3d54da5f431e386f9c2f8f060dc9cd066c7414a2bb90a05760fa3413c6805cd8b73cb5d3aed90 SHA512 c2b6603e1d55492916f742f9cb8e15588cb30e78c37de987404ac40d3befa65e417184305ad87fdffc41052a094790f9e324a1ea7482e5de4f0439dceefed118 |
29 |
|
30 |
diff --git a/x11-wm/mutter/mutter-3.38.4-r1.ebuild b/x11-wm/mutter/mutter-3.38.4-r1.ebuild |
31 |
deleted file mode 100644 |
32 |
index 4a385513c5a..00000000000 |
33 |
--- a/x11-wm/mutter/mutter-3.38.4-r1.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,149 +0,0 @@ |
36 |
-# Copyright 1999-2021 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
-inherit gnome.org gnome2-utils meson virtualx xdg |
41 |
- |
42 |
-DESCRIPTION="GNOME 3 compositing window manager based on Clutter" |
43 |
-HOMEPAGE="https://gitlab.gnome.org/GNOME/mutter/" |
44 |
-SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${PF}-patchset.tar.xz" |
45 |
- |
46 |
-LICENSE="GPL-2+" |
47 |
-SLOT="0/7" # 0/libmutter_api_version - ONLY gnome-shell (or anything using mutter-clutter-<api_version>.pc) should use the subslot |
48 |
- |
49 |
-IUSE="elogind input_devices_wacom +introspection screencast sysprof systemd test udev wayland" |
50 |
-# native backend requires gles3 for hybrid graphics blitting support, udev and a logind provider |
51 |
-REQUIRED_USE=" |
52 |
- wayland? ( ^^ ( elogind systemd ) udev ) |
53 |
- test? ( wayland )" |
54 |
-RESTRICT="!test? ( test )" |
55 |
- |
56 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
57 |
- |
58 |
-# gnome-settings-daemon is build checked, but used at runtime only for org.gnome.settings-daemon.peripherals.keyboard gschema |
59 |
-# xorg-server is needed at build and runtime with USE=wayland for Xwayland |
60 |
-# v3.32.2 has many excessive or unused *_req variables declared, thus currently the dep order ignores those and goes via dependency() call order |
61 |
-DEPEND=" |
62 |
- >=x11-libs/libX11-1.7.0 |
63 |
- >=media-libs/graphene-1.9.3[introspection?] |
64 |
- >=x11-libs/gtk+-3.19.8:3[X,introspection?] |
65 |
- x11-libs/gdk-pixbuf:2 |
66 |
- >=x11-libs/pango-1.30[introspection?] |
67 |
- >=dev-libs/fribidi-1.0.0 |
68 |
- >=x11-libs/cairo-1.14[X] |
69 |
- >=gnome-base/gsettings-desktop-schemas-3.37.2[introspection?] |
70 |
- >=dev-libs/glib-2.61.1:2 |
71 |
- gnome-base/gnome-settings-daemon |
72 |
- >=dev-libs/json-glib-0.12.0[introspection?] |
73 |
- gnome-base/gnome-desktop:3= |
74 |
- >=x11-libs/libXcomposite-0.4 |
75 |
- x11-libs/libXcursor |
76 |
- x11-libs/libXdamage |
77 |
- x11-libs/libXext |
78 |
- >=x11-libs/libXfixes-3 |
79 |
- >=x11-libs/libXi-1.7.4 |
80 |
- x11-libs/libXtst |
81 |
- x11-libs/libxkbfile |
82 |
- x11-misc/xkeyboard-config |
83 |
- >=x11-libs/libxkbcommon-0.4.3[X] |
84 |
- x11-libs/libXrender |
85 |
- >=x11-libs/libXrandr-1.5.0 |
86 |
- x11-libs/libxcb |
87 |
- x11-libs/libXinerama |
88 |
- x11-libs/libXau |
89 |
- x11-libs/libICE |
90 |
- >=dev-libs/atk-2.5.3[introspection?] |
91 |
- >=media-libs/libcanberra-0.26 |
92 |
- sys-apps/dbus |
93 |
- media-libs/mesa[X(+),egl] |
94 |
- sysprof? ( >=dev-util/sysprof-capture-3.38.0:4 ) |
95 |
- wayland? ( |
96 |
- >=dev-libs/wayland-protocols-1.19 |
97 |
- >=dev-libs/wayland-1.18.0 |
98 |
- x11-libs/libdrm:= |
99 |
- >=media-libs/mesa-17.3[egl,gbm,wayland,gles2] |
100 |
- >=dev-libs/libinput-1.7 |
101 |
- systemd? ( sys-apps/systemd ) |
102 |
- elogind? ( sys-auth/elogind ) |
103 |
- x11-base/xorg-server[wayland] |
104 |
- ) |
105 |
- udev? ( >=dev-libs/libgudev-232:= |
106 |
- >=virtual/libudev-232-r1:= ) |
107 |
- x11-libs/libSM |
108 |
- input_devices_wacom? ( >=dev-libs/libwacom-0.13 ) |
109 |
- >=x11-libs/startup-notification-0.7 |
110 |
- screencast? ( >=media-video/pipewire-0.3.0:0/0.3 ) |
111 |
- introspection? ( >=dev-libs/gobject-introspection-1.54:= ) |
112 |
-" |
113 |
-RDEPEND="${DEPEND} |
114 |
- gnome-extra/zenity |
115 |
-" |
116 |
-DEPEND="${DEPEND} |
117 |
- x11-base/xorg-proto |
118 |
- sysprof? ( >=dev-util/sysprof-common-3.38.0 ) |
119 |
-" |
120 |
-# wayland bdepend for wayland-scanner, xorg-server for cvt utility |
121 |
-BDEPEND=" |
122 |
- dev-libs/wayland |
123 |
- dev-util/gdbus-codegen |
124 |
- dev-util/glib-utils |
125 |
- >=sys-devel/gettext-0.19.8 |
126 |
- virtual/pkgconfig |
127 |
- test? ( app-text/docbook-xml-dtd:4.5 ) |
128 |
- wayland? ( >=sys-kernel/linux-headers-4.4 |
129 |
- x11-base/xorg-server ) |
130 |
-" |
131 |
- |
132 |
-PATCHES=( |
133 |
- # origin/gnome-3-38@8c43a8ce6494b |
134 |
- "${WORKDIR}"/patches |
135 |
-) |
136 |
- |
137 |
-src_configure() { |
138 |
- # TODO: Replicate debug vs release meson build type behaviour under our buildtype=plain |
139 |
- local emesonargs=( |
140 |
- -Dopengl=true |
141 |
- #opengl_libname |
142 |
- #gles2_libname |
143 |
- $(meson_use wayland gles2) |
144 |
- -Degl=true |
145 |
- -Dglx=true |
146 |
- $(meson_use wayland) |
147 |
- $(meson_use wayland native_backend) |
148 |
- $(meson_use screencast remote_desktop) |
149 |
- -Degl_device=false # This should be dependent on wayland,video_drivers_nvidia, once eglstream support is there |
150 |
- -Dwayland_eglstream=false # requires packages egl-wayland for wayland-eglstream-protocols.pc |
151 |
- $(meson_use udev) |
152 |
- $(meson_use input_devices_wacom libwacom) |
153 |
- -Dpango_ft2=true |
154 |
- -Dstartup_notification=true |
155 |
- -Dsm=true |
156 |
- $(meson_use introspection) |
157 |
- $(meson_use test cogl_tests) |
158 |
- $(meson_use wayland core_tests) # core tests require wayland; overall -Dtests option is honored on top, so no extra conditional needed |
159 |
- $(meson_use test clutter_tests) |
160 |
- $(meson_use test tests) |
161 |
- $(meson_use sysprof profiler) |
162 |
- -Dinstalled_tests=false |
163 |
- #verbose # Let upstream choose default for verbose mode |
164 |
- #xwayland_path |
165 |
- # TODO: relies on default settings, but in Gentoo we might have some more packages we want to give Xgrab access (mostly virtual managers and remote desktops) |
166 |
- #xwayland_grab_default_access_rules |
167 |
- ) |
168 |
- meson_src_configure |
169 |
-} |
170 |
- |
171 |
-src_test() { |
172 |
- glib-compile-schemas "${BUILD_DIR}"/data |
173 |
- GSETTINGS_SCHEMA_DIR="${BUILD_DIR}"/data virtx meson_src_test |
174 |
-} |
175 |
- |
176 |
-pkg_postinst() { |
177 |
- xdg_pkg_postinst |
178 |
- gnome2_schemas_update |
179 |
-} |
180 |
- |
181 |
-pkg_postrm() { |
182 |
- xdg_pkg_postrm |
183 |
- gnome2_schemas_update |
184 |
-} |
185 |
|
186 |
diff --git a/x11-wm/mutter/mutter-3.38.4.ebuild b/x11-wm/mutter/mutter-3.38.4.ebuild |
187 |
deleted file mode 100644 |
188 |
index a72e4c75b10..00000000000 |
189 |
--- a/x11-wm/mutter/mutter-3.38.4.ebuild |
190 |
+++ /dev/null |
191 |
@@ -1,143 +0,0 @@ |
192 |
-# Copyright 1999-2021 Gentoo Authors |
193 |
-# Distributed under the terms of the GNU General Public License v2 |
194 |
- |
195 |
-EAPI=7 |
196 |
-inherit gnome.org gnome2-utils meson virtualx xdg |
197 |
- |
198 |
-DESCRIPTION="GNOME 3 compositing window manager based on Clutter" |
199 |
-HOMEPAGE="https://gitlab.gnome.org/GNOME/mutter/" |
200 |
- |
201 |
-LICENSE="GPL-2+" |
202 |
-SLOT="0/7" # 0/libmutter_api_version - ONLY gnome-shell (or anything using mutter-clutter-<api_version>.pc) should use the subslot |
203 |
- |
204 |
-IUSE="elogind input_devices_wacom +introspection screencast sysprof systemd test udev wayland" |
205 |
-# native backend requires gles3 for hybrid graphics blitting support, udev and a logind provider |
206 |
-REQUIRED_USE=" |
207 |
- wayland? ( ^^ ( elogind systemd ) udev ) |
208 |
- test? ( wayland )" |
209 |
-RESTRICT="!test? ( test )" |
210 |
- |
211 |
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" |
212 |
- |
213 |
-# gnome-settings-daemon is build checked, but used at runtime only for org.gnome.settings-daemon.peripherals.keyboard gschema |
214 |
-# xorg-server is needed at build and runtime with USE=wayland for Xwayland |
215 |
-# v3.32.2 has many excessive or unused *_req variables declared, thus currently the dep order ignores those and goes via dependency() call order |
216 |
-DEPEND=" |
217 |
- >=x11-libs/libX11-1.7.0 |
218 |
- >=media-libs/graphene-1.9.3[introspection?] |
219 |
- >=x11-libs/gtk+-3.19.8:3[X,introspection?] |
220 |
- x11-libs/gdk-pixbuf:2 |
221 |
- >=x11-libs/pango-1.30[introspection?] |
222 |
- >=dev-libs/fribidi-1.0.0 |
223 |
- >=x11-libs/cairo-1.14[X] |
224 |
- >=gnome-base/gsettings-desktop-schemas-3.37.2[introspection?] |
225 |
- >=dev-libs/glib-2.61.1:2 |
226 |
- gnome-base/gnome-settings-daemon |
227 |
- >=dev-libs/json-glib-0.12.0[introspection?] |
228 |
- gnome-base/gnome-desktop:3= |
229 |
- >=x11-libs/libXcomposite-0.4 |
230 |
- x11-libs/libXcursor |
231 |
- x11-libs/libXdamage |
232 |
- x11-libs/libXext |
233 |
- >=x11-libs/libXfixes-3 |
234 |
- >=x11-libs/libXi-1.7.4 |
235 |
- x11-libs/libXtst |
236 |
- x11-libs/libxkbfile |
237 |
- x11-misc/xkeyboard-config |
238 |
- >=x11-libs/libxkbcommon-0.4.3[X] |
239 |
- x11-libs/libXrender |
240 |
- >=x11-libs/libXrandr-1.5.0 |
241 |
- x11-libs/libxcb |
242 |
- x11-libs/libXinerama |
243 |
- x11-libs/libXau |
244 |
- x11-libs/libICE |
245 |
- >=dev-libs/atk-2.5.3[introspection?] |
246 |
- >=media-libs/libcanberra-0.26 |
247 |
- sys-apps/dbus |
248 |
- media-libs/mesa[X(+),egl] |
249 |
- sysprof? ( >=dev-util/sysprof-capture-3.38.0:4 ) |
250 |
- wayland? ( |
251 |
- >=dev-libs/wayland-protocols-1.19 |
252 |
- >=dev-libs/wayland-1.18.0 |
253 |
- x11-libs/libdrm:= |
254 |
- >=media-libs/mesa-17.3[egl,gbm,wayland,gles2] |
255 |
- >=dev-libs/libinput-1.7 |
256 |
- systemd? ( sys-apps/systemd ) |
257 |
- elogind? ( sys-auth/elogind ) |
258 |
- x11-base/xorg-server[wayland] |
259 |
- ) |
260 |
- udev? ( >=dev-libs/libgudev-232:= |
261 |
- >=virtual/libudev-232-r1:= ) |
262 |
- x11-libs/libSM |
263 |
- input_devices_wacom? ( >=dev-libs/libwacom-0.13 ) |
264 |
- >=x11-libs/startup-notification-0.7 |
265 |
- screencast? ( >=media-video/pipewire-0.3.0:0/0.3 ) |
266 |
- introspection? ( >=dev-libs/gobject-introspection-1.54:= ) |
267 |
-" |
268 |
-RDEPEND="${DEPEND} |
269 |
- gnome-extra/zenity |
270 |
-" |
271 |
-DEPEND="${DEPEND} |
272 |
- x11-base/xorg-proto |
273 |
- sysprof? ( >=dev-util/sysprof-common-3.38.0 ) |
274 |
-" |
275 |
-# wayland bdepend for wayland-scanner, xorg-server for cvt utility |
276 |
-BDEPEND=" |
277 |
- dev-libs/wayland |
278 |
- dev-util/gdbus-codegen |
279 |
- dev-util/glib-utils |
280 |
- >=sys-devel/gettext-0.19.8 |
281 |
- virtual/pkgconfig |
282 |
- test? ( app-text/docbook-xml-dtd:4.5 ) |
283 |
- wayland? ( >=sys-kernel/linux-headers-4.4 |
284 |
- x11-base/xorg-server ) |
285 |
-" |
286 |
- |
287 |
-src_configure() { |
288 |
- # TODO: Replicate debug vs release meson build type behaviour under our buildtype=plain |
289 |
- local emesonargs=( |
290 |
- -Dopengl=true |
291 |
- #opengl_libname |
292 |
- #gles2_libname |
293 |
- $(meson_use wayland gles2) |
294 |
- -Degl=true |
295 |
- -Dglx=true |
296 |
- $(meson_use wayland) |
297 |
- $(meson_use wayland native_backend) |
298 |
- $(meson_use screencast remote_desktop) |
299 |
- -Degl_device=false # This should be dependent on wayland,video_drivers_nvidia, once eglstream support is there |
300 |
- -Dwayland_eglstream=false # requires packages egl-wayland for wayland-eglstream-protocols.pc |
301 |
- $(meson_use udev) |
302 |
- $(meson_use input_devices_wacom libwacom) |
303 |
- -Dpango_ft2=true |
304 |
- -Dstartup_notification=true |
305 |
- -Dsm=true |
306 |
- $(meson_use introspection) |
307 |
- $(meson_use test cogl_tests) |
308 |
- $(meson_use wayland core_tests) # core tests require wayland; overall -Dtests option is honored on top, so no extra conditional needed |
309 |
- $(meson_use test clutter_tests) |
310 |
- $(meson_use test tests) |
311 |
- $(meson_use sysprof profiler) |
312 |
- -Dinstalled_tests=false |
313 |
- #verbose # Let upstream choose default for verbose mode |
314 |
- #xwayland_path |
315 |
- # TODO: relies on default settings, but in Gentoo we might have some more packages we want to give Xgrab access (mostly virtual managers and remote desktops) |
316 |
- #xwayland_grab_default_access_rules |
317 |
- ) |
318 |
- meson_src_configure |
319 |
-} |
320 |
- |
321 |
-src_test() { |
322 |
- glib-compile-schemas "${BUILD_DIR}"/data |
323 |
- GSETTINGS_SCHEMA_DIR="${BUILD_DIR}"/data virtx meson_src_test |
324 |
-} |
325 |
- |
326 |
-pkg_postinst() { |
327 |
- xdg_pkg_postinst |
328 |
- gnome2_schemas_update |
329 |
-} |
330 |
- |
331 |
-pkg_postrm() { |
332 |
- xdg_pkg_postrm |
333 |
- gnome2_schemas_update |
334 |
-} |
335 |
|
336 |
diff --git a/x11-wm/mutter/mutter-40.0.ebuild b/x11-wm/mutter/mutter-40.0.ebuild |
337 |
deleted file mode 100644 |
338 |
index 31b0288d695..00000000000 |
339 |
--- a/x11-wm/mutter/mutter-40.0.ebuild |
340 |
+++ /dev/null |
341 |
@@ -1,148 +0,0 @@ |
342 |
-# Copyright 1999-2021 Gentoo Authors |
343 |
-# Distributed under the terms of the GNU General Public License v2 |
344 |
- |
345 |
-EAPI=7 |
346 |
-inherit gnome.org gnome2-utils meson virtualx xdg |
347 |
- |
348 |
-DESCRIPTION="GNOME 3 compositing window manager based on Clutter" |
349 |
-HOMEPAGE="https://gitlab.gnome.org/GNOME/mutter/" |
350 |
- |
351 |
-LICENSE="GPL-2+" |
352 |
-SLOT="0/8" # 0/libmutter_api_version - ONLY gnome-shell (or anything using mutter-clutter-<api_version>.pc) should use the subslot |
353 |
- |
354 |
-IUSE="elogind input_devices_wacom +introspection screencast sysprof systemd test udev wayland" |
355 |
-# native backend requires gles3 for hybrid graphics blitting support, udev and a logind provider |
356 |
-REQUIRED_USE=" |
357 |
- wayland? ( ^^ ( elogind systemd ) udev ) |
358 |
- test? ( wayland )" |
359 |
-RESTRICT="!test? ( test )" |
360 |
- |
361 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
362 |
- |
363 |
-# gnome-settings-daemon is build checked, but used at runtime only for org.gnome.settings-daemon.peripherals.keyboard gschema |
364 |
-# xorg-server is needed at build and runtime with USE=wayland for Xwayland |
365 |
-# v3.32.2 has many excessive or unused *_req variables declared, thus currently the dep order ignores those and goes via dependency() call order |
366 |
-DEPEND=" |
367 |
- >=x11-libs/libX11-1.7.0 |
368 |
- >=media-libs/graphene-1.10.2[introspection?] |
369 |
- >=x11-libs/gtk+-3.19.8:3[X,introspection?] |
370 |
- x11-libs/gdk-pixbuf:2 |
371 |
- >=x11-libs/pango-1.46[introspection?] |
372 |
- >=dev-libs/fribidi-1.0.0 |
373 |
- >=x11-libs/cairo-1.14[X] |
374 |
- >=gnome-base/gsettings-desktop-schemas-40.0[introspection?] |
375 |
- >=dev-libs/glib-2.67.3:2 |
376 |
- gnome-base/gnome-settings-daemon |
377 |
- >=dev-libs/json-glib-0.12.0[introspection?] |
378 |
- gnome-base/gnome-desktop:3= |
379 |
- >=x11-libs/libXcomposite-0.4 |
380 |
- x11-libs/libXcursor |
381 |
- x11-libs/libXdamage |
382 |
- x11-libs/libXext |
383 |
- >=x11-libs/libXfixes-3 |
384 |
- >=x11-libs/libXi-1.7.4 |
385 |
- x11-libs/libXtst |
386 |
- x11-libs/libxkbfile |
387 |
- x11-misc/xkeyboard-config |
388 |
- >=x11-libs/libxkbcommon-0.4.3[X] |
389 |
- x11-libs/libXrender |
390 |
- >=x11-libs/libXrandr-1.5.0 |
391 |
- x11-libs/libxcb |
392 |
- x11-libs/libXinerama |
393 |
- x11-libs/libXau |
394 |
- x11-libs/libICE |
395 |
- >=dev-libs/atk-2.5.3[introspection?] |
396 |
- >=media-libs/libcanberra-0.26 |
397 |
- sys-apps/dbus |
398 |
- media-libs/mesa[X(+),egl] |
399 |
- sysprof? ( >=dev-util/sysprof-capture-3.38.0:4 ) |
400 |
- wayland? ( |
401 |
- >=dev-libs/wayland-protocols-1.19 |
402 |
- >=dev-libs/wayland-1.18.0 |
403 |
- x11-libs/libdrm:= |
404 |
- >=media-libs/mesa-17.3[egl,gbm,wayland,gles2] |
405 |
- >=dev-libs/libinput-1.15.0 |
406 |
- systemd? ( sys-apps/systemd ) |
407 |
- elogind? ( sys-auth/elogind ) |
408 |
- x11-base/xorg-server[wayland] |
409 |
- ) |
410 |
- udev? ( >=dev-libs/libgudev-232:= |
411 |
- >=virtual/libudev-232-r1:= ) |
412 |
- x11-libs/libSM |
413 |
- input_devices_wacom? ( >=dev-libs/libwacom-0.13 ) |
414 |
- >=x11-libs/startup-notification-0.7 |
415 |
- screencast? ( >=media-video/pipewire-0.3.21:0/0.3 ) |
416 |
- introspection? ( >=dev-libs/gobject-introspection-1.54:= ) |
417 |
-" |
418 |
-RDEPEND="${DEPEND} |
419 |
- gnome-extra/zenity |
420 |
-" |
421 |
-DEPEND="${DEPEND} |
422 |
- x11-base/xorg-proto |
423 |
- sysprof? ( >=dev-util/sysprof-common-3.38.0 ) |
424 |
-" |
425 |
-# wayland bdepend for wayland-scanner, xorg-server for cvt utility |
426 |
-BDEPEND=" |
427 |
- dev-libs/wayland |
428 |
- dev-util/gdbus-codegen |
429 |
- dev-util/glib-utils |
430 |
- >=sys-devel/gettext-0.19.8 |
431 |
- virtual/pkgconfig |
432 |
- test? ( app-text/docbook-xml-dtd:4.5 ) |
433 |
- wayland? ( >=sys-kernel/linux-headers-4.4 |
434 |
- x11-base/xorg-server ) |
435 |
-" |
436 |
- |
437 |
-PATCHES=( |
438 |
- "${FILESDIR}"/${P}-Disable-anonymous-file-test.patch |
439 |
-) |
440 |
- |
441 |
-src_configure() { |
442 |
- # TODO: Replicate debug vs release meson build type behaviour under our buildtype=plain |
443 |
- local emesonargs=( |
444 |
- -Dopengl=true |
445 |
- #opengl_libname |
446 |
- #gles2_libname |
447 |
- $(meson_use wayland gles2) |
448 |
- -Degl=true |
449 |
- -Dglx=true |
450 |
- $(meson_use wayland) |
451 |
- $(meson_use wayland native_backend) |
452 |
- $(meson_use screencast remote_desktop) |
453 |
- -Degl_device=false # This should be dependent on wayland,video_drivers_nvidia, once eglstream support is there |
454 |
- -Dwayland_eglstream=false # requires packages egl-wayland for wayland-eglstream-protocols.pc |
455 |
- $(meson_use udev) |
456 |
- $(meson_use input_devices_wacom libwacom) |
457 |
- -Dpango_ft2=true |
458 |
- -Dstartup_notification=true |
459 |
- -Dsm=true |
460 |
- $(meson_use introspection) |
461 |
- $(meson_use test cogl_tests) |
462 |
- $(meson_use wayland core_tests) # core tests require wayland; overall -Dtests option is honored on top, so no extra conditional needed |
463 |
- -Dnative_tests=false |
464 |
- $(meson_use test clutter_tests) |
465 |
- $(meson_use test tests) |
466 |
- $(meson_use sysprof profiler) |
467 |
- -Dinstalled_tests=false |
468 |
- #verbose # Let upstream choose default for verbose mode |
469 |
- #xwayland_path |
470 |
- # TODO: relies on default settings, but in Gentoo we might have some more packages we want to give Xgrab access (mostly virtual managers and remote desktops) |
471 |
- #xwayland_grab_default_access_rules |
472 |
- ) |
473 |
- meson_src_configure |
474 |
-} |
475 |
- |
476 |
-src_test() { |
477 |
- glib-compile-schemas "${BUILD_DIR}"/data |
478 |
- GSETTINGS_SCHEMA_DIR="${BUILD_DIR}"/data virtx meson_src_test |
479 |
-} |
480 |
- |
481 |
-pkg_postinst() { |
482 |
- xdg_pkg_postinst |
483 |
- gnome2_schemas_update |
484 |
-} |
485 |
- |
486 |
-pkg_postrm() { |
487 |
- xdg_pkg_postrm |
488 |
- gnome2_schemas_update |
489 |
-} |