git: 1865dac4d93e - main - deskutils/libportal{,-gtk3,-gtk4,-qt5}: Update to 0.7.1

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Tue, 19 Sep 2023 10:12:05 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1865dac4d93e9946c6de51ccf185b884366899b9

commit 1865dac4d93e9946c6de51ccf185b884366899b9
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-09-19 10:11:24 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-09-19 10:12:02 +0000

    deskutils/libportal{,-gtk3,-gtk4,-qt5}: Update to 0.7.1
    
    Reported by:    portscout!
---
 deskutils/libportal-gtk3/Makefile                  |  1 -
 deskutils/libportal-gtk4/Makefile                  |  1 -
 deskutils/libportal/Makefile                       |  7 ++++---
 deskutils/libportal/distinfo                       |  6 +++---
 deskutils/libportal/files/patch-libportal_portal.c | 12 ------------
 5 files changed, 7 insertions(+), 20 deletions(-)

diff --git a/deskutils/libportal-gtk3/Makefile b/deskutils/libportal-gtk3/Makefile
index 42532769aff0..2030f829505b 100644
--- a/deskutils/libportal-gtk3/Makefile
+++ b/deskutils/libportal-gtk3/Makefile
@@ -1,5 +1,4 @@
 PKGNAMESUFFIX=	-${BACKEND}
-PORTREVISION=	1
 COMMENT=	GIO-styled async APIs for Flatpak (${BACKEND} backend)
 
 BACKEND=	gtk3
diff --git a/deskutils/libportal-gtk4/Makefile b/deskutils/libportal-gtk4/Makefile
index d752c05e3399..0658235fba86 100644
--- a/deskutils/libportal-gtk4/Makefile
+++ b/deskutils/libportal-gtk4/Makefile
@@ -1,5 +1,4 @@
 PKGNAMESUFFIX=	-${BACKEND}
-PORTREVISION=	1
 COMMENT=	GIO-styled async APIs for Flatpak (${BACKEND} backend)
 
 BACKEND=	gtk4
diff --git a/deskutils/libportal/Makefile b/deskutils/libportal/Makefile
index 9f712d12df62..604f5decfb62 100644
--- a/deskutils/libportal/Makefile
+++ b/deskutils/libportal/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libportal
-PORTVERSION=	0.6
-PORTREVISION=	2
+PORTVERSION=	0.7.1
 CATEGORIES=	deskutils
 
 MAINTAINER=	arrowd@FreeBSD.org
@@ -26,12 +25,14 @@ OPTIONS_DEFAULT=	VAPI
 VAPI_MESON_TRUE=	vapi
 VAPI_USES=		vala:build
 
-MESON_ARGS=	-Ddocs=false -Dbackends=${BACKEND}
+MESON_ARGS=	-Ddocs=false \
+		-Dbackend-gtk3=disabled -Dbackend-gtk4=disabled -Dbackend-qt5=disabled
 OPTIONS_SUB=	yes
 
 .if defined(BACKEND)
 LIB_DEPENDS=	libportal.so:deskutils/libportal
 PLIST=		${PKGDIR}/pkg-plist.${BACKEND}
+MESON_ARGS+=	-Dbackend-${BACKEND}=enabled
 
 post-install:
 	@cd ${STAGEDIR}${PREFIX} && \
diff --git a/deskutils/libportal/distinfo b/deskutils/libportal/distinfo
index e57ccfe979ab..f8ba03aa2ef7 100644
--- a/deskutils/libportal/distinfo
+++ b/deskutils/libportal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660123021
-SHA256 (flatpak-libportal-0.6_GH0.tar.gz) = 8ad326c4f53b7433645dc86d994fef0292bee8adda0fe67db9288ace19250a9c
-SIZE (flatpak-libportal-0.6_GH0.tar.gz) = 83636
+TIMESTAMP = 1695064068
+SHA256 (flatpak-libportal-0.7.1_GH0.tar.gz) = 6ac8e0e2aa04f56d0320adff03e5f20a0c5d7d1a33d4b19e22707bfbece0b874
+SIZE (flatpak-libportal-0.7.1_GH0.tar.gz) = 96544
diff --git a/deskutils/libportal/files/patch-libportal_portal.c b/deskutils/libportal/files/patch-libportal_portal.c
deleted file mode 100644
index 8722d816d94a..000000000000
--- a/deskutils/libportal/files/patch-libportal_portal.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- libportal/portal.c.orig	2022-03-21 19:20:46 UTC
-+++ libportal/portal.c
-@@ -27,7 +27,9 @@
- #include <string.h>
- #include <fcntl.h>
- #include <errno.h>
-+#ifndef __FreeBSD__
- #include <sys/vfs.h>
-+#endif
- #include <stdio.h>
- 
- /**