meta-wayland/recipes-wlroots/labwc/labwc_git.bb
2023-07-24 19:38:36 +02:00

49 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.16 \
"
RRECOMMENDS:${PN} ?= " \
foot \
grim \
slurp \
wl-clipboard \
labwc-tweaks \
swaybg \
"
SRC_URI = "git://github.com/labwc/labwc.git;protocol=https;branch=master"
SRCREV = "6b83db34afca59686d36a458b527b71355680d48"
PV = "0.6.4"
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}"