summaryrefslogtreecommitdiff
path: root/devel/hyprutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hyprutils/Makefile')
-rw-r--r--devel/hyprutils/Makefile21
1 files changed, 16 insertions, 5 deletions
diff --git a/devel/hyprutils/Makefile b/devel/hyprutils/Makefile
index c71a972728ce..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= jbeich@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>