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://github.com/swaywm/wlroots"
|
|
|
|
BUGTRACKER = "https://github.com/swaywm/wlroots/issues"
|
|
|
|
SECTION = "graphics"
|
|
|
|
LICENSE = "MIT"
|
|
|
|
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=7578fad101710ea2d289ff5411f1b818"
|
|
|
|
|
|
|
|
REQUIRED_DISTRO_FEATURES = "wayland"
|
|
|
|
|
|
|
|
DEPENDS += " \
|
|
|
|
libdrm \
|
|
|
|
libinput \
|
|
|
|
libxkbcommon \
|
|
|
|
pixman \
|
|
|
|
seatd \
|
2021-10-20 16:58:01 +02:00
|
|
|
virtual/egl \
|
2021-06-02 16:13:46 +02:00
|
|
|
virtual/libgbm \
|
2021-10-20 16:58:01 +02:00
|
|
|
virtual/libgles2 \
|
2021-06-02 16:13:46 +02:00
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
wayland-protocols \
|
|
|
|
"
|
|
|
|
|
2021-10-20 16:58:01 +02:00
|
|
|
PACKAGECONFIG[systemd] = ",,systemd"
|
|
|
|
PACKAGECONFIG[sysvinit] = ",,eudev"
|
|
|
|
PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers glslang glslang-native"
|
|
|
|
PACKAGECONFIG[x11] = ",,xcb-util-renderutil"
|
2021-06-02 16:13:46 +02:00
|
|
|
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xserver-xorg xcb-util-wm"
|
2021-10-08 23:19:31 +02:00
|
|
|
PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
|
|
|
PACKAGECONFIG ?= " \
|
2021-10-20 16:58:01 +02:00
|
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
|
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
|
|
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)} \
|
|
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
|
2021-06-02 16:13:46 +02:00
|
|
|
"
|
|
|
|
|
2021-10-08 23:19:31 +02:00
|
|
|
SRC_URI = "git://github.com/swaywm/wlroots.git;branch=master;protocol=https"
|
2021-10-20 16:58:01 +02:00
|
|
|
SRCREV = "36cf38742734b003b2abbcd1de910771a8454ef1"
|
2021-10-08 23:19:31 +02:00
|
|
|
PV = "0.14.1+${SRCREV}"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
inherit meson pkgconfig features_check
|
|
|
|
|
|
|
|
EXTRA_OEMESON += "--buildtype release"
|
|
|
|
|
2021-10-20 16:58:01 +02:00
|
|
|
FILES:${PN} = " \
|
|
|
|
${bindir} \
|
|
|
|
${libdir} \
|
|
|
|
"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
2021-10-20 16:58:01 +02:00
|
|
|
FILES:${PN}-dev = " \
|
|
|
|
${includedir} \
|
|
|
|
${libdir}/libwlroots.so \
|
2021-06-02 16:13:46 +02:00
|
|
|
"
|
|
|
|
|
|
|
|
BBCLASSEXTEND = ""
|
|
|
|
|