git: cb12bd12742f - main - devel/hyprutils: update to 0.2.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 15 Jul 2024 23:06:56 UTC
The branch main has been updated by jbeich:

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

commit cb12bd12742f595f23008ab94f6b451d707c1893
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-07-15 19:28:57 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-07-15 23:06:42 +0000

    devel/hyprutils: update to 0.2.0
    
    Changes:        https://github.com/hyprwm/hyprutils/releases/tag/v0.2.0
    Reported by:    GitHub (watch releases)
---
 devel/hyprutils/Makefile  | 7 ++++++-
 devel/hyprutils/distinfo  | 6 +++---
 devel/hyprutils/pkg-plist | 3 ++-
 x11-wm/hyprland/Makefile  | 1 +
 x11/hyprlock/Makefile     | 1 +
 5 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/devel/hyprutils/Makefile b/devel/hyprutils/Makefile
index 44c42ba0021b..3e270afa687c 100644
--- a/devel/hyprutils/Makefile
+++ b/devel/hyprutils/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	hyprutils
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.1.5
+DISTVERSION=	0.2.0
 CATEGORIES=	devel
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -22,4 +22,9 @@ PLIST_SUB=	VERSION=${DISTVERSION:C/-.*//}
 CXXFLAGS+=	-fexperimental-library
 .endif
 
+post-patch:
+# Respect PREFIX for system-wide config
+	@${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \
+		${WRKSRC}/src/path/Path.cpp
+
 .include <bsd.port.mk>
diff --git a/devel/hyprutils/distinfo b/devel/hyprutils/distinfo
index 0195be77819e..13635aa336d5 100644
--- a/devel/hyprutils/distinfo
+++ b/devel/hyprutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1719316102
-SHA256 (hyprwm-hyprutils-v0.1.5_GH0.tar.gz) = 60cce1b4160a4e5383fa0ff665c6bf49b54cfb387dc8a52229abfc367000b0be
-SIZE (hyprwm-hyprutils-v0.1.5_GH0.tar.gz) = 17974
+TIMESTAMP = 1721071737
+SHA256 (hyprwm-hyprutils-v0.2.0_GH0.tar.gz) = 958d0b9ba1157ae0099c9d879fd5247eceda3af0bfd7d6fdacb69926e1d3eeb3
+SIZE (hyprwm-hyprutils-v0.2.0_GH0.tar.gz) = 19268
diff --git a/devel/hyprutils/pkg-plist b/devel/hyprutils/pkg-plist
index e847bfbb368e..3b99a12e3498 100644
--- a/devel/hyprutils/pkg-plist
+++ b/devel/hyprutils/pkg-plist
@@ -4,11 +4,12 @@ include/hyprutils/math/Region.hpp
 include/hyprutils/math/Vector2D.hpp
 include/hyprutils/memory/SharedPtr.hpp
 include/hyprutils/memory/WeakPtr.hpp
+include/hyprutils/path/Path.hpp
 include/hyprutils/signal/Listener.hpp
 include/hyprutils/signal/Signal.hpp
 include/hyprutils/string/String.hpp
 include/hyprutils/string/VarList.hpp
 lib/libhyprutils.so
-lib/libhyprutils.so.0
+lib/libhyprutils.so.1
 lib/libhyprutils.so.%%VERSION%%
 libdata/pkgconfig/hyprutils.pc
diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index d8c935f320b3..7998197655b5 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	hyprland
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.41.2
+PORTREVISION=	1
 CATEGORIES=	x11-wm wayland
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/x11/hyprlock/Makefile b/x11/hyprlock/Makefile
index 0030a047a9d8..81a793d1dfaa 100644
--- a/x11/hyprlock/Makefile
+++ b/x11/hyprlock/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	hyprlock
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.4.0
+PORTREVISION=	1
 CATEGORIES=	x11 wayland
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/