meta-wayland/recipes-wlroots/wlroots/wlroots_git.bb
Markus Volk 55597f163d wlroots: update
Signed-off-by: Markus Volk <f_l_k@t-online.de>
2022-12-28 15:13:39 +01:00

54 lines
1.6 KiB
BlitzBasic

SUMMARY = "A modular Wayland compositor library"
DESCRIPTION = "Pluggable, composable, unopinionated modules for building a \
Wayland compositor; or about 50,000 lines of code you were \
going to write anyway."
HOMEPAGE = "https://gitlab.freedesktop.org/wlroots"
BUGTRACKER = "https://gitlab.freedesktop.org/wlroots/wlroots/-/issues"
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7578fad101710ea2d289ff5411f1b818"
REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += " \
hwdata \
libdrm \
libxkbcommon \
pixman \
seatd \
wayland \
wayland-native \
wayland-protocols \
"
PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng ffmpeg"
PACKAGECONFIG[opengl] = ",,virtual/egl virtual/libgles2"
PACKAGECONFIG[gbm] = ",,virtual/libgbm"
PACKAGECONFIG[libinput] = ",,libinput"
PACKAGECONFIG[systemd] = ",,systemd"
PACKAGECONFIG[sysvinit] = ",,eudev elogind"
PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers glslang-native"
PACKAGECONFIG[x11] = ",,xcb-util-renderutil"
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xwayland xcb-util-wm,xwayland"
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit vulkan x11 xwayland opengl', d)} \
libinput \
"
SRC_URI = " \
git://gitlab.freedesktop.org/wlroots/wlroots.git;branch=master;protocol=https \
file://0001-backend-drm-meson.build-dont-use-native-hwdata.patch \
"
SRCREV = "869af1cfbb3944d32d59a4c08ca439e7b5eaf6d2"
PV = "0.17.0-dev"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
BBCLASSEXTEND = ""