mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-30 15:28:22 +01:00
58 lines
1.2 KiB
BlitzBasic
58 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=a08367f3a4cd5301ba8b88eded36b8fd"
|
|
|
|
REQUIRED_DISTRO_FEATURES = "wayland opengl"
|
|
|
|
DEPENDS += " \
|
|
virtual/egl \
|
|
cairo \
|
|
wayland \
|
|
wayland-native \
|
|
jq-native \
|
|
pango \
|
|
pixman \
|
|
libdrm \
|
|
libxkbcommon \
|
|
libinput \
|
|
udis86 \
|
|
wlroots \
|
|
"
|
|
|
|
RRECOMMENDS:${PN} ?= " \
|
|
foot \
|
|
jq \
|
|
grim \
|
|
slurp \
|
|
wl-clipboard \
|
|
hyprland-contrib \
|
|
hyprland-csgo-vulkan \
|
|
"
|
|
|
|
SRC_URI = " \
|
|
gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=main \
|
|
file://meson-build.patch \
|
|
"
|
|
|
|
SRCREV = "5b8cfdf2efc44106b61e60c642fd964823fd89f3"
|
|
PV = "0.31.0"
|
|
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}"
|
|
|
|
do_install:append() {
|
|
install -m 0644 ${S}/src/version.h ${D}${includedir}/hyprland/src
|
|
}
|