diff options
author | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-07-20 19:59:01 +0900 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-07-20 20:02:00 +0900 |
commit | c66ba56f2d987e2cd2ba71a54b753e75dd2e4da5 (patch) | |
tree | dc3212ecacf6a680c77ccbe2e3c763bef60ad503 | |
parent | multimedia/snapcast: update 0.31.0 → 0.31.0.107 (diff) |
devel/hyprutils: update to 0.8.1
This version has an issue with regard to atomic shared pointers on
FreeBSD. The issue has been reported upstream[1]. Hyprlock >=0.9.0
seems affected.
While here, reorder variables to make portclippy happy.
[1] https://github.com/hyprwm/hyprutils/issues/67
-rw-r--r-- | devel/hyprutils/Makefile | 15 | ||||
-rw-r--r-- | devel/hyprutils/distinfo | 6 | ||||
-rw-r--r-- | devel/hyprutils/pkg-plist | 5 |
3 files changed, 16 insertions, 10 deletions
diff --git a/devel/hyprutils/Makefile b/devel/hyprutils/Makefile index a3bff1f3a2c9..fca5d0398ff8 100644 --- a/devel/hyprutils/Makefile +++ b/devel/hyprutils/Makefile @@ -1,7 +1,6 @@ PORTNAME= hyprutils DISTVERSIONPREFIX= v -DISTVERSION= 0.7.1 -PORTREVISION= 1 +DISTVERSION= 0.8.1 CATEGORIES= devel MAINTAINER= tagattie@FreeBSD.org @@ -12,15 +11,21 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lib cmake:testing pkgconfig xorg + USE_GITHUB= yes +GH_ACCOUNT= hyprwm + USE_LDCONFIG= yes USE_XORG= pixman -GH_ACCOUNT= hyprwm -PLIST_SUB= VERSION=${DISTVERSION:C/-.*//} + +LDFLAGS+= -pthread + +PLIST_SUB= SOVERSION_MAJOR=7 \ + SOVERSION_FULL=${DISTVERSION:C/-.*//} post-patch: # Respect PREFIX for system-wide config - @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \ + @${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 51b4d935e95b..349bda2042e6 100644 --- a/devel/hyprutils/distinfo +++ b/devel/hyprutils/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1746635225 -SHA256 (hyprwm-hyprutils-v0.7.1_GH0.tar.gz) = bcbf05252b392b8837eec9ba9855ff6ddab571f9795917c7139215ae4b2cf1bc -SIZE (hyprwm-hyprutils-v0.7.1_GH0.tar.gz) = 36755 +TIMESTAMP = 1752805704 +SHA256 (hyprwm-hyprutils-v0.8.1_GH0.tar.gz) = 1f1e17998ec462dae065483db43b63033e75ac7fc4c3c6aab1af3b679b24ab36 +SIZE (hyprwm-hyprutils-v0.8.1_GH0.tar.gz) = 42105 diff --git a/devel/hyprutils/pkg-plist b/devel/hyprutils/pkg-plist index 8ec9b786a9f5..f6fe722a91eb 100644 --- a/devel/hyprutils/pkg-plist +++ b/devel/hyprutils/pkg-plist @@ -8,6 +8,7 @@ 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/ImplBase.hpp include/hyprutils/memory/SharedPtr.hpp include/hyprutils/memory/UniquePtr.hpp @@ -22,6 +23,6 @@ include/hyprutils/string/String.hpp include/hyprutils/string/VarList.hpp include/hyprutils/utils/ScopeGuard.hpp lib/libhyprutils.so -lib/libhyprutils.so.6 -lib/libhyprutils.so.%%VERSION%% +lib/libhyprutils.so.%%SOVERSION_MAJOR%% +lib/libhyprutils.so.%%SOVERSION_FULL%% libdata/pkgconfig/hyprutils.pc |