meta-wayland/recipes-wlroots/wayfire/wayfire_git.bb
2022-11-19 17:22:31 +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 \
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"
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 \
use_system_wfconfig \
"
SRC_URI = "gitsm://github.com/WayfireWM/wayfire.git;protocol=https;branch=master"
SRCREV = "1bb46e52841f592e06890e054db64e796aaa0094"
PV = "0.8.0"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check
EXTRA_OEMESON += "--buildtype release"
FILES:${PN} += "${datadir}"
BBCLASSEXTEND = ""