mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-27 19:29:56 +02:00
hyprland: cleanup
This commit is contained in:
66
recipes-support/hyprland/hyprland/hyprland_git.bb
Normal file
66
recipes-support/hyprland/hyprland/hyprland_git.bb
Normal file
@ -0,0 +1,66 @@
|
||||
SUMMARY = "A Wayland WM"
|
||||
HOMEPAGE = "https://hyprland.org/"
|
||||
SECTION = "graphics"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e5285450935e9c47f839569c8cbd4e29"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland opengl"
|
||||
|
||||
DEPENDS += " \
|
||||
aquamarine \
|
||||
cairo \
|
||||
glaze \
|
||||
hyprcursor \
|
||||
hyprgraphics \
|
||||
hyprlang \
|
||||
hyprutils \
|
||||
jq-native \
|
||||
libdrm \
|
||||
libinput \
|
||||
libxcursor \
|
||||
libxcb \
|
||||
libxkbcommon \
|
||||
pango \
|
||||
pixman \
|
||||
re2 \
|
||||
tomlplusplus \
|
||||
util-linux-libuuid \
|
||||
virtual/egl \
|
||||
wayland-native \
|
||||
xcb-util-wm \
|
||||
xcb-util-renderutil \
|
||||
xcb-util-errors \
|
||||
hyprwayland-scanner-native \
|
||||
"
|
||||
|
||||
RRECOMMENDS:${PN} ?= " \
|
||||
foot \
|
||||
jq \
|
||||
grim \
|
||||
slurp \
|
||||
wl-clipboard \
|
||||
hyprland-contrib \
|
||||
"
|
||||
|
||||
SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;nobranch=1"
|
||||
SRC_URI += "file://0001-meson.build-use-pkgconfig-for-glaze.patch"
|
||||
SRCREV = "4e93b2def5f00f944abbd63a8258ee18bd99ff54"
|
||||
PV = "0.46.2"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
|
||||
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd xwayland', d)}"
|
||||
|
||||
PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled"
|
||||
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,libxcb xcb-util-wm xcb-util-renderutil xwayland,xwayland"
|
||||
PACKAGECONFIG[legacy_renderer] = "-Dlegacy_renderer=enabled,-Dlegacy_renderer=disabled"
|
||||
PACKAGECONFIG[qt] = ",,hyprland-qtutils,hyprland-qtutils hyprpolkitagent xdg-desktop-portal-hyprland hyprsysteminfo hyprland-welcome"
|
||||
|
||||
do_configure:prepend() {
|
||||
cd ${S} && scripts/generateVersion.sh
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir} ${systemd_user_unitdir}"
|
||||
|
Reference in New Issue
Block a user