meta-wayland/recipes-wlroots/labwc/labwc_git.bb
2024-08-17 16:15:34 +02:00

50 lines
1.0 KiB
BlitzBasic

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 \
glib-2.0 \
cairo \
pango \
wayland \
wayland-native \
wayland-protocols \
libdrm \
libxkbcommon \
libinput \
wlroots-0.18 \
"
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 = "98c876d79644eb89aded1db6fba57e95b5a3210f"
PV = "0.8.0"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check gettext
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xwayland', d)}"
PACKAGECONFIG[man-pages] = "-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}"