labwc: add recipe for 0.9.0

This commit is contained in:
Markus Volk 2025-07-12 07:46:23 +02:00
parent 95f39761bf
commit f4dbee9b78
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,48 @@
SUMMARY = "Labwc stands for Lab Wayland Compositor"
HOMEPAGE = "https://github.com/labwc/labwc"
SECTION = "graphics"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += " \
libxml2 \
libsfdo \
glib-2.0 \
cairo \
pango \
wayland \
wayland-native \
wayland-protocols \
libdrm \
libxkbcommon \
libinput \
wlroots-0.19 \
"
RRECOMMENDS:${PN} ?= " \
foot \
grim \
slurp \
wl-clipboard \
labwc-menu-generator \
labwc-tweaks-gtk \
swaybg \
"
SRC_URI = "git://github.com/labwc/labwc.git;protocol=https;branch=master"
SRCREV = "4beee3851f75b53afc2e8699c594c0cc222115bd"
inherit meson pkgconfig features_check gettext manpages
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xwayland', d)}"
PACKAGECONFIG[manpages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native"
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,libxcb xcb-util-wm xcb-util-renderutil xwayland,xwayland"
FILES:${PN} += "${datadir}"