git: 1b91f0dd7a12 - main - devel/hyprutils: Update to 0.10.2

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Thu, 13 Nov 2025 14:12:38 UTC
The branch main has been updated by tagattie:

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

commit 1b91f0dd7a1290eb8f3b5d3d4fa64e99a8ef3e98
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-11-12 07:32:06 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-11-13 14:12:28 +0000

    devel/hyprutils: Update to 0.10.2
    
    Changelog: https://github.com/hyprwm/hyprutils/releases/tag/v0.10.2
    
    Reported by:    GitHub (watch releases)
---
 devel/hyprutils/Makefile                          |  6 ++++--
 devel/hyprutils/distinfo                          |  6 +++---
 devel/hyprutils/files/patch-src_memory_Memory.cpp | 17 +++++++++++++++++
 devel/hyprutils/pkg-plist                         |  2 ++
 4 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/devel/hyprutils/Makefile b/devel/hyprutils/Makefile
index a2d5b90d1ea6..5112374efc3a 100644
--- a/devel/hyprutils/Makefile
+++ b/devel/hyprutils/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	hyprutils
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.10.1
+DISTVERSION=	0.10.2
 CATEGORIES=	devel
 
 MAINTAINER=	tagattie@FreeBSD.org
@@ -10,7 +10,9 @@ WWW=		https://github.com/hyprwm/hyprutils
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		compiler:c++11-lib cmake:testing pkgconfig xorg
+BUILD_DEPENDS=	googletest>0:devel/googletest
+
+USES=		cmake:testing compiler:c++11-lib pkgconfig xorg
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	hyprwm
diff --git a/devel/hyprutils/distinfo b/devel/hyprutils/distinfo
index 0788f5ca5288..3b875213a4ad 100644
--- a/devel/hyprutils/distinfo
+++ b/devel/hyprutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1762502555
-SHA256 (hyprwm-hyprutils-v0.10.1_GH0.tar.gz) = 052d6081e44ee8d4ee8e623b6b01108a9f61fec34bf396071196fdf69929d273
-SIZE (hyprwm-hyprutils-v0.10.1_GH0.tar.gz) = 44509
+TIMESTAMP = 1762929689
+SHA256 (hyprwm-hyprutils-v0.10.2_GH0.tar.gz) = f468997ee10d2f38413f65e099f717a88c6b7c0a0aba64d2c663d5508dfb5439
+SIZE (hyprwm-hyprutils-v0.10.2_GH0.tar.gz) = 46526
diff --git a/devel/hyprutils/files/patch-src_memory_Memory.cpp b/devel/hyprutils/files/patch-src_memory_Memory.cpp
new file mode 100644
index 000000000000..b31de03954a9
--- /dev/null
+++ b/devel/hyprutils/files/patch-src_memory_Memory.cpp
@@ -0,0 +1,17 @@
+--- src/memory/Memory.cpp.orig	2025-11-12 06:55:16 UTC
++++ src/memory/Memory.cpp
+@@ -1,6 +1,7 @@
+ #include <hyprutils/memory/WeakPtr.hpp>
+ #include <hyprutils/memory/Atomic.hpp>
+ #include <hyprutils/memory/Casts.hpp>
++#include <thread>
+ 
+ using namespace Hyprutils::Memory;
+ 
+@@ -176,4 +177,4 @@ TEST(Memory, memory) {
+     testAtomicImpl();
+ }
+ 
+-#endif
+\ No newline at end of file
++#endif
diff --git a/devel/hyprutils/pkg-plist b/devel/hyprutils/pkg-plist
index d551d8c4740b..fac1e7e4c9a9 100644
--- a/devel/hyprutils/pkg-plist
+++ b/devel/hyprutils/pkg-plist
@@ -2,6 +2,7 @@ include/hyprutils/animation/AnimatedVariable.hpp
 include/hyprutils/animation/AnimationConfig.hpp
 include/hyprutils/animation/AnimationManager.hpp
 include/hyprutils/animation/BezierCurve.hpp
+include/hyprutils/i18n/I18nEngine.hpp
 include/hyprutils/math/Box.hpp
 include/hyprutils/math/Edges.hpp
 include/hyprutils/math/Mat3x3.hpp
@@ -22,6 +23,7 @@ include/hyprutils/signal/Signal.hpp
 include/hyprutils/string/ConstVarList.hpp
 include/hyprutils/string/String.hpp
 include/hyprutils/string/VarList.hpp
+include/hyprutils/string/VarList2.hpp
 include/hyprutils/utils/ScopeGuard.hpp
 lib/libhyprutils.so
 lib/libhyprutils.so.%%SOVERSION_MAJOR%%