From b2b714d4a42a77132aaa63046226ae8479be9ba3 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 10 Jul 2024 10:50:42 +0200 Subject: [PATCH] hyprland: update - Add the last version built with wlroots - Move hyprland_git to recipes-support. It no longer utilizes wlroots but renders with its homemade rendering backend library 'Aquamarine' --- recipes-support/hyprland/hyprland_git.bb | 67 +++++++++++++++++++ ...yprland_git.bb => hyprland-0.41_0.41.2.bb} | 0 2 files changed, 67 insertions(+) create mode 100644 recipes-support/hyprland/hyprland_git.bb rename recipes-wlroots/hyprland/{hyprland_git.bb => hyprland-0.41_0.41.2.bb} (100%) diff --git a/recipes-support/hyprland/hyprland_git.bb b/recipes-support/hyprland/hyprland_git.bb new file mode 100644 index 0000000..2537cc5 --- /dev/null +++ b/recipes-support/hyprland/hyprland_git.bb @@ -0,0 +1,67 @@ +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 \ + hyprcursor \ + hyprlang \ + hyprutils \ + hwdata \ + jq-native \ + libdisplay-info \ + libliftoff \ + libdrm \ + libinput \ + libxcursor \ + libxcb \ + libxkbcommon \ + pango \ + pixman \ + seatd \ + tomlplusplus \ + util-linux-libuuid \ + virtual/egl \ + wayland \ + 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;branch=aquamarine" + +SRCREV = "aa703b6040f7b43f814d32d2b1aab700ace27041" +PV = "0.42-dev" +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" + +do_configure:prepend() { + cd ${S} && scripts/generateVersion.sh +} + +FILES:${PN} += "${datadir}" + diff --git a/recipes-wlroots/hyprland/hyprland_git.bb b/recipes-wlroots/hyprland/hyprland-0.41_0.41.2.bb similarity index 100% rename from recipes-wlroots/hyprland/hyprland_git.bb rename to recipes-wlroots/hyprland/hyprland-0.41_0.41.2.bb