git: 2f9290d35844 - main - x11-wm/hyprland: update to 0.29.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 28 Aug 2023 21:58:27 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f9290d35844e35ee06cbac6b7b11daa2459fdc1

commit 2f9290d35844e35ee06cbac6b7b11daa2459fdc1
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-08-28 21:03:35 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-08-28 21:56:38 +0000

    x11-wm/hyprland: update to 0.29.0
    
    Changes:        https://github.com/hyprwm/Hyprland/releases/tag/v0.29.0
    Reported by:    GitHub (watch releases)
---
 x11-wm/hyprland/Makefile  | 19 +------------------
 x11-wm/hyprland/distinfo  | 12 +++---------
 x11-wm/hyprland/pkg-plist |  1 +
 3 files changed, 5 insertions(+), 27 deletions(-)

diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index 29d89293e500..a4a9bcbeb9bf 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -1,14 +1,8 @@
 PORTNAME=	hyprland
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.28.0
-PORTREVISION=	1
+DISTVERSION=	0.29.0
 CATEGORIES=	x11-wm wayland
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES+=	7a2027d1fd5d.patch:-p1 # https://github.com/hyprwm/Hyprland/issues/2828
-PATCHFILES+=	7d98181ade0a.patch:-p1 # https://github.com/hyprwm/Hyprland/pull/2884
-PATCHFILES+=	2e6693fbb650.patch:-p1
-
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Dynamic tiling Wayland compositor that doesn't sacrifice on its looks #'
 WWW=		https://hyprland.org/
@@ -42,14 +36,6 @@ OPTIONS_DEFAULT=X11
 X11_USE=		XORG=xcb
 X11_MESON_ENABLED=	xwayland
 
-post-extract:
-.if defined(PATCHFILES) && ${PATCHFILES:M7d98181ade0a*}
-# Pretend to be a regular file for vendor patch to apply as is
-	@${RMDIR} ${WRKSRC}/subprojects/wlroots
-	@${ECHO_CMD} "Subproject commit e8d545a9770a2473db32e0a0bfa757b05d2af4f3" \
-		>${WRKSRC}/subprojects/wlroots
-.endif
-
 post-patch:
 # Extract (snapshot) version from the port instead of meson.build
 	@${REINPLACE_CMD} -i .nogit -e "/GIT_BRANCH/s/run_command.*/'main'/" \
@@ -61,9 +47,6 @@ post-patch:
 # Respect PREFIX for wallpapers
 	@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
 		${WRKSRC}/src/render/OpenGL.cpp
-# Respect LOCALBASE for xdg-desktop-portal-hyprland installation
-	@${REINPLACE_CMD} 's,/usr/share,${LOCALBASE}/share,g' \
-		${WRKSRC}/src/Compositor.cpp
 
 .ifdef GH_TUPLE
 post-configure:
diff --git a/x11-wm/hyprland/distinfo b/x11-wm/hyprland/distinfo
index e08c6d4a1f51..f371b9e93311 100644
--- a/x11-wm/hyprland/distinfo
+++ b/x11-wm/hyprland/distinfo
@@ -1,15 +1,9 @@
-TIMESTAMP = 1691078410
-SHA256 (hyprwm-Hyprland-v0.28.0_GH0.tar.gz) = 5b90863c99aff4e48e3187b7aa454a327c4c01813621173a475a3151bbbf9c3e
-SIZE (hyprwm-Hyprland-v0.28.0_GH0.tar.gz) = 7320810
+TIMESTAMP = 1693256615
+SHA256 (hyprwm-Hyprland-v0.29.0_GH0.tar.gz) = 759c6cc8ffc0869f61dd5d03b5d550ef5695c1b17fa99af9fb776c90f6b932fc
+SIZE (hyprwm-Hyprland-v0.29.0_GH0.tar.gz) = 7325165
 SHA256 (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 106cb189d0fbe4ec0ee11a12a17238172f4c4cd1b2b26db904df144e5c7a05f0
 SIZE (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 6342
 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 (7a2027d1fd5d.patch) = dcf2e5b2233077c3b35dd1191ea672104e0f7632a6310a8c4661933444d13819
-SIZE (7a2027d1fd5d.patch) = 1916
-SHA256 (7d98181ade0a.patch) = d94c45c2abeb4d3b96c058e31d2c2090cdaf934a6f289846e9c4050c54b25c23
-SIZE (7d98181ade0a.patch) = 1195
-SHA256 (2e6693fbb650.patch) = faae4c515b3d9b45a9838a0585c71ce51a7cc97ecbe73522ad888b5976504c49
-SIZE (2e6693fbb650.patch) = 776
diff --git a/x11-wm/hyprland/pkg-plist b/x11-wm/hyprland/pkg-plist
index 2322c106d771..a01b728922fe 100644
--- a/x11-wm/hyprland/pkg-plist
+++ b/x11-wm/hyprland/pkg-plist
@@ -14,3 +14,4 @@ man/man1/hyprctl.1.gz
 %%DATADIR%%/wall_anime_8K.png
 share/pkgconfig/hyprland.pc
 share/wayland-sessions/hyprland.desktop
+share/xdg-desktop-portal/hyprland-portals.conf