git: 619cc05d7d31 - main - x11/xdg-desktop-portal-hyprland: update to 1.3.10

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sat, 02 Aug 2025 04:51:47 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=619cc05d7d3190bc09fc94aa75bf7ec43d97dad0

commit 619cc05d7d3190bc09fc94aa75bf7ec43d97dad0
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-08-02 04:50:28 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-08-02 04:50:28 +0000

    x11/xdg-desktop-portal-hyprland: update to 1.3.10
    
    While here:
    - use hyprland-protocols from ports
    - sort variable order to make portclippy happy
    - add DOCS option
    
    Changelog: https://github.com/hyprwm/xdg-desktop-portal-hyprland/releases/tag/v1.3.10
    
    Reported by:    portscout
---
 x11/xdg-desktop-portal-hyprland/Makefile | 21 ++++++++++++++++-----
 x11/xdg-desktop-portal-hyprland/distinfo |  8 +++-----
 2 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/x11/xdg-desktop-portal-hyprland/Makefile b/x11/xdg-desktop-portal-hyprland/Makefile
index 49409b042378..e5a41887a0b0 100644
--- a/x11/xdg-desktop-portal-hyprland/Makefile
+++ b/x11/xdg-desktop-portal-hyprland/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	xdg-desktop-portal-hyprland
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.3.9
-PORTREVISION=	7
+DISTVERSION=	1.3.10
 CATEGORIES=	x11 wayland
 
 MAINTAINER=	tagattie@FreeBSD.org
@@ -11,7 +10,8 @@ WWW=		https://github.com/hyprwm/xdg-desktop-portal-hyprland
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	hyprwayland-scanner>=0.4.2:devel/hyprwayland-scanner \
+BUILD_DEPENDS=	hyprland-protocols>0:graphics/hyprland-protocols \
+		hyprwayland-scanner>=0.4.2:devel/hyprwayland-scanner \
 		wayland-protocols>=1.33:graphics/wayland-protocols
 LIB_DEPENDS=	libhyprlang.so:devel/hyprlang \
 		libhyprutils.so:devel/hyprutils \
@@ -24,16 +24,27 @@ RUN_DEPENDS=	xdg-desktop-portal>0:deskutils/xdg-desktop-portal \
 		slurp:x11/slurp
 
 USES=		cmake compiler:c++11-lib gl pkgconfig qt:6
+
 USE_GITHUB=	yes
+GH_ACCOUNT=	hyprwm
+
 USE_GL=		gbm
 USE_QT=		base wayland:run
-GH_ACCOUNT=	hyprwm
-GH_TUPLE=	hyprwm:hyprland-protocols:v0.2:hyprland_protocols/subprojects/hyprland-protocols
+
 LDFLAGS+=	-Wl,--as-needed # GL, sdbus-cpp deps
+
 PLIST_FILES=	bin/hyprland-share-picker \
 		lib/systemd/user/${PORTNAME}.service \
 		libexec/${PORTNAME} \
 		share/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland.service \
 		share/xdg-desktop-portal/portals/hyprland.portal
 
+PORTDOCS=	CONTRIBUTING.md README.md
+
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>
diff --git a/x11/xdg-desktop-portal-hyprland/distinfo b/x11/xdg-desktop-portal-hyprland/distinfo
index 4251e305be29..8c50ca16b423 100644
--- a/x11/xdg-desktop-portal-hyprland/distinfo
+++ b/x11/xdg-desktop-portal-hyprland/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1734569338
-SHA256 (hyprwm-xdg-desktop-portal-hyprland-v1.3.9_GH0.tar.gz) = 3f7d94fd408ed5e3a9b639d3dd8502e2169decc34f285e8552434da5fddf497e
-SIZE (hyprwm-xdg-desktop-portal-hyprland-v1.3.9_GH0.tar.gz) = 50667
-SHA256 (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 106cb189d0fbe4ec0ee11a12a17238172f4c4cd1b2b26db904df144e5c7a05f0
-SIZE (hyprwm-hyprland-protocols-v0.2_GH0.tar.gz) = 6342
+TIMESTAMP = 1754108855
+SHA256 (hyprwm-xdg-desktop-portal-hyprland-v1.3.10_GH0.tar.gz) = 5f7b1d83e700ecfa702dfc4c6da1dfdc5d9b1239e8b7d8dd3986116327d84bbf
+SIZE (hyprwm-xdg-desktop-portal-hyprland-v1.3.10_GH0.tar.gz) = 51498