git: 5639c7d1b403 - main - x11/xdg-desktop-portal-hyprland: re-disable hyprland-protocols install after 4298ac4c8027

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 10 Apr 2023 09:01:13 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5639c7d1b403fda225a795fa8821715baf9ad14b

commit 5639c7d1b403fda225a795fa8821715baf9ad14b
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-10 09:00:41 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-10 09:00:54 +0000

    x11/xdg-desktop-portal-hyprland: re-disable hyprland-protocols install after 4298ac4c8027
---
 x11/xdg-desktop-portal-hyprland/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/x11/xdg-desktop-portal-hyprland/Makefile b/x11/xdg-desktop-portal-hyprland/Makefile
index 1cc86514caca..80acb10c9a85 100644
--- a/x11/xdg-desktop-portal-hyprland/Makefile
+++ b/x11/xdg-desktop-portal-hyprland/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	xdg-desktop-portal-hyprland
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.2.1
+PORTREVISION=	1
 CATEGORIES=	x11 wayland
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -37,8 +38,6 @@ GH_TUPLE=	hyprwm:hyprland-protocols:4d29e48:hyprland_protocols/subprojects/hyprl
 MESON_ARGS=	-Dsd-bus-provider=basu -Dsystemd=disabled
 PLIST_FILES=	libexec/${PORTNAME} \
 		share/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland.service \
-		share/hyprland-protocols/protocols/hyprland-global-shortcuts-v1.xml \
-		share/hyprland-protocols/protocols/hyprland-toplevel-export-v1.xml \
 		share/xdg-desktop-portal/portals/hyprland.portal
 
 OPTIONS_DEFINE=	SLURP
@@ -50,8 +49,8 @@ SLURP_RUN_DEPENDS=	slurp:x11/slurp
 .ifdef GH_TUPLE
 post-install:
 # XXX USES=meson invokes ninja directly, so doesn't support --skip-subprojects
+	@${RM} -r ${STAGEDIR}${PREFIX}/share/hyprland-protocols
 	@${RM} -r ${STAGEDIR}${PREFIX}/share/pkgconfig
-	@${RM} -r ${STAGEDIR}${PREFIX}/share/protocols
 .endif
 
 .include <bsd.port.mk>