meta-wayland/recipes-wlroots/phoc/phoc_git.bb
2024-03-03 15:08:05 +01:00

51 lines
1.2 KiB
BlitzBasic

SUMMARY = "wlroots based Phone compositor as used on the Librem5."
HOMEPAGE = "https://gitlab.gnome.org/World/Phosh/phoc"
SECTION = "graphics"
LICENSE = "GPL-3.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSES/GPL-3.0-or-later.txt;md5=d32239bcb673463ab874e80d47fae504"
REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += " \
gi-docgen-native \
glib-2.0 \
gmobile \
gnome-desktop \
libinput \
libxkbcommon \
pixman \
seatd \
wayland \
wayland-native \
wayland-protocols \
wlroots-0.17 \
"
SRC_URI = " \
git://gitlab.gnome.org/World/Phosh/phoc.git;protocol=https;nobranch=1 \
file://0001-meson.build-dont-build-subprojects.patch \
"
S = "${WORKDIR}/git"
PV = "0.36.0"
SRCREV = "70bbce162e4736a43a4e7bf5fad308e476a4b340"
inherit features_check gsettings meson pkgconfig
PACKAGECONFIG[systemd] = ",,systemd"
PACKAGECONFIG[sysvinit] = ",,eudev elogind"
PACKAGECONFIG[x11] = ",,libxcb xcb-util-renderutil"
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xwayland xcb-util-wm"
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
"
EXTRA_OEMESON += "-Dembed-wlroots=disabled --buildtype=release"
FILES:${PN} += "${datadir}"