From 02d3e7ebec82180206fd00e6c903fef826a539d0 Mon Sep 17 00:00:00 2001 From: gabry Date: Wed, 17 Dec 2025 21:02:19 +0100 Subject: [PATCH] hypr: fix and update stuff --- hyprland-libs.recipe.py | 2 +- hyprland.recipe.py | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/hyprland-libs.recipe.py b/hyprland-libs.recipe.py index 28e6b1b..22c20e3 100644 --- a/hyprland-libs.recipe.py +++ b/hyprland-libs.recipe.py @@ -1,5 +1,5 @@ pkgname = "hyprland-libs" -pkgver = "0.52.1" +pkgver = "0.52.2" source = f"https://github.com/hyprwm/Hyprland/releases/download/v{pkgver}/source-v{pkgver}.tar.gz" builddir = f"/tmp/fempkg/build/{pkgname}/hyprland-source" fembuilddir = f"/tmp/fempkg/build/{pkgname}" diff --git a/hyprland.recipe.py b/hyprland.recipe.py index c7359d9..ad8b079 100644 --- a/hyprland.recipe.py +++ b/hyprland.recipe.py @@ -1,7 +1,7 @@ pkgname = "hyprland" -pkgver = "0.52.1" +pkgver = "0.52.2" source = f"https://github.com/hyprwm/Hyprland/archive/v{pkgver}/Hyprland-{pkgver}.tar.gz" -builddir = f"/tmp/fempkg/build/{pkgname}/hyprland-source" +builddir = f"/tmp/fempkg/build/{pkgname}/Hyprland-{pkgver}" fembuilddir = f"/tmp/fempkg/build/{pkgname}" outputdir = "/home/gabry/lfs-repo/binpkg" manifestdir = "/home/gabry/lfs-repo/manifests" @@ -11,13 +11,14 @@ deps = [ "cairo", "cmake", "mesa", "libdisplay-info", "libdrm", "libinput", "libjxl", "libpng", "librsvg", "libwebp", "libzip", "libglvnd", "pixman", "pugixml", "qt6", "seatd", "tomlplusplus", "wayland", "wayland-protocols", "hwdata", - "glaze", "libliftoff", "re2", "xcb-util-errors", "xwayland", "cpio" + "glaze", "libliftoff", "re2", "xcb-util-errors", "xwayland", "cpio", "hyprland-libs" ] build = [ # Extract - f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/source-v{pkgver}.tar.gz && " - + f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/Hyprland-{pkgver}.tar.gz && " + f"cd {builddir} && wget https://github.com/canihavesomecoffee/udis86/archive/5336633af70f3917760a6d441ff02d93477b0c86/udis86-5336633af70f3917760a6d441ff02d93477b0c86.tar.gz", + f"cd {builddir} && tar -xf udis86-5336633af70f3917760a6d441ff02d93477b0c86.tar.gz && mv -T udis86-5336633af70f3917760a6d441ff02d93477b0c86 subprojects/udis86", f"cd {builddir} && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_INSTALL_RPATH=ON -W no-dev -G Ninja .. && ninja", f"cd {builddir}/build && DESTDIR={destdir} ninja install", f"""cd {builddir} && cat > {destdir}/usr/share/wayland-sessions/hyprland.desktop << EOF