meta-wayland/recipes-wlroots/wayfire/wayfire_git.bb
2023-01-31 13:51:36 +01:00

64 lines
1.4 KiB
BlitzBasic

SUMMARY = "A Wayland WM"
HOMEPAGE = "https://github.com/WayfireWM/wayfire"
BUGTRACKER = "https://github.com/WayfireWM/wayfire/issues"
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=14e4594093363e3c3a530e9b54cb5285"
REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += " \
cairo \
freetype \
glm \
hwdata-native \
jpeg \
libdrm \
libevdev \
libinput \
libpng \
libxkbcommon \
libxml2 \
mesa \
nlohmann-json \
pango \
pixman \
seatd \
wayland \
wayland-native \
wayland-protocols \
"
RRECOMMENDS:${PN} += " \
wcm \
wf-recorder \
wf-shell \
"
PACKAGECONFIG[gles32] = "-Denable_gles32=true,-Denable_gles32=false"
PACKAGECONFIG[use_system_wfconfig] = "-Duse_system_wfconfig=enabled,-Duse_system_wfconfig=disabled,wf-config"
PACKAGECONFIG[use_system_wlroots] = "-Duse_system_wlroots=enabled,-Duse_system_wlroots=disabled,wlroots-0.16"
PACKAGECONFIG[x11] = "-Dxwayland=enabled,-Dxwayland=disabled,xwayland xcb-util-renderutil xcb-util-wm"
PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers glslang-native"
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'vulkan x11', d)} \
gles32 \
"
SRC_URI = "gitsm://github.com/WayfireWM/wayfire.git;protocol=https;nobranch=1"
SRCREV = "1e9092b5ffe878d1cdecefa1997de4a665cf6212"
PV = "0.7.5"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
FILES:${PN} += "${datadir}"
BBCLASSEXTEND = ""