git: de24f17c6690 - main - deskutils/libportal: Update to 0.6

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 10 Aug 2022 16:07:13 UTC
The branch main has been updated by arrowd:

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

commit de24f17c6690c4bca964d98607d78a8b96c4a6c4
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-08-10 16:06:14 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-08-10 16:06:40 +0000

    deskutils/libportal: Update to 0.6
---
 deskutils/libportal/Makefile                       |  4 ++--
 deskutils/libportal/distinfo                       |  6 +++---
 deskutils/libportal/files/patch-libportal_portal.c | 12 ++++++++++++
 deskutils/libportal/pkg-plist                      |  1 +
 4 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/deskutils/libportal/Makefile b/deskutils/libportal/Makefile
index 91e47832f27b..762f797856b0 100644
--- a/deskutils/libportal/Makefile
+++ b/deskutils/libportal/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libportal
-PORTVERSION=	0.5
+PORTVERSION=	0.6
 CATEGORIES=	deskutils
 
 MAINTAINER=	arrowd@FreeBSD.org
@@ -12,7 +12,7 @@ BUILD_DEPENDS=	gtkdoc-scan:textproc/gtk-doc
 USES=		gnome meson pkgconfig qt:5
 
 USE_GNOME=	glib20 gtk30 introspection:build
-USE_QT=		core gui qmake_build widgets x11extras
+USE_QT=		buildtools core gui qmake_build testlib widgets x11extras
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
diff --git a/deskutils/libportal/distinfo b/deskutils/libportal/distinfo
index 8373a2f4d309..e57ccfe979ab 100644
--- a/deskutils/libportal/distinfo
+++ b/deskutils/libportal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1640523999
-SHA256 (flatpak-libportal-0.5_GH0.tar.gz) = f7238d1bd8d266a3103746de1c06381220a2c6b2c70660bbfc7697699ba6f1d9
-SIZE (flatpak-libportal-0.5_GH0.tar.gz) = 75210
+TIMESTAMP = 1660123021
+SHA256 (flatpak-libportal-0.6_GH0.tar.gz) = 8ad326c4f53b7433645dc86d994fef0292bee8adda0fe67db9288ace19250a9c
+SIZE (flatpak-libportal-0.6_GH0.tar.gz) = 83636
diff --git a/deskutils/libportal/files/patch-libportal_portal.c b/deskutils/libportal/files/patch-libportal_portal.c
new file mode 100644
index 000000000000..8722d816d94a
--- /dev/null
+++ b/deskutils/libportal/files/patch-libportal_portal.c
@@ -0,0 +1,12 @@
+--- 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>
+ 
+ /**
diff --git a/deskutils/libportal/pkg-plist b/deskutils/libportal/pkg-plist
index a978d0d14f65..1d4fbbdd97c8 100644
--- a/deskutils/libportal/pkg-plist
+++ b/deskutils/libportal/pkg-plist
@@ -3,6 +3,7 @@ include/libportal-qt5/portal-qt5.h
 include/libportal/account.h
 include/libportal/background.h
 include/libportal/camera.h
+include/libportal/dynamic-launcher.h
 include/libportal/email.h
 include/libportal/filechooser.h
 include/libportal/inhibit.h