git: 19cf573476eb - main - deskutils/xdg-desktop-portal-lxqt: New port: Portal frontend service for LXQT

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Thu, 13 Jun 2024 00:24:22 UTC
The branch main has been updated by acm:

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

commit 19cf573476eb0f0ea617db52b2e2186b9f17a864
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-06-13 00:14:18 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-06-13 00:14:18 +0000

    deskutils/xdg-desktop-portal-lxqt: New port: Portal frontend service for LXQT
    
    Flatpak is a technology for packaging and distributing standalone dekstop
    applications. It uses interfaces called "portals" to communicate with the
    rest of the system.
    
    xdg-desktop-portal works by exposing a series of D-Bus interfaces known as
    portals under a well-known name (org.freedesktop.portal.Desktop) and object
    path (/org/freedesktop/portal/desktop). The portal interfaces include APIs for
    file access, opening URIs, printing and others.
    
    PR:             278905
    Approved by:    jsm
---
 deskutils/Makefile                          |  1 +
 deskutils/xdg-desktop-portal-lxqt/Makefile  | 19 +++++++++++++++++++
 deskutils/xdg-desktop-portal-lxqt/distinfo  |  3 +++
 deskutils/xdg-desktop-portal-lxqt/pkg-descr |  8 ++++++++
 deskutils/xdg-desktop-portal-lxqt/pkg-plist |  4 ++++
 5 files changed, 35 insertions(+)

diff --git a/deskutils/Makefile b/deskutils/Makefile
index cbdad121cce9..0342145016f2 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -294,6 +294,7 @@
     SUBDIR += xcbautolock
     SUBDIR += xchm
     SUBDIR += xdg-desktop-portal
+    SUBDIR += xdg-desktop-portal-lxqt
     SUBDIR += xfce4-generic-slider
     SUBDIR += xfce4-notes-plugin
     SUBDIR += xfce4-notifyd
diff --git a/deskutils/xdg-desktop-portal-lxqt/Makefile b/deskutils/xdg-desktop-portal-lxqt/Makefile
new file mode 100644
index 000000000000..af8f4d62110d
--- /dev/null
+++ b/deskutils/xdg-desktop-portal-lxqt/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	xdg-desktop-portal-lxqt
+PORTVERSION=	1.0.2
+CATEGORIES=	deskutils wayland
+
+MAINTAINER=	lxqt@FreeBSD.org
+COMMENT=	Portal frontend service for LXQT
+WWW=		https://github.com/flatpak/xdg-desktop-portal
+
+LICENSE=	LGPL21
+
+USES=		cmake kde:6 lxqt:2 pkgconfig qt:6 tar:xz
+USE_KDE=	windowsystem
+USE_LXQT=	libfmqt6
+USE_QT=		base:run tools:build
+
+post-install:
+	@${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
+
+.include <bsd.port.mk>
diff --git a/deskutils/xdg-desktop-portal-lxqt/distinfo b/deskutils/xdg-desktop-portal-lxqt/distinfo
new file mode 100644
index 000000000000..99252c8e7c62
--- /dev/null
+++ b/deskutils/xdg-desktop-portal-lxqt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1716073461
+SHA256 (lxqt/xdg-desktop-portal-lxqt-1.0.2.tar.xz) = f5ddcf868b0f7d2945193b4584e68610a9d2c72f02fbc4fd83c78fdbcfdb6130
+SIZE (lxqt/xdg-desktop-portal-lxqt-1.0.2.tar.xz) = 16420
diff --git a/deskutils/xdg-desktop-portal-lxqt/pkg-descr b/deskutils/xdg-desktop-portal-lxqt/pkg-descr
new file mode 100644
index 000000000000..f739b9452949
--- /dev/null
+++ b/deskutils/xdg-desktop-portal-lxqt/pkg-descr
@@ -0,0 +1,8 @@
+Flatpak is a technology for packaging and distributing standalone dekstop
+applications. It uses interfaces called "portals" to communicate with the
+rest of the system.
+
+xdg-desktop-portal works by exposing a series of D-Bus interfaces known as
+portals under a well-known name (org.freedesktop.portal.Desktop) and object
+path (/org/freedesktop/portal/desktop). The portal interfaces include APIs for
+file access, opening URIs, printing and others.
diff --git a/deskutils/xdg-desktop-portal-lxqt/pkg-plist b/deskutils/xdg-desktop-portal-lxqt/pkg-plist
new file mode 100644
index 000000000000..34c3d2a72a2c
--- /dev/null
+++ b/deskutils/xdg-desktop-portal-lxqt/pkg-plist
@@ -0,0 +1,4 @@
+libexec/xdg-desktop-portal-lxqt
+share/applications/org.freedesktop.impl.portal.desktop.lxqt.desktop
+share/dbus-1/services/org.freedesktop.impl.portal.desktop.lxqt.service
+share/xdg-desktop-portal/portals/lxqt.portal