git: 3969f12d2251 - main - devel/libdbusmenu-lxqt: New port: Qt6 implementation of the DBusMenu protocol

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

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

commit 3969f12d225134ff5fa2a70b2cb5fbecc122766b
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-06-13 00:01:24 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-06-13 00:01:24 +0000

    devel/libdbusmenu-lxqt: New port: Qt6 implementation of the DBusMenu protocol
    
    This library provides a Qt6 implementation of the DBusMenu protocol to LXQT
    which is forked from libdbusmenu-qt
    
    The DBusMenu protocol makes it possible for applications to export and import
    their menus over DBus.
---
 devel/Makefile                   |  3 ++
 devel/libdbusmenu-lxqt/Makefile  | 31 ++++++++++++++
 devel/libdbusmenu-lxqt/distinfo  |  3 ++
 devel/libdbusmenu-lxqt/pkg-descr |  5 +++
 devel/libdbusmenu-lxqt/pkg-plist | 89 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 131 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index c51192cb5181..9e90738a1adb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1226,6 +1226,7 @@
     SUBDIR += libdatovka
     SUBDIR += libdatrie
     SUBDIR += libdbusmenu
+    SUBDIR += libdbusmenu-lxqt
     SUBDIR += libdbusmenu-qt
     SUBDIR += libddoc
     SUBDIR += libddwaf
@@ -1387,6 +1388,7 @@
     SUBDIR += libqb
     SUBDIR += libqcow
     SUBDIR += libqsbr
+    SUBDIR += libqt6xdg
     SUBDIR += libqtxdg
     SUBDIR += libr3
     SUBDIR += librcc
@@ -1608,6 +1610,7 @@
     SUBDIR += luv
     SUBDIR += lwp
     SUBDIR += lxqt-build-tools
+    SUBDIR += lxqt2-build-tools
     SUBDIR += lyra
     SUBDIR += m17n-db
     SUBDIR += m17n-docs
diff --git a/devel/libdbusmenu-lxqt/Makefile b/devel/libdbusmenu-lxqt/Makefile
new file mode 100644
index 000000000000..79575344efa7
--- /dev/null
+++ b/devel/libdbusmenu-lxqt/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	libdbusmenu-lxqt
+PORTVERSION=	0.1.0
+CATEGORIES=	devel
+MASTER_SITE=	LXQT/${PORTNAME}
+
+MAINTAINER=	lxqt@FreeBSD.org
+COMMENT=	Qt6 implementation of the DBusMenu protocol
+WWW=		https://github.com/lxqt/libdbusmenu-lxqt
+
+LICENSE=	LGPL20
+
+USES=		compiler:c++17-lang cmake lxqt:2 qt:6 tar:xz
+USE_LDCONFIG=	yes
+USE_QT=		base
+
+OPTIONS_DEFINE=		DOXYGEN
+OPTIONS_SUB=		YES
+DOXYGEN_DESC=		Build documentation (requires doxygen)
+DOXYGEN_CMAKE_BOOL=	WITH_DOC
+DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
+
+.  if defined(PACKAGE_BUILDING)
+OPTIONS_DEFAULT+=	DOXYGEN
+.  endif
+
+post-patch:
+	@${REINPLACE_CMD} -e '/add_subdirectory(tests)/ d' \
+			  -e '/add_subdirectory(tools)/ d' \
+		${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>
diff --git a/devel/libdbusmenu-lxqt/distinfo b/devel/libdbusmenu-lxqt/distinfo
new file mode 100644
index 000000000000..03921fee42e7
--- /dev/null
+++ b/devel/libdbusmenu-lxqt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1714098867
+SHA256 (lxqt/libdbusmenu-lxqt-0.1.0.tar.xz) = a82d77375034b0f27e6e08b5c7ad9c19ee88e8d7bb699ee0423a5a0e781fb291
+SIZE (lxqt/libdbusmenu-lxqt-0.1.0.tar.xz) = 39232
diff --git a/devel/libdbusmenu-lxqt/pkg-descr b/devel/libdbusmenu-lxqt/pkg-descr
new file mode 100644
index 000000000000..a33c6199b1a1
--- /dev/null
+++ b/devel/libdbusmenu-lxqt/pkg-descr
@@ -0,0 +1,5 @@
+This library provides a Qt6 implementation of the DBusMenu protocol to LXQT 
+which is forked from libdbusmenu-qt
+
+The DBusMenu protocol makes it possible for applications to export and import
+their menus over DBus.
diff --git a/devel/libdbusmenu-lxqt/pkg-plist b/devel/libdbusmenu-lxqt/pkg-plist
new file mode 100644
index 000000000000..5f0e7a7a2202
--- /dev/null
+++ b/devel/libdbusmenu-lxqt/pkg-plist
@@ -0,0 +1,89 @@
+include/dbusmenu-lxqt/dbusmenu_export.h
+include/dbusmenu-lxqt/dbusmenu_version.h
+include/dbusmenu-lxqt/dbusmenuexporter.h
+include/dbusmenu-lxqt/dbusmenuimporter.h
+lib/cmake/dbusmenu-lxqt/dbusmenu-lxqt-config-version.cmake
+lib/cmake/dbusmenu-lxqt/dbusmenu-lxqt-config.cmake
+lib/cmake/dbusmenu-lxqt/dbusmenu-lxqt-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/dbusmenu-lxqt/dbusmenu-lxqt-targets.cmake
+lib/libdbusmenu-lxqt.so
+lib/libdbusmenu-lxqt.so.0
+lib/libdbusmenu-lxqt.so.%%VERSION%%
+libdata/pkgconfig/dbusmenu-lxqt.pc
+%%DOXYGEN%%%%DOCSDIR%%-doc/annotated.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/bc_s.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/bc_sd.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/bdwn.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/classDBusMenuExporter-members.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/classDBusMenuExporter.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/classDBusMenuExporter.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/classDBusMenuImporter-members.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/classDBusMenuImporter.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/classDBusMenuImporter.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/classes.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/closed.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/dbusmenu__export_8h_source.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/dbusmenuexporter_8h_source.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/dbusmenuimporter_8h_source.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/deprecated.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/dir_fc772ace1a33312bfa5aa41930f5af30.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/dir_4c0a738f04591608f0b00ed7f8d0f988.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/doc.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/docd.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/doxygen.css
+%%DOXYGEN%%%%DOCSDIR%%-doc/doxygen.svg
+%%DOXYGEN%%%%DOCSDIR%%-doc/dynsections.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/files.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/folderclosed.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/folderopen.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/functions.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/functions_func.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/hierarchy.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/index.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/jquery.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/menu.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/menudata.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/nav_f.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/nav_fd.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/nav_g.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/nav_h.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/nav_hd.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/open.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/pages.html
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/all_0.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/all_1.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/all_2.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/all_3.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/all_4.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/all_5.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/all_6.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/classes_0.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/close.svg
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/functions_0.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/functions_1.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/functions_2.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/functions_3.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/functions_4.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/functions_5.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/functions_6.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/mag.svg
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/mag_d.svg
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/mag_sel.svg
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/mag_seld.svg
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/pages_0.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/search.css
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/search.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/search/searchdata.js
+%%DOXYGEN%%%%DOCSDIR%%-doc/splitbar.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/splitbard.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/sync_off.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/sync_on.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/tab_a.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/tab_ad.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/tab_b.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/tab_bd.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/tab_h.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/tab_hd.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/tab_s.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/tab_sd.png
+%%DOXYGEN%%%%DOCSDIR%%-doc/tabs.css