diff options
| author | Markus Volk <f_l_k@t-online.de> | 2026-01-27 18:35:52 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-01-30 23:59:11 -0800 |
| commit | b43a9e689793e2f01a03a7d2a93270faa79b8d38 (patch) | |
| tree | 83aa83767f74a22de692bd927b155d860f812017 /meta-gnome/recipes-gnome | |
| parent | 049c89877cc8a8590554c63508d2c78aae0989f7 (diff) | |
| download | meta-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.bb | 33 |
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" | |||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 4 | 4 | ||
| 5 | DEPENDS = " \ | 5 | DEPENDS = " \ |
| 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 | ||
| 28 | inherit gnomebase gsettings gobject-introspection gettext features_check | 27 | inherit gnomebase gsettings gobject-introspection gettext features_check |
| @@ -30,8 +29,8 @@ inherit gnomebase gsettings gobject-introspection gettext features_check | |||
| 30 | SRC_URI += "file://0001-Dont-use-system-sysprof-dbus-folder.patch" | 29 | SRC_URI += "file://0001-Dont-use-system-sysprof-dbus-folder.patch" |
| 31 | SRC_URI[archive.sha256sum] = "ec102aa3cbb0e39001206627aca3055314555f70609de5e6c2b7efcd1fa90f20" | 30 | SRC_URI[archive.sha256sum] = "ec102aa3cbb0e39001206627aca3055314555f70609de5e6c2b7efcd1fa90f20" |
| 32 | 31 | ||
| 33 | # x11 is still manadatory - see meson.build | 32 | REQUIRED_DISTRO_FEATURES = "wayland polkit" |
| 34 | REQUIRED_DISTRO_FEATURES = "wayland x11 polkit" | 33 | ANY_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 |
| 42 | PACKAGECONFIG ??= " \ | 41 | PACKAGECONFIG ??= " \ |
| 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 | ||
| 49 | EXTRA_OEMESON += " \ | 49 | EXTRA_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 |
| 55 | PACKAGECONFIG[native-backend] = "-Dnative_backend=true -Dudev=true, -Dnative_backend=false -Dudev=false, libdrm virtual/libgbm libinput ${LOGIND} virtual/egl virtual/libgles2 udev" | 54 | PACKAGECONFIG[native-backend] = "-Dnative_backend=true -Dudev=true, -Dnative_backend=false -Dudev=false, libdrm virtual/libgbm libinput ${LOGIND} virtual/egl virtual/libgles2 udev" |
| 56 | PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false, virtual/libgl" | ||
| 57 | PACKAGECONFIG[glx] = "-Dglx=true, -Dglx=false" | 55 | PACKAGECONFIG[glx] = "-Dglx=true, -Dglx=false" |
| 56 | PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false,virtual/libgl" | ||
| 57 | PACKAGECONFIG[egl] = "-Degl=true,-Degl=false,virtual/egl" | ||
| 58 | PACKAGECONFIG[libwacom] = "-Dlibwacom=true, -Dlibwacom=false, libwacom" | 58 | PACKAGECONFIG[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+ |
| 60 | PACKAGECONFIG[remote-desktop] = "-Dremote_desktop=true, -Dremote_desktop=false, pipewire" | 60 | PACKAGECONFIG[remote-desktop] = "-Dremote_desktop=true, -Dremote_desktop=false, pipewire" |
| 61 | PACKAGECONFIG[gnome-desktop] = "-Dlibgnome_desktop=true, -Dlibgnome_desktop=false, gnome-desktop gnome-settings-daemon" | 61 | PACKAGECONFIG[gnome-desktop] = "-Dlibgnome_desktop=true, -Dlibgnome_desktop=false, gnome-desktop gnome-settings-daemon" |
| 62 | PACKAGECONFIG[sm] = "-Dsm=true, -Dsm=false, libsm" | ||
| 63 | PACKAGECONFIG[udev] = "-Dudev=true, -Dudev=false" | ||
| 64 | PACKAGECONFIG[logind] = "-Dlogind=true, -Dlogind=false, systemd" | ||
| 62 | PACKAGECONFIG[sound-player] = "-Dsound_player=true, -Dsound_player=false, libcanberra" | 65 | PACKAGECONFIG[sound-player] = "-Dsound_player=true, -Dsound_player=false, libcanberra" |
| 63 | PACKAGECONFIG[profiler] = "-Dprofiler=true,-Dprofiler=false,sysprof" | 66 | PACKAGECONFIG[profiler] = "-Dprofiler=true,-Dprofiler=false,sysprof" |
| 64 | PACKAGECONFIG[startup-notification] = "-Dstartup_notification=true, -Dstartup_notification=false, startup-notification, startup-notification" | 67 | PACKAGECONFIG[startup-notification] = "-Dstartup_notification=true, -Dstartup_notification=false, startup-notification, startup-notification" |
| 68 | PACKAGECONFIG[x11] = "-Dx11=true, -Dx11=false, virtual/libx11" | ||
| 69 | PACKAGECONFIG[xwayland] = "-Dxwayland=true, -Dxwayland=false, libxcb libxi xcomposite libxcursor xdamage xext libxkbfile libxfixes xkeyboard-config virtual/libx11 xinerama xau xwayland" | ||
| 65 | 70 | ||
| 66 | MUTTER_API_NAME = "mutter-16" | 71 | MUTTER_API_NAME = "mutter-16" |
| 67 | 72 | ||
