git: 525197a62367 - main - x11/libfm-qt6: New port: Qt6 port of libfm

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

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

commit 525197a62367aaf4de0efd9f5152c8cf7dfacf27
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-06-13 00:03:32 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-06-13 00:03:32 +0000

    x11/libfm-qt6: New port: Qt6 port of libfm
    
    A Qt port of the libfm - a library providing components to build
    desktop file managers.
---
 x11/Makefile            |   1 +
 x11/libfm-qt6/Makefile  |  30 ++++++++++
 x11/libfm-qt6/distinfo  |   3 +
 x11/libfm-qt6/pkg-descr |   2 +
 x11/libfm-qt6/pkg-plist | 154 ++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 190 insertions(+)

diff --git a/x11/Makefile b/x11/Makefile
index 714d8019bfdd..6083da1be9a5 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -206,6 +206,7 @@
     SUBDIR += libfm
     SUBDIR += libfm-extra
     SUBDIR += libfm-qt
+    SUBDIR += libfm-qt6
     SUBDIR += libgnomekbd
     SUBDIR += libinput
     SUBDIR += libmatekbd
diff --git a/x11/libfm-qt6/Makefile b/x11/libfm-qt6/Makefile
new file mode 100644
index 000000000000..2d98f04e3c8e
--- /dev/null
+++ b/x11/libfm-qt6/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	libfm-qt6
+PORTVERSION=	2.0.2
+CATEGORIES=	x11
+MASTER_SITES=	LXQT/${PORTNAME:S/6//}
+
+MAINTAINER=	lxqt@FreeBSD.org
+COMMENT=	Qt6 port of libfm
+WWW=		https://github.com/lxqt/libfm-qt
+
+LICENSE=	LGPL21+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libmenu-cache.so:x11/menu-cache \
+		libexif.so:graphics/libexif
+BUILD_DEPENDS=	lxqt-menu-data>=2.0.0:x11/lxqt-menu-data
+RUN_DEPENDS=	lxqt-menu-data>=2.0.0:x11/lxqt-menu-data
+
+USES=		cmake compiler:c++17-lang gettext-runtime lxqt:2 perl5 pkgconfig \
+		qt:6 gnome shared-mime-info tar:xz xorg
+USE_PERL5=	build
+USE_QT=		base:run tools:build
+USE_GNOME=	glib20
+USE_XORG=	xcb
+USE_LDCONFIG=	yes
+USE_LXQT=	buildtools2
+
+post-install:
+	${RM} -Rf ${STAGEDIR}${PREFIX}/include/${PORTNAME}/tests/
+
+.include <bsd.port.mk>
diff --git a/x11/libfm-qt6/distinfo b/x11/libfm-qt6/distinfo
new file mode 100644
index 000000000000..38c71b9e9a74
--- /dev/null
+++ b/x11/libfm-qt6/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1715396165
+SHA256 (lxqt/libfm-qt-2.0.2.tar.xz) = 411ae1d7d549f34d10389953ded47fba030f128d716373c6af6d45a1bddc2755
+SIZE (lxqt/libfm-qt-2.0.2.tar.xz) = 412452
diff --git a/x11/libfm-qt6/pkg-descr b/x11/libfm-qt6/pkg-descr
new file mode 100644
index 000000000000..ba840382406c
--- /dev/null
+++ b/x11/libfm-qt6/pkg-descr
@@ -0,0 +1,2 @@
+A Qt port of the libfm - a library providing components to build
+desktop file managers.
diff --git a/x11/libfm-qt6/pkg-plist b/x11/libfm-qt6/pkg-plist
new file mode 100644
index 000000000000..372a33b7344d
--- /dev/null
+++ b/x11/libfm-qt6/pkg-plist
@@ -0,0 +1,154 @@
+include/libfm-qt6/appchoosercombobox.h
+include/libfm-qt6/appchooserdialog.h
+include/libfm-qt6/applaunchcontext.h
+include/libfm-qt6/appmenuview.h
+include/libfm-qt6/appmenuview_p.h
+include/libfm-qt6/bookmarkaction.h
+include/libfm-qt6/browsehistory.h
+include/libfm-qt6/cachedfoldermodel.h
+include/libfm-qt6/colorbutton.h
+include/libfm-qt6/core/archiver.h
+include/libfm-qt6/core/basicfilelauncher.h
+include/libfm-qt6/core/bookmarks.h
+include/libfm-qt6/core/cstrptr.h
+include/libfm-qt6/core/deletejob.h
+include/libfm-qt6/core/dirlistjob.h
+include/libfm-qt6/core/filechangeattrjob.h
+include/libfm-qt6/core/fileinfo.h
+include/libfm-qt6/core/fileinfo_p.h
+include/libfm-qt6/core/fileinfojob.h
+include/libfm-qt6/core/filelinkjob.h
+include/libfm-qt6/core/filemonitor.h
+include/libfm-qt6/core/fileoperationjob.h
+include/libfm-qt6/core/filepath.h
+include/libfm-qt6/core/filesysteminfojob.h
+include/libfm-qt6/core/filetransferjob.h
+include/libfm-qt6/core/folder.h
+include/libfm-qt6/core/folderconfig.h
+include/libfm-qt6/core/gioptrs.h
+include/libfm-qt6/core/gobjectptr.h
+include/libfm-qt6/core/iconinfo.h
+include/libfm-qt6/core/iconinfo_p.h
+include/libfm-qt6/core/job.h
+include/libfm-qt6/core/job_p.h
+include/libfm-qt6/core/legacy/fm-app-info.h
+include/libfm-qt6/core/legacy/fm-config.h
+include/libfm-qt6/core/legacy/glib-compat.h
+include/libfm-qt6/core/mimetype.h
+include/libfm-qt6/core/templates.h
+include/libfm-qt6/core/terminal.h
+include/libfm-qt6/core/thumbnailer.h
+include/libfm-qt6/core/thumbnailjob.h
+include/libfm-qt6/core/totalsizejob.h
+include/libfm-qt6/core/trashjob.h
+include/libfm-qt6/core/untrashjob.h
+include/libfm-qt6/core/userinfocache.h
+include/libfm-qt6/core/vfs/fm-file.h
+include/libfm-qt6/core/vfs/fm-xml-file.h
+include/libfm-qt6/core/volumemanager.h
+include/libfm-qt6/createnewmenu.h
+include/libfm-qt6/customaction_p.h
+include/libfm-qt6/customactions/fileaction.h
+include/libfm-qt6/customactions/fileactioncondition.h
+include/libfm-qt6/customactions/fileactionprofile.h
+include/libfm-qt6/dirtreemodel.h
+include/libfm-qt6/dirtreemodelitem.h
+include/libfm-qt6/dirtreeview.h
+include/libfm-qt6/dndactionmenu.h
+include/libfm-qt6/dnddest.h
+include/libfm-qt6/editbookmarksdialog.h
+include/libfm-qt6/execfiledialog_p.h
+include/libfm-qt6/filedialog.h
+include/libfm-qt6/filedialog_p.h
+include/libfm-qt6/filedialoghelper.h
+include/libfm-qt6/filelauncher.h
+include/libfm-qt6/filemenu.h
+include/libfm-qt6/filemenu_p.h
+include/libfm-qt6/fileoperation.h
+include/libfm-qt6/fileoperationdialog.h
+include/libfm-qt6/fileoperationdialog_p.h
+include/libfm-qt6/filepropsdialog.h
+include/libfm-qt6/filesearchdialog.h
+include/libfm-qt6/fm-qt6_export.h
+include/libfm-qt6/fm-search.h
+include/libfm-qt6/folderitemdelegate.h
+include/libfm-qt6/foldermenu.h
+include/libfm-qt6/foldermodel.h
+include/libfm-qt6/foldermodelitem.h
+include/libfm-qt6/folderview.h
+include/libfm-qt6/folderview_p.h
+include/libfm-qt6/fontbutton.h
+include/libfm-qt6/libfmqt.h
+include/libfm-qt6/libfmqtglobals.h
+include/libfm-qt6/mountoperation.h
+include/libfm-qt6/mountoperationpassworddialog_p.h
+include/libfm-qt6/mountoperationquestiondialog_p.h
+include/libfm-qt6/pathbar.h
+include/libfm-qt6/pathbar_p.h
+include/libfm-qt6/pathedit.h
+include/libfm-qt6/pathedit_p.h
+include/libfm-qt6/placesmodel.h
+include/libfm-qt6/placesmodelitem.h
+include/libfm-qt6/placesview.h
+include/libfm-qt6/proxyfoldermodel.h
+include/libfm-qt6/renamedialog.h
+include/libfm-qt6/sidepane.h
+include/libfm-qt6/utilities.h
+include/libfm-qt6/utilities_p.h
+include/libfm-qt6/xdndworkaround.h
+lib/libfm-qt6.so
+lib/libfm-qt6.so.14
+lib/libfm-qt6.so.14.0.0
+libdata/pkgconfig/libfm-qt6.pc
+share/cmake/fm-qt6/fm-qt6-config-version.cmake
+share/cmake/fm-qt6/fm-qt6-config.cmake
+share/cmake/fm-qt6/fm-qt6-targets-%%CMAKE_BUILD_TYPE%%.cmake
+share/cmake/fm-qt6/fm-qt6-targets.cmake
+%%DATADIR%%/archivers.list
+%%DATADIR%%/terminals.list
+%%DATADIR%%/translations/libfm-qt_ar.qm
+%%DATADIR%%/translations/libfm-qt_arn.qm
+%%DATADIR%%/translations/libfm-qt_ast.qm
+%%DATADIR%%/translations/libfm-qt_bg.qm
+%%DATADIR%%/translations/libfm-qt_ca.qm
+%%DATADIR%%/translations/libfm-qt_cs.qm
+%%DATADIR%%/translations/libfm-qt_cy.qm
+%%DATADIR%%/translations/libfm-qt_da.qm
+%%DATADIR%%/translations/libfm-qt_de.qm
+%%DATADIR%%/translations/libfm-qt_el.qm
+%%DATADIR%%/translations/libfm-qt_en_GB.qm
+%%DATADIR%%/translations/libfm-qt_es.qm
+%%DATADIR%%/translations/libfm-qt_et.qm
+%%DATADIR%%/translations/libfm-qt_eu.qm
+%%DATADIR%%/translations/libfm-qt_fi.qm
+%%DATADIR%%/translations/libfm-qt_fr.qm
+%%DATADIR%%/translations/libfm-qt_gl.qm
+%%DATADIR%%/translations/libfm-qt_he.qm
+%%DATADIR%%/translations/libfm-qt_hi.qm
+%%DATADIR%%/translations/libfm-qt_hr.qm
+%%DATADIR%%/translations/libfm-qt_hu.qm
+%%DATADIR%%/translations/libfm-qt_id.qm
+%%DATADIR%%/translations/libfm-qt_it.qm
+%%DATADIR%%/translations/libfm-qt_ja.qm
+%%DATADIR%%/translations/libfm-qt_kk.qm
+%%DATADIR%%/translations/libfm-qt_ko.qm
+%%DATADIR%%/translations/libfm-qt_lg.qm
+%%DATADIR%%/translations/libfm-qt_lt.qm
+%%DATADIR%%/translations/libfm-qt_lv.qm
+%%DATADIR%%/translations/libfm-qt_nb_NO.qm
+%%DATADIR%%/translations/libfm-qt_nl.qm
+%%DATADIR%%/translations/libfm-qt_or.qm
+%%DATADIR%%/translations/libfm-qt_pa.qm
+%%DATADIR%%/translations/libfm-qt_pl.qm
+%%DATADIR%%/translations/libfm-qt_pt.qm
+%%DATADIR%%/translations/libfm-qt_pt_BR.qm
+%%DATADIR%%/translations/libfm-qt_ru.qm
+%%DATADIR%%/translations/libfm-qt_si.qm
+%%DATADIR%%/translations/libfm-qt_sk.qm
+%%DATADIR%%/translations/libfm-qt_sl.qm
+%%DATADIR%%/translations/libfm-qt_tr.qm
+%%DATADIR%%/translations/libfm-qt_uk.qm
+%%DATADIR%%/translations/libfm-qt_zh_CN.qm
+%%DATADIR%%/translations/libfm-qt_zh_TW.qm
+share/mime/packages/libfm-qt6-mimetypes.xml
+@dir include/libfm-qt6/translations