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 += " \
|
|
|
|
virtual/egl \
|
|
|
|
cairo \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
jq-native \
|
2023-04-09 18:13:10 +02:00
|
|
|
pango \
|
2023-01-31 12:10:22 +01:00
|
|
|
pixman \
|
|
|
|
libdrm \
|
|
|
|
libxkbcommon \
|
|
|
|
libinput \
|
2023-09-23 22:14:21 +02:00
|
|
|
udis86 \
|
2023-07-23 10:19:54 +02:00
|
|
|
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
|
|
|
"
|
|
|
|
|
2023-07-23 10:19:54 +02: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
|
|
|
|
2023-11-11 18:50:05 +01:00
|
|
|
SRCREV = "eab279984285250bd544de40868888186a8edeb7"
|
|
|
|
PV = "0.32.2"
|
2023-01-31 12:10:22 +01:00
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
inherit meson pkgconfig features_check
|
|
|
|
|
|
|
|
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd xwayland vulkan', d)}"
|
|
|
|
|
|
|
|
PACKAGECONFIG[systemd] = "-Dsystemd=enabled,Dsystemd=disabled,systemd"
|
|
|
|
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,libxcb xcb-util-wm xcb-util-renderutil xwayland,xwayland"
|
|
|
|
PACKAGECONFIG[vulkan] = ",,vulkan-loader vulkan-headers glslang-native"
|
|
|
|
|
|
|
|
FILES:${PN} += "${datadir}"
|
2023-10-17 10:32:12 +02:00
|
|
|
|
|
|
|
do_install:append() {
|
|
|
|
install -m 0644 ${S}/src/version.h ${D}${includedir}/hyprland/src
|
|
|
|
}
|