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

53 lines
1.6 KiB
BlitzBasic
Raw Normal View History

2022-12-06 18:45:23 +01: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"
SECTION = "graphics"
LICENSE = "MIT & CC0-1.0"
2022-12-06 18:45:23 +01:00
LIC_FILES_CHKSUM = "file://LICENSE;md5=7578fad101710ea2d289ff5411f1b818"
LIC_FILES_CHKSUM += "file://tinywl/LICENSE;md5=d957da0415f5b0b974bfc6063afab2b5"
2022-12-06 18:45:23 +01:00
REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += " \
2023-01-31 12:13:16 +01:00
hwdata-native \
2022-12-06 18:45:23 +01:00
libdrm \
libxkbcommon \
pixman \
seatd \
wayland \
wayland-native \
wayland-protocols \
"
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"
2022-12-06 18:45:23 +01:00
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit vulkan x11 xwayland opengl', d)} \
libinput \
"
2023-02-09 16:35:01 +01:00
SRC_URI = "git://gitlab.freedesktop.org/wlroots/wlroots.git;branch=0.16;protocol=https"
SRCREV = "0a32b5a74db06a27bee55a47205951bb277a9657"
2022-12-06 18:45:23 +01:00
S = "${WORKDIR}/git"
PV = "0.16.2"
2022-12-06 18:45:23 +01:00
inherit meson pkgconfig features_check
2023-02-13 15:28:00 +01:00
EXTRA_OEMESON += "--buildtype release"
do_install:append() {
install -d ${D}${bindir}
install -m 0755 ${B}/tinywl/tinywl ${D}${bindir}
}