diff --git a/devel/hyprutils/Makefile b/devel/hyprutils/Makefile index a2d5b90d1ea6..5112374efc3a 100644 --- a/devel/hyprutils/Makefile +++ b/devel/hyprutils/Makefile @@ -1,31 +1,33 @@ PORTNAME= hyprutils DISTVERSIONPREFIX= v -DISTVERSION= 0.10.1 +DISTVERSION= 0.10.2 CATEGORIES= devel MAINTAINER= tagattie@FreeBSD.org COMMENT= Hyprland utilities library used across the ecosystem 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 USE_LDCONFIG= yes USE_XORG= pixman LDFLAGS+= -pthread PLIST_SUB= SOVERSION_MAJOR=9 \ SOVERSION_FULL=${DISTVERSION:C/-.*//} post-patch: # Respect PREFIX for system-wide config @${REINPLACE_CMD} 's|/etc|${PREFIX}&|' \ ${WRKSRC}/src/path/Path.cpp .include 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 + #include + #include ++#include + + 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 @@ -1,29 +1,31 @@ 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 include/hyprutils/math/Misc.hpp include/hyprutils/math/Region.hpp include/hyprutils/math/Vector2D.hpp include/hyprutils/memory/Atomic.hpp include/hyprutils/memory/Casts.hpp include/hyprutils/memory/ImplBase.hpp include/hyprutils/memory/SharedPtr.hpp include/hyprutils/memory/UniquePtr.hpp include/hyprutils/memory/WeakPtr.hpp include/hyprutils/os/FileDescriptor.hpp include/hyprutils/os/Process.hpp include/hyprutils/path/Path.hpp include/hyprutils/signal/Listener.hpp 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%% lib/libhyprutils.so.%%SOVERSION_FULL%% libdata/pkgconfig/hyprutils.pc