meta-wayland/recipes-wlroots/wlroots/wlroots_git.bb

50 lines
1.5 KiB
BlitzBasic
Raw Normal View History

2021-06-02 16:13:46 +02:00
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"
2021-06-02 16:13:46 +02:00
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7578fad101710ea2d289ff5411f1b818"
REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += " \
2022-09-29 10:33:28 +02:00
libdrm \
2021-06-02 16:13:46 +02:00
libxkbcommon \
pixman \
seatd \
wayland \
wayland-native \
wayland-protocols \
"
2022-06-08 13:42:08 +02:00
PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng ffmpeg"
2022-09-29 10:33:28 +02:00
PACKAGECONFIG[opengl] = ",,virtual/egl virtual/libgles2"
PACKAGECONFIG[gbm] = ",,virtual/libgbm"
2021-10-27 15:58:21 +02:00
PACKAGECONFIG[libinput] = ",,libinput"
PACKAGECONFIG[systemd] = ",,systemd"
PACKAGECONFIG[sysvinit] = ",,eudev elogind"
2022-09-29 10:33:28 +02:00
PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers glslang-native"
PACKAGECONFIG[x11] = ",,xcb-util-renderutil"
2022-09-21 21:29:36 +02:00
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xwayland xcb-util-wm,xwayland"
2021-06-02 16:13:46 +02:00
PACKAGECONFIG ?= " \
2022-09-29 10:33:28 +02:00
${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit vulkan x11 xwayland opengl', d)} \
libinput \
2021-06-02 16:13:46 +02:00
"
SRC_URI = "git://gitlab.freedesktop.org/wlroots/wlroots.git;branch=master;protocol=https"
2022-09-21 21:29:36 +02:00
SRCREV = "0556aa0c5918b90118da8abdf572b27a44e1b51d"
2022-03-06 15:55:54 +01:00
PV = "0.15.1"
2021-06-02 16:13:46 +02:00
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
BBCLASSEXTEND = ""