diff options
Diffstat (limited to 'devel/hyprutils')
-rw-r--r-- | devel/hyprutils/Makefile | 21 | ||||
-rw-r--r-- | devel/hyprutils/distinfo | 10 | ||||
-rw-r--r-- | devel/hyprutils/pkg-plist | 5 |
3 files changed, 26 insertions, 10 deletions
diff --git a/devel/hyprutils/Makefile b/devel/hyprutils/Makefile index acbba2bb5553..9365f43325ef 100644 --- a/devel/hyprutils/Makefile +++ b/devel/hyprutils/Makefile @@ -1,9 +1,14 @@ PORTNAME= hyprutils DISTVERSIONPREFIX= v -DISTVERSION= 0.7.1 +DISTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= devel -MAINTAINER= ports@FreeBSD.org +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= b074d4abc76ce8e740b35ce29534b443ccbc971b.patch:-p1 # atomic shared pointer, see #67 +PATCHFILES+= 172a3fc2320d5e919d341510d97fa06f878167c8.patch:-p1 # atomic shared pointer, see #67 + +MAINTAINER= tagattie@FreeBSD.org COMMENT= Hyprland utilities library used across the ecosystem WWW= https://github.com/hyprwm/hyprutils @@ -11,15 +16,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..e6e343816356 100644 --- a/devel/hyprutils/distinfo +++ b/devel/hyprutils/distinfo @@ -1,3 +1,7 @@ -TIMESTAMP = 1746635225 -SHA256 (hyprwm-hyprutils-v0.7.1_GH0.tar.gz) = bcbf05252b392b8837eec9ba9855ff6ddab571f9795917c7139215ae4b2cf1bc -SIZE (hyprwm-hyprutils-v0.7.1_GH0.tar.gz) = 36755 +TIMESTAMP = 1753234290 +SHA256 (hyprwm-hyprutils-v0.8.1_GH0.tar.gz) = 1f1e17998ec462dae065483db43b63033e75ac7fc4c3c6aab1af3b679b24ab36 +SIZE (hyprwm-hyprutils-v0.8.1_GH0.tar.gz) = 42105 +SHA256 (b074d4abc76ce8e740b35ce29534b443ccbc971b.patch) = 5b5d0f5e18323c882b7dd91a6ce21c8dd12ba5045b32fb4648839c80947827ad +SIZE (b074d4abc76ce8e740b35ce29534b443ccbc971b.patch) = 5308 +SHA256 (172a3fc2320d5e919d341510d97fa06f878167c8.patch) = d3b152dde9f15e28642e2cd1fcc64160683a352ee31553566061956606a1f1cb +SIZE (172a3fc2320d5e919d341510d97fa06f878167c8.patch) = 852 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 |