meta-wayland/recipes-support/hyprland/hyprland_git.bb
2024-08-20 10:52:09 +02:00

68 lines
1.3 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 += " \
aquamarine \
cairo \
hyprcursor \
hyprlang \
hyprutils \
hwdata \
jq-native \
libdisplay-info \
libliftoff \
libdrm \
libinput \
libxcursor \
libxcb \
libxkbcommon \
pango \
pixman \
seatd \
tomlplusplus \
util-linux-libuuid \
virtual/egl \
wayland \
wayland-native \
xcb-util-wm \
xcb-util-renderutil \
xcb-util-errors \
hyprwayland-scanner-native \
"
RRECOMMENDS:${PN} ?= " \
foot \
jq \
grim \
slurp \
wl-clipboard \
hyprland-contrib \
"
SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=main"
SRCREV = "c86db7bbb0cf14d4955ee3a4d13c0ed9f8a0e0ae"
PV = "0.43-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}"