meta-wayland/recipes-wlroots/hyprland/hyprland_git.bb
Markus Volk b941423a34 hyprland: update
Due to non-technical disputes, hyprland and freedektop will move in
different directions from now on. This led to a fork of wlroots. Let
hyprland build its own version of wlroots internally to keep things
maintainable.
2024-04-14 10:07:16 +02:00

60 lines
1.2 KiB
BlitzBasic

SUMMARY = "A Wayland WM"
HOMEPAGE = "https://hyprland.org/"
SECTION = "graphics"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e5285450935e9c47f839569c8cbd4e29"
REQUIRED_DISTRO_FEATURES = "wayland opengl"
DEPENDS += " \
cairo \
hyprcursor \
hyprlang \
jq-native \
hwdata-native \
libdisplay-info \
libliftoff \
libdrm \
libinput \
libxkbcommon \
pango \
pixman \
seatd \
tomlplusplus \
udis86 \
virtual/egl \
wayland \
wayland-native \
"
RRECOMMENDS:${PN} ?= " \
foot \
jq \
grim \
slurp \
wl-clipboard \
hyprland-contrib \
"
SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=main"
SRCREV = "0634aaeac6cca12e4f72174c431c2db9da9c0072"
PV = "0.39-dev"
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd xwayland', d)}"
PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled"
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,libxcb xcb-util-wm xcb-util-renderutil xwayland,xwayland"
PACKAGECONFIG[legacy_renderer] = "-Dlegacy_renderer=enabled,-Dlegacy_renderer=disabled"
do_configure:prepend() {
cd ${S} && scripts/generateVersion.sh
}
FILES:${PN} += "${datadir}"