wlroots: libdrm is a hard dependency

This commit is contained in:
Markus Volk 2022-09-29 10:33:28 +02:00
parent 8a405c3255
commit 41d0af7f57

View File

@ -12,6 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7578fad101710ea2d289ff5411f1b818"
REQUIRED_DISTRO_FEATURES = "wayland" REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += " \ DEPENDS += " \
libdrm \
libxkbcommon \ libxkbcommon \
pixman \ pixman \
seatd \ seatd \
@ -21,18 +22,17 @@ DEPENDS += " \
" "
PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng ffmpeg" PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng ffmpeg"
PACKAGECONFIG[gles] = ",,virtual/egl virtual/libgles2 virtual/libgbm" PACKAGECONFIG[opengl] = ",,virtual/egl virtual/libgles2"
PACKAGECONFIG[libdrm] = ",,libdrm" PACKAGECONFIG[gbm] = ",,virtual/libgbm"
PACKAGECONFIG[libinput] = ",,libinput" PACKAGECONFIG[libinput] = ",,libinput"
PACKAGECONFIG[systemd] = ",,systemd" PACKAGECONFIG[systemd] = ",,systemd"
PACKAGECONFIG[sysvinit] = ",,eudev elogind" PACKAGECONFIG[sysvinit] = ",,eudev elogind"
PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers glslang glslang-native" PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers glslang-native"
PACKAGECONFIG[x11] = ",,xcb-util-renderutil" PACKAGECONFIG[x11] = ",,xcb-util-renderutil"
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xwayland xcb-util-wm,xwayland" PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xwayland xcb-util-wm,xwayland"
PACKAGECONFIG ?= " \ PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit vulkan x11 xwayland', d)} \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit vulkan x11 xwayland opengl', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles', 'libdrm', d)} \
libinput \ libinput \
" "