mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-27 05:58:22 +01:00
hyprland: add recipe
This commit is contained in:
parent
6d908a9c85
commit
c5b93f3e46
53
recipes-wlroots/hyprland/hyprland_git.bb
Normal file
53
recipes-wlroots/hyprland/hyprland_git.bb
Normal file
@ -0,0 +1,53 @@
|
||||
|
||||
SUMMARY = "A Wayland WM"
|
||||
HOMEPAGE = "https://hyprland.org/"
|
||||
SECTION = "graphics"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=1ab256c90ee222b54a77ff64a58006db"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland opengl"
|
||||
|
||||
DEPENDS += " \
|
||||
virtual/egl \
|
||||
virtual/libgles2 \
|
||||
virtual/libgbm \
|
||||
cairo \
|
||||
wayland \
|
||||
wayland-native \
|
||||
wayland-protocols \
|
||||
jq-native \
|
||||
pixman \
|
||||
libdrm \
|
||||
libxkbcommon \
|
||||
seatd \
|
||||
hwdata-native \
|
||||
libinput \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} ?= ""
|
||||
|
||||
RRECOMMENDS:${PN} ?= " \
|
||||
foot \
|
||||
jq \
|
||||
grim \
|
||||
slurp \
|
||||
wl-clipboard \
|
||||
"
|
||||
|
||||
SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=main"
|
||||
|
||||
SRCREV = "ce632b7a05a27d121c9544607ccd873adee8bd42"
|
||||
PV = "v0.21-beta"
|
||||
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}"
|
||||
|
Loading…
Reference in New Issue
Block a user