summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2022-05-11 00:19:30 +0000
committergutteridge <gutteridge@pkgsrc.org>2022-05-11 00:19:30 +0000
commit334b35f8094615ef37b55fe75e9859b3af7a6005 (patch)
tree5b11cbffe867ed80ddd1dd54e8108e01f268a2ca /x11
parent203f4eba31b0977cfab1c63e32bab83c94600c88 (diff)
downloadpkgsrc-334b35f8094615ef37b55fe75e9859b3af7a6005.tar.gz
qtxdg-tools: add version 3.9.1 (split out from libqtxdg)
User tools for libqtxdg. qtxdg-tools contains a CLI MIME tool, qtxdg-mat, for handling file associations and opening files with their default applications. It is maintained by the LXQt project and needed by LXQt Session, in order to be used by xdg-utils. Yet it can be used independently from LXQt, too.
Diffstat (limited to 'x11')
-rw-r--r--x11/qtxdg-tools/DESCR1
-rw-r--r--x11/qtxdg-tools/Makefile29
-rw-r--r--x11/qtxdg-tools/PLIST6
-rw-r--r--x11/qtxdg-tools/distinfo5
4 files changed, 41 insertions, 0 deletions
diff --git a/x11/qtxdg-tools/DESCR b/x11/qtxdg-tools/DESCR
new file mode 100644
index 00000000000..f547ca80eb4
--- /dev/null
+++ b/x11/qtxdg-tools/DESCR
@@ -0,0 +1 @@
+User tools for libqtxdg.
diff --git a/x11/qtxdg-tools/Makefile b/x11/qtxdg-tools/Makefile
new file mode 100644
index 00000000000..23eba9eb317
--- /dev/null
+++ b/x11/qtxdg-tools/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2022/05/11 00:19:30 gutteridge Exp $
+
+DISTNAME= qtxdg-tools-3.9.1
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GITHUB:=lxqt/}
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/lxqt/qtxdg-tools/
+COMMENT= User tools for LXQt components
+LICENSE= gnu-lgpl-v2.1
+
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+CONFIGURE_DIRS= build
+CMAKE_ARG_PATH= ..
+
+pre-configure:
+ ${MKDIR} -p ${WRKSRC}/build
+
+TOOL_DEPENDS+= lxqt-build-tools>=0.11.0:../../devel/lxqt-build-tools
+TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/libqtxdg/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/qtxdg-tools/PLIST b/x11/qtxdg-tools/PLIST
new file mode 100644
index 00000000000..2f07a082a7d
--- /dev/null
+++ b/x11/qtxdg-tools/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/11 00:19:30 gutteridge Exp $
+bin/qtxdg-mat
+share/cmake/qtxdg-tools/qtxdg-tools-config-version.cmake
+share/cmake/qtxdg-tools/qtxdg-tools-config.cmake
+share/cmake/qtxdg-tools/qtxdg-tools-targets-release.cmake
+share/cmake/qtxdg-tools/qtxdg-tools-targets.cmake
diff --git a/x11/qtxdg-tools/distinfo b/x11/qtxdg-tools/distinfo
new file mode 100644
index 00000000000..b39ba0e721a
--- /dev/null
+++ b/x11/qtxdg-tools/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/11 00:19:30 gutteridge Exp $
+
+BLAKE2s (qtxdg-tools-3.9.1.tar.xz) = cd0d399c6a3f91b9f190667a85b48aa4ce86c2e56b42a7c3b227a8c7a23e3f0b
+SHA512 (qtxdg-tools-3.9.1.tar.xz) = f5bea93ad927967edf13c07ee39a24297fbe06d03e450557afd519b26c3eeed6c9347747efbdc2e0c201a4d51f66cd80a5f2da143544149375d89f36baab5c3f
+Size (qtxdg-tools-3.9.1.tar.xz) = 16688 bytes