mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
gnome-settings-daemon: fix build without x11
xwayland requires x11, build only if x11 is in DISTRO_FEATURES Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -21,7 +21,7 @@ DEPENDS = " \
|
|||||||
"
|
"
|
||||||
|
|
||||||
# all these are mandatory
|
# all these are mandatory
|
||||||
REQUIRED_DISTRO_FEATURES = "x11 polkit pulseaudio systemd gobject-introspection-data"
|
REQUIRED_DISTRO_FEATURES = "polkit pulseaudio systemd gobject-introspection-data"
|
||||||
GIR_MESON_OPTION = ""
|
GIR_MESON_OPTION = ""
|
||||||
|
|
||||||
SRC_URI += "file://0001-gsd-smartcard-enum-types.c.in-fix-reproducibility-is.patch"
|
SRC_URI += "file://0001-gsd-smartcard-enum-types.c.in-fix-reproducibility-is.patch"
|
||||||
@@ -29,9 +29,9 @@ SRC_URI[archive.sha256sum] = "2a9957fc4f91c3b9127b49484179bef485120d9c1c208e44d4
|
|||||||
|
|
||||||
PACKAGECONFIG ??= " \
|
PACKAGECONFIG ??= " \
|
||||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11 alsa', d)} \
|
${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11 alsa', d)} \
|
||||||
|
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)} \
|
||||||
gudev \
|
gudev \
|
||||||
smartcard \
|
smartcard \
|
||||||
xwayland \
|
|
||||||
cups \
|
cups \
|
||||||
"
|
"
|
||||||
PACKAGECONFIG[alsa] = "-Dalsa=true,-Dalsa=false,alsa-lib"
|
PACKAGECONFIG[alsa] = "-Dalsa=true,-Dalsa=false,alsa-lib"
|
||||||
@@ -39,7 +39,7 @@ PACKAGECONFIG[cups] = "-Dcups=true,-Dcups=false,cups"
|
|||||||
PACKAGECONFIG[gudev] = "-Dgudev=true,-Dgudev=false,libgudev"
|
PACKAGECONFIG[gudev] = "-Dgudev=true,-Dgudev=false,libgudev"
|
||||||
PACKAGECONFIG[smartcard] = "-Dsmartcard=true,-Dsmartcard=false,nss"
|
PACKAGECONFIG[smartcard] = "-Dsmartcard=true,-Dsmartcard=false,nss"
|
||||||
PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
|
PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
|
||||||
PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=true"
|
PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false"
|
||||||
PACKAGECONFIG[x11] = "-Dx11=true,-Dx11=false,libx11 libxfixes"
|
PACKAGECONFIG[x11] = "-Dx11=true,-Dx11=false,libx11 libxfixes"
|
||||||
|
|
||||||
def gnome_verdir(v):
|
def gnome_verdir(v):
|
||||||
|
|||||||
Reference in New Issue
Block a user