summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2026-01-27 18:35:52 +0100
committerKhem Raj <raj.khem@gmail.com>2026-01-30 23:59:11 -0800
commitb43a9e689793e2f01a03a7d2a93270faa79b8d38 (patch)
tree83aa83767f74a22de692bd927b155d860f812017 /meta-gnome/recipes-gnome
parent049c89877cc8a8590554c63508d2c78aae0989f7 (diff)
downloadmeta-openembedded-b43a9e689793e2f01a03a7d2a93270faa79b8d38.tar.gz
mutter: fix build without x11 in DISTRO_FEATURES
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gnome')
-rw-r--r--meta-gnome/recipes-gnome/mutter/mutter_48.7.bb33
1 files changed, 19 insertions, 14 deletions
diff --git a/meta-gnome/recipes-gnome/mutter/mutter_48.7.bb b/meta-gnome/recipes-gnome/mutter/mutter_48.7.bb
index 0dbdb4b31a..bc1fe52b3b 100644
--- a/meta-gnome/recipes-gnome/mutter/mutter_48.7.bb
+++ b/meta-gnome/recipes-gnome/mutter/mutter_48.7.bb
@@ -3,8 +3,6 @@ LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 3LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4 4
5DEPENDS = " \ 5DEPENDS = " \
6 wayland-native \
7 virtual/libx11 \
8 colord \ 6 colord \
9 graphene \ 7 graphene \
10 gtk4 \ 8 gtk4 \
@@ -15,14 +13,15 @@ DEPENDS = " \
15 json-glib \ 13 json-glib \
16 libdisplay-info \ 14 libdisplay-info \
17 libei \ 15 libei \
18 libxcvt-native \
19 libxtst \
20 libxkbfile \
21 python3-argcomplete-native \ 16 python3-argcomplete-native \
22 python3-docutils-native \ 17 python3-docutils-native \
23 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xinerama', '', d)} \ 18 virtual/egl \
24 xwayland \ 19 virtual/libgles2 \
25" 20 wayland \
21 wayland-native \
22 wayland-protocols \
23 libxcvt-native \
24 "
26 25
27 26
28inherit gnomebase gsettings gobject-introspection gettext features_check 27inherit gnomebase gsettings gobject-introspection gettext features_check
@@ -30,8 +29,8 @@ inherit gnomebase gsettings gobject-introspection gettext features_check
30SRC_URI += "file://0001-Dont-use-system-sysprof-dbus-folder.patch" 29SRC_URI += "file://0001-Dont-use-system-sysprof-dbus-folder.patch"
31SRC_URI[archive.sha256sum] = "ec102aa3cbb0e39001206627aca3055314555f70609de5e6c2b7efcd1fa90f20" 30SRC_URI[archive.sha256sum] = "ec102aa3cbb0e39001206627aca3055314555f70609de5e6c2b7efcd1fa90f20"
32 31
33# x11 is still manadatory - see meson.build 32REQUIRED_DISTRO_FEATURES = "wayland polkit"
34REQUIRED_DISTRO_FEATURES = "wayland x11 polkit" 33ANY_OF_DISTRO_FEATURES = "opengl vulkan"
35 34
36# systemd can be replaced by libelogind (not available atow - make systemd 35# systemd can be replaced by libelogind (not available atow - make systemd
37# mandatory distro feature) 36# mandatory distro feature)
@@ -41,27 +40,33 @@ REQUIRED_DISTRO_FEATURES += "systemd"
41# profiler requires sysprof 3.34 which is not willing to build atow 40# profiler requires sysprof 3.34 which is not willing to build atow
42PACKAGECONFIG ??= " \ 41PACKAGECONFIG ??= " \
43 native-backend \ 42 native-backend \
44 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl glx', '', d)} \ 43 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 opengl glx sm xwayland startup-notification', '', d)} \
45 startup-notification \ 44 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'logind udev', '', d)} \
46 gnome-desktop \ 45 gnome-desktop \
46 egl \
47" 47"
48 48
49EXTRA_OEMESON += " \ 49EXTRA_OEMESON += " \
50 -Dtests=disabled \ 50 -Dtests=disabled \
51 -Dxwayland_path=${bindir}/Xwayland \
52" 51"
53 52
54# combi-config - see meson_options.txt for more details 53# combi-config - see meson_options.txt for more details
55PACKAGECONFIG[native-backend] = "-Dnative_backend=true -Dudev=true, -Dnative_backend=false -Dudev=false, libdrm virtual/libgbm libinput ${LOGIND} virtual/egl virtual/libgles2 udev" 54PACKAGECONFIG[native-backend] = "-Dnative_backend=true -Dudev=true, -Dnative_backend=false -Dudev=false, libdrm virtual/libgbm libinput ${LOGIND} virtual/egl virtual/libgles2 udev"
56PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false, virtual/libgl"
57PACKAGECONFIG[glx] = "-Dglx=true, -Dglx=false" 55PACKAGECONFIG[glx] = "-Dglx=true, -Dglx=false"
56PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false,virtual/libgl"
57PACKAGECONFIG[egl] = "-Degl=true,-Degl=false,virtual/egl"
58PACKAGECONFIG[libwacom] = "-Dlibwacom=true, -Dlibwacom=false, libwacom" 58PACKAGECONFIG[libwacom] = "-Dlibwacom=true, -Dlibwacom=false, libwacom"
59# Remove depending on pipewire-0.2 when mutter is upgraded to 3.36+ 59# Remove depending on pipewire-0.2 when mutter is upgraded to 3.36+
60PACKAGECONFIG[remote-desktop] = "-Dremote_desktop=true, -Dremote_desktop=false, pipewire" 60PACKAGECONFIG[remote-desktop] = "-Dremote_desktop=true, -Dremote_desktop=false, pipewire"
61PACKAGECONFIG[gnome-desktop] = "-Dlibgnome_desktop=true, -Dlibgnome_desktop=false, gnome-desktop gnome-settings-daemon" 61PACKAGECONFIG[gnome-desktop] = "-Dlibgnome_desktop=true, -Dlibgnome_desktop=false, gnome-desktop gnome-settings-daemon"
62PACKAGECONFIG[sm] = "-Dsm=true, -Dsm=false, libsm"
63PACKAGECONFIG[udev] = "-Dudev=true, -Dudev=false"
64PACKAGECONFIG[logind] = "-Dlogind=true, -Dlogind=false, systemd"
62PACKAGECONFIG[sound-player] = "-Dsound_player=true, -Dsound_player=false, libcanberra" 65PACKAGECONFIG[sound-player] = "-Dsound_player=true, -Dsound_player=false, libcanberra"
63PACKAGECONFIG[profiler] = "-Dprofiler=true,-Dprofiler=false,sysprof" 66PACKAGECONFIG[profiler] = "-Dprofiler=true,-Dprofiler=false,sysprof"
64PACKAGECONFIG[startup-notification] = "-Dstartup_notification=true, -Dstartup_notification=false, startup-notification, startup-notification" 67PACKAGECONFIG[startup-notification] = "-Dstartup_notification=true, -Dstartup_notification=false, startup-notification, startup-notification"
68PACKAGECONFIG[x11] = "-Dx11=true, -Dx11=false, virtual/libx11"
69PACKAGECONFIG[xwayland] = "-Dxwayland=true, -Dxwayland=false, libxcb libxi xcomposite libxcursor xdamage xext libxkbfile libxfixes xkeyboard-config virtual/libx11 xinerama xau xwayland"
65 70
66MUTTER_API_NAME = "mutter-16" 71MUTTER_API_NAME = "mutter-16"
67 72