Diff mutter-46.7-r1 with a mutter-9999

/usr/portage/x11-wm/mutter/mutter-9999.ebuild 2025-02-03 17:39:35.966678122 +0300
15 15
	SRC_URI=""
16 16
	SLOT="0/14" # This can get easily out of date, but better than 9967
17 17
else
18
	KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
18
	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
19 19
	SLOT="0/$(($(ver_cut 1) - 32))" # 0/libmutter_api_version - ONLY gnome-shell (or anything using mutter-clutter-<api_version>.pc) should use the subslot
20 20
fi
21 21

  
22
IUSE="debug elogind gnome gtk-doc input_devices_wacom +introspection screencast sysprof systemd test udev wayland video_cards_nvidia"
22
IUSE="debug elogind gnome gtk-doc input_devices_wacom +introspection +libdisplay screencast sysprof systemd test udev wayland X video_cards_nvidia"
23 23
# native backend requires gles3 for hybrid graphics blitting support, udev and a logind provider
24 24
REQUIRED_USE="
25 25
	gtk-doc? ( introspection )
......
34 34
# in Xwayland after mutter is installed, Xwayland would fail to be started by mutter. mutter already hard-depends on libei, so there's
35 35
# really no extra deps here (besides xdg-desktop-portal, but we want that too, anyhow).
36 36
# v3.32.2 has many excessive or unused *_req variables declared, thus currently the dep order ignores those and goes via dependency() call order
37
# dev-libs/wayland is always needed at build time due to https://bugs.gentoo.org/937632
37 38
RDEPEND="
38 39
	>=media-libs/graphene-1.10.2[introspection?]
39 40
	x11-libs/gdk-pixbuf:2
......
41 42
	>=x11-libs/cairo-1.14[X]
42 43
	>=x11-libs/pixman-0.42
43 44
	>=dev-libs/fribidi-1.0.0
44
	>=gnome-base/gsettings-desktop-schemas-42.0[introspection?]
45
	>=dev-libs/glib-2.75.1:2
45
	>=gnome-base/gsettings-desktop-schemas-47_beta[introspection?]
46
	>=dev-libs/glib-2.81.1:2
46 47
	gnome-base/gnome-settings-daemon
48
	>=dev-libs/json-glib-0.12.0[introspection?]
47 49
	>=x11-libs/libxkbcommon-0.4.3
48 50
	x11-libs/libICE
49 51
	>=app-accessibility/at-spi2-core-2.46:2[introspection?]
......
52 54
	>=media-libs/lcms-2.6:2
53 55
	>=media-libs/harfbuzz-2.6.0:=
54 56
	>=dev-libs/libei-1.0.901
55
	media-libs/libdisplay-info:=
56 57

  
57 58
	gnome? ( gnome-base/gnome-desktop:4= )
58 59

  
......
60 61

  
61 62
	media-libs/libglvnd[X]
62 63

  
64
	>=dev-libs/wayland-1.23.0
63 65
	wayland? (
64
		>=dev-libs/wayland-protocols-1.33
65
		>=dev-libs/wayland-1.22.0
66
		>=dev-libs/wayland-protocols-1.36
66 67

  
67 68
		>=x11-libs/libdrm-2.4.118
68 69
		media-libs/mesa[gbm(+)]
69
		>=dev-libs/libinput-1.19.0:=
70
		>=dev-libs/libinput-1.26.0:=
70 71

  
71 72
		elogind? ( sys-auth/elogind )
72 73
		>=x11-base/xwayland-23.2.1[libei(+)]
......
80 81
	x11-libs/libSM
81 82
	input_devices_wacom? ( >=dev-libs/libwacom-0.13:= )
82 83
	>=x11-libs/startup-notification-0.7
83
	screencast? ( >=media-video/pipewire-0.3.33:= )
84
	screencast? ( >=media-video/pipewire-1.2.0:= )
84 85
	introspection? ( >=dev-libs/gobject-introspection-1.54:= )
86
	libdisplay? ( media-libs/libdisplay-info )
85 87
	test? (
86 88
		>=x11-libs/gtk+-3.19.8:3[X,introspection?]
87 89
		gnome-extra/zenity
......
110 112
		x11-libs/libXau
111 113
"
112 114
#	)"
115

  
113 116
DEPEND="${RDEPEND}
114 117
	x11-base/xorg-proto
115 118
	sysprof? ( >=dev-util/sysprof-common-3.38.0 )
......
176 179
		-Dudev_dir=$(get_udevdir)
177 180
		$(meson_use input_devices_wacom libwacom)
178 181
		-Dsound_player=true
179
		-Dpango_ft2=true
180 182
		-Dstartup_notification=true
183
		$(meson_feature libdisplay libdisplay_info)
181 184
		-Dsm=true
182 185
		$(meson_use introspection)
183 186
		$(meson_use gtk-doc docs)
184 187
		$(meson_use test cogl_tests)
185
		$(meson_use wayland core_tests) # core tests require wayland; overall -Dtests option is honored on top, so no extra conditional needed
186
		-Dnative_tests=false
187 188
		$(meson_use test clutter_tests)
188
		$(meson_use test tests)
189
		$(meson_use test mutter_tests)
190
		$(meson_feature test tests)
189 191
		-Dkvm_tests=false
190 192
		-Dtty_tests=false
191 193
		$(meson_use sysprof profiler)
192 194
		-Dinstalled_tests=false
195
		$(meson_use X x11)
193 196

  
194 197
		#verbose # Let upstream choose default for verbose mode
195 198
		#xwayland_path
......
217 220
	gnome2_environment_reset
218 221
	export XDG_DATA_DIRS="${EPREFIX}"/usr/share
219 222
	glib-compile-schemas "${BUILD_DIR}"/data
220
	GSETTINGS_SCHEMA_DIR="${BUILD_DIR}"/data meson_src_test --setup=CI
223
	GSETTINGS_SCHEMA_DIR="${BUILD_DIR}"/data meson_src_test
221 224
}
222 225

  
223 226
pkg_postinst() {
Thank you!