summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/Makefile3
-rw-r--r--x11/libfm-qt/DESCR2
-rw-r--r--x11/libfm-qt/Makefile43
-rw-r--r--x11/libfm-qt/PLIST139
-rw-r--r--x11/libfm-qt/buildlink3.mk17
-rw-r--r--x11/libfm-qt/distinfo6
6 files changed, 209 insertions, 1 deletions
diff --git a/x11/Makefile b/x11/Makefile
index fe07c57b36a..de04af777df 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.881 2020/02/20 05:54:02 gutteridge Exp $
+# $NetBSD: Makefile,v 1.882 2020/02/20 06:07:54 gutteridge Exp $
#
COMMENT= Packages to support the X window system
@@ -233,6 +233,7 @@ SUBDIR+= libXxf86vm
SUBDIR+= libdesktop-agnostic
SUBDIR+= libdrm
SUBDIR+= libfakekey
+SUBDIR+= libfm-qt
SUBDIR+= libgnomekbd
SUBDIR+= libgnomekbd2
SUBDIR+= libkactivities4
diff --git a/x11/libfm-qt/DESCR b/x11/libfm-qt/DESCR
new file mode 100644
index 00000000000..c9feaefb5dc
--- /dev/null
+++ b/x11/libfm-qt/DESCR
@@ -0,0 +1,2 @@
+libfm-qt is the Qt port of libfm, a library providing components to build
+desktop file managers which belongs to LXDE
diff --git a/x11/libfm-qt/Makefile b/x11/libfm-qt/Makefile
new file mode 100644
index 00000000000..c6a2fc34995
--- /dev/null
+++ b/x11/libfm-qt/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 2020/02/20 06:07:54 gutteridge Exp $
+
+DISTNAME= libfm-qt-0.14.1
+CATEGORIES= x11
+MASTER_SITES= https://downloads.lxqt.org/downloads/libfm-qt/0.14.1/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= voidpin@protonmail.com
+HOMEPAGE= https://lxqt.org/
+COMMENT= Core library of PCManFM-Qt
+LICENSE= gnu-lgpl-v2.1 AND modified-bsd
+
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+CONFIGURE_DIRS= build
+CMAKE_ARG_PATH= ..
+
+CMAKE_ARGS+= -DCMAKE_PREFIX_PATH:PATH=${PREFIX}/qt5
+
+PKG_SYSCONFSUBDIR= xdg
+
+SUBST_CLASSES+= prefix
+SUBST_MESSAGE.prefix= Fixing paths.
+SUBST_STAGE.prefix= pre-configure
+SUBST_FILES.prefix= src/core/fileinfo.cpp
+SUBST_FILES.prefix+= src/core/vfs/vfs-menu.c
+# Upstream has a typo in a hard-coded path of "xgd" where they mean "xdg"
+SUBST_SED.prefix= -e 's,/etc/xgd,${PKG_SYSCONFDIR},g'
+SUBST_SED.prefix+= -e 's,/usr/share,${PREFIX}/share,g'
+
+pre-configure:
+ ${MKDIR} -p ${WRKSRC}/build
+
+TOOL_DEPENDS+= lxqt-build-tools-[0-9]*:../../devel/lxqt-build-tools
+TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtx11extras/buildlink3.mk"
+.include "../../graphics/libexif/buildlink3.mk"
+.include "../../sysutils/menu-cache/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/libfm-qt/PLIST b/x11/libfm-qt/PLIST
new file mode 100644
index 00000000000..400fe882215
--- /dev/null
+++ b/x11/libfm-qt/PLIST
@@ -0,0 +1,139 @@
+@comment $NetBSD: PLIST,v 1.1 2020/02/20 06:07:54 gutteridge Exp $
+include/libfm-qt/appchoosercombobox.h
+include/libfm-qt/appchooserdialog.h
+include/libfm-qt/applaunchcontext.h
+include/libfm-qt/appmenuview.h
+include/libfm-qt/appmenuview_p.h
+include/libfm-qt/bookmarkaction.h
+include/libfm-qt/browsehistory.h
+include/libfm-qt/cachedfoldermodel.h
+include/libfm-qt/colorbutton.h
+include/libfm-qt/core/archiver.h
+include/libfm-qt/core/basicfilelauncher.h
+include/libfm-qt/core/bookmarks.h
+include/libfm-qt/core/cstrptr.h
+include/libfm-qt/core/deletejob.h
+include/libfm-qt/core/dirlistjob.h
+include/libfm-qt/core/filechangeattrjob.h
+include/libfm-qt/core/fileinfo.h
+include/libfm-qt/core/fileinfo_p.h
+include/libfm-qt/core/fileinfojob.h
+include/libfm-qt/core/filelinkjob.h
+include/libfm-qt/core/filemonitor.h
+include/libfm-qt/core/fileoperationjob.h
+include/libfm-qt/core/filepath.h
+include/libfm-qt/core/filesysteminfojob.h
+include/libfm-qt/core/filetransferjob.h
+include/libfm-qt/core/folder.h
+include/libfm-qt/core/folderconfig.h
+include/libfm-qt/core/gioptrs.h
+include/libfm-qt/core/gobjectptr.h
+include/libfm-qt/core/iconinfo.h
+include/libfm-qt/core/iconinfo_p.h
+include/libfm-qt/core/job.h
+include/libfm-qt/core/job_p.h
+include/libfm-qt/core/legacy/fm-app-info.h
+include/libfm-qt/core/legacy/fm-config.h
+include/libfm-qt/core/legacy/glib-compat.h
+include/libfm-qt/core/mimetype.h
+include/libfm-qt/core/templates.h
+include/libfm-qt/core/terminal.h
+include/libfm-qt/core/thumbnailer.h
+include/libfm-qt/core/thumbnailjob.h
+include/libfm-qt/core/totalsizejob.h
+include/libfm-qt/core/trashjob.h
+include/libfm-qt/core/untrashjob.h
+include/libfm-qt/core/userinfocache.h
+include/libfm-qt/core/vfs/fm-file.h
+include/libfm-qt/core/vfs/fm-xml-file.h
+include/libfm-qt/core/volumemanager.h
+include/libfm-qt/createnewmenu.h
+include/libfm-qt/customaction_p.h
+include/libfm-qt/customactions/fileaction.h
+include/libfm-qt/customactions/fileactioncondition.h
+include/libfm-qt/customactions/fileactionprofile.h
+include/libfm-qt/dirtreemodel.h
+include/libfm-qt/dirtreemodelitem.h
+include/libfm-qt/dirtreeview.h
+include/libfm-qt/dndactionmenu.h
+include/libfm-qt/dnddest.h
+include/libfm-qt/editbookmarksdialog.h
+include/libfm-qt/execfiledialog_p.h
+include/libfm-qt/filedialog.h
+include/libfm-qt/filedialoghelper.h
+include/libfm-qt/filelauncher.h
+include/libfm-qt/filemenu.h
+include/libfm-qt/filemenu_p.h
+include/libfm-qt/fileoperation.h
+include/libfm-qt/fileoperationdialog.h
+include/libfm-qt/fileoperationdialog_p.h
+include/libfm-qt/filepropsdialog.h
+include/libfm-qt/filesearchdialog.h
+include/libfm-qt/fm-qt_export.h
+include/libfm-qt/fm-search.h
+include/libfm-qt/folderitemdelegate.h
+include/libfm-qt/foldermenu.h
+include/libfm-qt/foldermodel.h
+include/libfm-qt/foldermodelitem.h
+include/libfm-qt/folderview.h
+include/libfm-qt/folderview_p.h
+include/libfm-qt/fontbutton.h
+include/libfm-qt/libfmqt.h
+include/libfm-qt/libfmqtglobals.h
+include/libfm-qt/mountoperation.h
+include/libfm-qt/mountoperationpassworddialog_p.h
+include/libfm-qt/mountoperationquestiondialog_p.h
+include/libfm-qt/pathbar.h
+include/libfm-qt/pathbar_p.h
+include/libfm-qt/pathedit.h
+include/libfm-qt/pathedit_p.h
+include/libfm-qt/placesmodel.h
+include/libfm-qt/placesmodelitem.h
+include/libfm-qt/placesview.h
+include/libfm-qt/proxyfoldermodel.h
+include/libfm-qt/renamedialog.h
+include/libfm-qt/sidepane.h
+include/libfm-qt/utilities.h
+include/libfm-qt/utilities_p.h
+include/libfm-qt/utils.h
+include/libfm-qt/xdndworkaround.h
+lib/libfm-qt.so
+lib/libfm-qt.so.6
+lib/libfm-qt.so.6.1.0
+lib/pkgconfig/libfm-qt.pc
+share/cmake/fm-qt/fm-qt-config-version.cmake
+share/cmake/fm-qt/fm-qt-config.cmake
+share/cmake/fm-qt/fm-qt-targets-release.cmake
+share/cmake/fm-qt/fm-qt-targets.cmake
+share/libfm-qt/archivers.list
+share/libfm-qt/terminals.list
+share/libfm-qt/translations/libfm-qt_ar.qm
+share/libfm-qt/translations/libfm-qt_ca.qm
+share/libfm-qt/translations/libfm-qt_cs.qm
+share/libfm-qt/translations/libfm-qt_cy.qm
+share/libfm-qt/translations/libfm-qt_da.qm
+share/libfm-qt/translations/libfm-qt_de.qm
+share/libfm-qt/translations/libfm-qt_el.qm
+share/libfm-qt/translations/libfm-qt_en_GB.qm
+share/libfm-qt/translations/libfm-qt_es.qm
+share/libfm-qt/translations/libfm-qt_fr.qm
+share/libfm-qt/translations/libfm-qt_gl.qm
+share/libfm-qt/translations/libfm-qt_he.qm
+share/libfm-qt/translations/libfm-qt_hu.qm
+share/libfm-qt/translations/libfm-qt_id.qm
+share/libfm-qt/translations/libfm-qt_it.qm
+share/libfm-qt/translations/libfm-qt_ja.qm
+share/libfm-qt/translations/libfm-qt_lt.qm
+share/libfm-qt/translations/libfm-qt_nb_NO.qm
+share/libfm-qt/translations/libfm-qt_nl.qm
+share/libfm-qt/translations/libfm-qt_pl.qm
+share/libfm-qt/translations/libfm-qt_pt.qm
+share/libfm-qt/translations/libfm-qt_pt_BR.qm
+share/libfm-qt/translations/libfm-qt_ru.qm
+share/libfm-qt/translations/libfm-qt_tr.qm
+share/libfm-qt/translations/libfm-qt_uk.qm
+share/libfm-qt/translations/libfm-qt_zh_CN.qm
+share/libfm-qt/translations/libfm-qt_zh_TW.qm
+share/mime/packages/libfm-qt-mimetypes.xml
+@pkgdir include/libfm-qt/translations
+@pkgdir include/libfm-qt/tests
diff --git a/x11/libfm-qt/buildlink3.mk b/x11/libfm-qt/buildlink3.mk
new file mode 100644
index 00000000000..60f14306283
--- /dev/null
+++ b/x11/libfm-qt/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/02/20 06:07:54 gutteridge Exp $
+
+BUILDLINK_TREE+= libfm-qt
+
+.if !defined(LIBFM_QT_BUILDLINK3_MK)
+LIBFM_QT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libfm-qt+= libfm-qt>=0.14.1
+BUILDLINK_PKGSRCDIR.libfm-qt?= ../../x11/libfm-qt
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtx11extras/buildlink3.mk"
+.include "../../graphics/libexif/buildlink3.mk"
+.include "../../sysutils/menu-cache/buildlink3.mk"
+.endif # LIBFM_QT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libfm-qt
diff --git a/x11/libfm-qt/distinfo b/x11/libfm-qt/distinfo
new file mode 100644
index 00000000000..bfde5181b0f
--- /dev/null
+++ b/x11/libfm-qt/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/02/20 06:07:54 gutteridge Exp $
+
+SHA1 (libfm-qt-0.14.1.tar.xz) = 7aa6f6d3642dab532c7222a3d3a4c05699498689
+RMD160 (libfm-qt-0.14.1.tar.xz) = 51ecb0f285bbb9a20727e5a3ff7a96c53a52b472
+SHA512 (libfm-qt-0.14.1.tar.xz) = a265f6831a077ccb78a994828e6c69a22f2f6432b1f6ed6f404af41f013112870f7aee98067f2c466bec6cdfea040c10c7ce7e0f0ed977e5d266ec38e543d2a7
+Size (libfm-qt-0.14.1.tar.xz) = 328192 bytes