meta-wayland/recipes-wlroots/hyprland/hyprland_git.bb

60 lines
1.2 KiB
BlitzBasic
Raw Normal View History

2023-01-31 12:10:22 +01:00
SUMMARY = "A Wayland WM"
HOMEPAGE = "https://hyprland.org/"
SECTION = "graphics"
LICENSE = "BSD-3-Clause"
2023-03-16 06:33:37 +01:00
LIC_FILES_CHKSUM = "file://LICENSE;md5=a08367f3a4cd5301ba8b88eded36b8fd"
2023-01-31 12:10:22 +01:00
REQUIRED_DISTRO_FEATURES = "wayland opengl"
DEPENDS += " \
cairo \
2024-03-17 19:27:34 +01:00
hyprcursor \
2024-02-28 07:42:31 +01:00
hyprlang \
2023-01-31 12:10:22 +01:00
jq-native \
libdrm \
libinput \
2024-01-02 12:35:17 +01:00
libxkbcommon \
pango \
pixman \
tomlplusplus \
2023-09-23 22:14:21 +02:00
udis86 \
2024-01-02 12:35:17 +01:00
virtual/egl \
wayland \
wayland-native \
wlroots \
2023-01-31 12:10:22 +01:00
"
RRECOMMENDS:${PN} ?= " \
foot \
jq \
grim \
slurp \
wl-clipboard \
2023-08-08 17:42:58 +02:00
hyprland-contrib \
2023-01-31 12:10:22 +01:00
"
SRC_URI = " \
gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=main \
file://meson-build.patch \
"
2023-01-31 12:10:22 +01:00
2024-03-17 19:27:34 +01:00
SRCREV = "c5e28ebcfe00a510922779b2c568cfa52a317445"
PV = "0.37.1"
2023-01-31 12:10:22 +01:00
S = "${WORKDIR}/git"
inherit meson pkgconfig features_check
2023-11-12 11:16:59 +01:00
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd xwayland', d)}"
2023-01-31 12:10:22 +01:00
PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled"
2023-01-31 12:10:22 +01:00
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,libxcb xcb-util-wm xcb-util-renderutil xwayland,xwayland"
2023-11-12 11:16:59 +01:00
PACKAGECONFIG[legacy_renderer] = "-Dlegacy_renderer=enabled,-Dlegacy_renderer=disabled"
2023-01-31 12:10:22 +01:00
2024-02-28 07:42:31 +01:00
do_configure:prepend() {
cd ${S} && scripts/generateVersion.sh
}
2023-01-31 12:10:22 +01:00
FILES:${PN} += "${datadir}"