git: 7b7a68d42529 - main - x11-wm/hyprland: update to 0.40.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 04 May 2024 16:25:21 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7b7a68d42529bd4d30d4e5aab6f20599069d0410

commit 7b7a68d42529bd4d30d4e5aab6f20599069d0410
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-05-04 15:42:32 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-05-04 16:22:12 +0000

    x11-wm/hyprland: update to 0.40.0
    
    Changes:        https://github.com/hyprwm/Hyprland/releases/tag/v0.40.0
    Reported by:    GitHub (watch releases)
---
 x11-wm/hyprland/Makefile | 17 +++++++++--------
 x11-wm/hyprland/distinfo |  8 +++-----
 2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index a8860721b9ae..c8551770540e 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -1,12 +1,8 @@
 PORTNAME=	hyprland
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.39.1
-PORTREVISION=	1
+DISTVERSION=	0.40.0
 CATEGORIES=	x11-wm wayland
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES+=	1016faea53fd.patch:-p1 # https://github.com/hyprwm/Hyprland/pull/5653
-
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Dynamic tiling Wayland compositor that doesn't sacrifice on its looks #'
 WWW=		https://hyprland.org/
@@ -15,11 +11,13 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
-		wayland-protocols>=1.25:graphics/wayland-protocols
+		hyprwayland-scanner>=0.3.4:devel/hyprwayland-scanner \
+		wayland-protocols>=1.35:graphics/wayland-protocols
 LIB_DEPENDS=	libhyprlang.so:devel/hyprlang \
 		libtomlplusplus.so:devel/tomlplusplus \
 		libdrm.so:graphics/libdrm \
 		libwayland-server.so:graphics/wayland \
+		libuuid.so:misc/e2fsprogs-libuuid \
 		libwlroots.so:x11-toolkits/wlroots \
 		libhyprcursor.so:x11/hyprcursor \
 		libinput.so:x11/libinput \
@@ -37,7 +35,7 @@ GH_TUPLE=	hyprwm:hyprland-protocols:v0.2-4-g0c2ce70:hyprland_protocols/subprojec
 MESON_ARGS=	-Dsystemd=disabled
 
 # Generated by "make update-hash" for commit_pins in hyprpm.toml
-GH_HASH=	fe7b748eb668136dd0558b7c8279bfcd7ab4d759
+GH_HASH=	cba1ade848feac44b2eda677503900639581c3f4
 
 # XXX Drop after FreeBSD 14.0 EOL around 2025-03-01
 .if exists(/usr/lib/libc++.so) && !exists(/usr/include/c++/v1/__format/write_escaped.h)
@@ -71,7 +69,10 @@ post-patch:
 		-e '/^TAG/s/=.*/=${DISTVERSIONFULL}/' \
 		-e '/^COMMITS/s/=.*/="?"/' \
 		${WRKSRC}/scripts/generateVersion.sh
-
+# Respect consolekit2 as XDG_RUNTIME_DIR fallback
+	@${REINPLACE_CMD} 's,/run/user,/var&,' \
+		${WRKSRC}/hyprctl/main.cpp \
+		${WRKSRC}/src/Compositor.cpp
 # Respect PREFIX for wallpapers
 	@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
 		${WRKSRC}/src/render/OpenGL.cpp
diff --git a/x11-wm/hyprland/distinfo b/x11-wm/hyprland/distinfo
index f014c070dfd0..6567a961b6d4 100644
--- a/x11-wm/hyprland/distinfo
+++ b/x11-wm/hyprland/distinfo
@@ -1,11 +1,9 @@
-TIMESTAMP = 1713283263
-SHA256 (hyprwm-Hyprland-v0.39.1_GH0.tar.gz) = 23597a7519c32493ecdbd769a2d272a22027b8675e3ebfe4fa8a1b9373e8f540
-SIZE (hyprwm-Hyprland-v0.39.1_GH0.tar.gz) = 47899652
+TIMESTAMP = 1714837352
+SHA256 (hyprwm-Hyprland-v0.40.0_GH0.tar.gz) = b7b438f08bb921c6d51e2c2fd7b26b9495c56f9e66123184e7ef0f334eda9647
+SIZE (hyprwm-Hyprland-v0.40.0_GH0.tar.gz) = 47946709
 SHA256 (hyprwm-hyprland-protocols-v0.2-4-g0c2ce70_GH0.tar.gz) = d8eb9712d66a167a22a0dae829b6dba2b85814b566d0a87918c944e7c0388d1b
 SIZE (hyprwm-hyprland-protocols-v0.2-4-g0c2ce70_GH0.tar.gz) = 6478
 SHA256 (canihavesomecoffee-udis86-1.7.2-186-g5336633_GH0.tar.gz) = 69aff959179ff6247b375b92e797221dbd8e078eabbf1366280b0532617e7fb8
 SIZE (canihavesomecoffee-udis86-1.7.2-186-g5336633_GH0.tar.gz) = 116938
 SHA256 (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = b5a9ff1793b1e2d388a3819bf35797002b1d2e40bb35a10c65605e0ea1435271
 SIZE (llvm-llvm-project-llvmorg-16.0.1_GH0.tar.gz) = 179289803
-SHA256 (1016faea53fd.patch) = 320d426b6654cbaaa0674ffc59c463c0d1206624c9f811e0ab6604ef1be99338
-SIZE (1016faea53fd.patch) = 1950