2021-06-02 16:13:46 +02:00
|
|
|
SUMMARY = "A modular Wayland compositor library"
|
|
|
|
DESCRIPTION = "Pluggable, composable, unopinionated modules for building a \
|
2021-11-02 18:30:55 +01:00
|
|
|
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"
|
2023-02-12 07:38:59 +01:00
|
|
|
LICENSE = "MIT & CC0-1.0"
|
2023-07-23 10:38:28 +02:00
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=89e064f90bcb87796ca335cbd2ce4179"
|
2023-02-12 07:38:59 +01:00
|
|
|
LIC_FILES_CHKSUM += "file://tinywl/LICENSE;md5=d957da0415f5b0b974bfc6063afab2b5"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
|
|
|
REQUIRED_DISTRO_FEATURES = "wayland"
|
|
|
|
|
|
|
|
DEPENDS += " \
|
2023-01-31 12:13:16 +01:00
|
|
|
hwdata-native \
|
2023-03-04 06:44:32 +01:00
|
|
|
libdisplay-info \
|
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-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"
|
2024-06-08 12:12:53 +02:00
|
|
|
PACKAGECONFIG[libliftoff] = "-Dlibliftoff=enabled,-Dlibliftoff=disabled,libliftoff"
|
2021-10-20 16:58:01 +02:00
|
|
|
PACKAGECONFIG[systemd] = ",,systemd"
|
2022-02-19 04:48:48 +01:00
|
|
|
PACKAGECONFIG[sysvinit] = ",,eudev elogind"
|
2022-09-29 10:33:28 +02:00
|
|
|
PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers glslang-native"
|
2021-10-20 16:58:01 +02:00
|
|
|
PACKAGECONFIG[x11] = ",,xcb-util-renderutil"
|
2022-12-28 15:13:39 +01:00
|
|
|
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xwayland xcb-util-wm,xwayland"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
|
|
|
PACKAGECONFIG ?= " \
|
2023-03-04 06:44:32 +01:00
|
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'systemd vulkan x11 xwayland opengl', d)} \
|
2022-01-08 08:31:47 +01:00
|
|
|
libinput \
|
2024-06-08 12:12:53 +02:00
|
|
|
libliftoff \
|
2021-06-02 16:13:46 +02:00
|
|
|
"
|
|
|
|
|
2023-01-31 12:13:16 +01:00
|
|
|
SRC_URI = "git://gitlab.freedesktop.org/wlroots/wlroots.git;branch=master;protocol=https"
|
2024-07-18 05:39:41 +02:00
|
|
|
SRCREV = "015bb8512ee314e1deb858cf7350b0220fc58702"
|
|
|
|
PV = "0.19-dev"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
2023-02-12 07:38:59 +01:00
|
|
|
inherit meson pkgconfig features_check
|
2021-06-02 16:13:46 +02:00
|
|
|
|
2023-02-13 15:28:00 +01:00
|
|
|
EXTRA_OEMESON += "--buildtype release"
|
|
|
|
|
2023-02-12 07:38:59 +01:00
|
|
|
do_install:append() {
|
|
|
|
install -d ${D}${bindir}
|
|
|
|
install -m 0755 ${B}/tinywl/tinywl ${D}${bindir}
|
|
|
|
}
|
2024-06-08 12:12:53 +02:00
|
|
|
|
|
|
|
FILES:${PN} += "${libdir}/libwlroots-*.so"
|
|
|
|
FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig"
|