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

63 lines
1.3 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"
2024-04-03 13:42:49 +02:00
LIC_FILES_CHKSUM = "file://LICENSE;md5=e5285450935e9c47f839569c8cbd4e29"
2023-01-31 12:10:22 +01:00
REQUIRED_DISTRO_FEATURES = "wayland opengl"
DEPENDS += " \
aquamarine \
2023-01-31 12:10:22 +01:00
cairo \
2024-03-17 19:27:34 +01:00
hyprcursor \
2024-02-28 07:42:31 +01:00
hyprlang \
hyprutils \
2023-01-31 12:10:22 +01:00
jq-native \
libdrm \
libinput \
libxcursor \
libxcb \
2024-01-02 12:35:17 +01:00
libxkbcommon \
pango \
pixman \
tomlplusplus \
2024-05-05 08:39:34 +02:00
util-linux-libuuid \
2024-01-02 12:35:17 +01:00
virtual/egl \
wayland-native \
xcb-util-wm \
xcb-util-renderutil \
2024-06-05 11:59:12 +02:00
xcb-util-errors \
2024-04-20 15:46:16 +02:00
hyprwayland-scanner-native \
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
"
2024-10-09 19:45:51 +02:00
SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;nobranch=1"
2023-01-31 12:10:22 +01:00
2024-11-21 18:53:36 +01:00
SRCREV = "940f7aa990dbc99815bab8d355999d8277534b17"
PV = "0.45.2"
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
}
2024-10-27 08:55:27 +01:00
FILES:${PN} += "${datadir} ${systemd_user_unitdir}"