git: 2af2b30a7356 - main - x11/hyprcursor: update to 0.1.13
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Aug 2025 14:49:48 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2af2b30a7356b3f31fe8e58c845cb57d6fb95626
commit 2af2b30a7356b3f31fe8e58c845cb57d6fb95626
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-08-02 14:48:10 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-08-02 14:49:39 +0000
x11/hyprcursor: update to 0.1.13
While here:
- add USE_LDCONFIG
- add DOCS option
- add shlib major version to PLIST_SUB
- sort variable order to make portclippy happy
Changelog: https://github.com/hyprwm/hyprcursor/releases/tag/v0.1.13
Reported by: GitHub (watch releases)
---
x11/hyprcursor/Makefile | 22 +++++++++++++++++-----
x11/hyprcursor/distinfo | 6 +++---
x11/hyprcursor/pkg-plist | 4 ++--
3 files changed, 22 insertions(+), 10 deletions(-)
diff --git a/x11/hyprcursor/Makefile b/x11/hyprcursor/Makefile
index 2e2cfc3ca1bb..026435ed893f 100644
--- a/x11/hyprcursor/Makefile
+++ b/x11/hyprcursor/Makefile
@@ -1,7 +1,6 @@
PORTNAME= hyprcursor
DISTVERSIONPREFIX= v
-DISTVERSION= 0.1.12
-PORTREVISION= 1
+DISTVERSION= 0.1.13
CATEGORIES= x11
MAINTAINER= tagattie@FreeBSD.org
@@ -17,14 +16,27 @@ LIB_DEPENDS= libzip.so:archivers/libzip \
RUN_DEPENDS= xcur2png:x11/xcur2png
USES= compiler:c++11-lib cmake:testing gnome pathfix pkgconfig
+
USE_GITHUB= yes
-USE_GNOME= cairo librsvg2
GH_ACCOUNT= hyprwm
-PLIST_SUB= VERSION=${DISTVERSION:C/-.*//}
+
+USE_GNOME= cairo librsvg2
+USE_LDCONFIG= yes
+
+PLIST_SUB= SOVERSION_MAJOR=0 \
+ SOVERSION_FULL=${DISTVERSION:C/-.*//}
+
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
post-patch:
# Respect PREFIX for icons
- @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+ @${REINPLACE_CMD} 's|/usr/share|${DATADIR:H}|' \
${WRKSRC}/lib${PORTNAME}/${PORTNAME}.cpp
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>
diff --git a/x11/hyprcursor/distinfo b/x11/hyprcursor/distinfo
index c7162cce6902..5e5190dd8e1b 100644
--- a/x11/hyprcursor/distinfo
+++ b/x11/hyprcursor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742215473
-SHA256 (hyprwm-hyprcursor-v0.1.12_GH0.tar.gz) = 3200a7a31e28884b9d046f8ec7b0aa67ede9ce0ab0d20193c2b61ee522d6b1f2
-SIZE (hyprwm-hyprcursor-v0.1.12_GH0.tar.gz) = 28714
+TIMESTAMP = 1754142984
+SHA256 (hyprwm-hyprcursor-v0.1.13_GH0.tar.gz) = 82af8b2ce27242ffdd6baebaa71b3f6c8665dc25c52bfcfccc16912622896af8
+SIZE (hyprwm-hyprcursor-v0.1.13_GH0.tar.gz) = 28681
diff --git a/x11/hyprcursor/pkg-plist b/x11/hyprcursor/pkg-plist
index a536544c799c..f5dae674e582 100644
--- a/x11/hyprcursor/pkg-plist
+++ b/x11/hyprcursor/pkg-plist
@@ -4,6 +4,6 @@ include/hyprcursor/hyprcursor.h
include/hyprcursor/hyprcursor.hpp
include/hyprcursor/shared.h
lib/libhyprcursor.so
-lib/libhyprcursor.so.0
-lib/libhyprcursor.so.%%VERSION%%
+lib/libhyprcursor.so.%%SOVERSION_MAJOR%%
+lib/libhyprcursor.so.%%SOVERSION_FULL%%
libdata/pkgconfig/hyprcursor.pc