pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/qt5-qjson: Import as qjson-0.9.0



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Mon Jun 10 12:27:22 2019 +0000
Changeset:	75931c45d59b1db7f00665d02cdbf08a89c318db

Modified Files:
	Makefile
Added Files:
	qt5-qjson/DESCR
	qt5-qjson/Makefile
	qt5-qjson/PLIST
	qt5-qjson/buildlink3.mk
	qt5-qjson/distinfo
	qt5-qjson/files/qjson-config-version.cmake.in
	qt5-qjson/files/qjson-config.cmake.in

Log Message:
wip/qt5-qjson: Import as qjson-0.9.0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=75931c45d59b1db7f00665d02cdbf08a89c318db

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                      |  1 +
 qt5-qjson/DESCR                               |  7 +++++++
 qt5-qjson/Makefile                            | 24 ++++++++++++++++++++++++
 qt5-qjson/PLIST                               | 15 +++++++++++++++
 qt5-qjson/buildlink3.mk                       | 13 +++++++++++++
 qt5-qjson/distinfo                            |  6 ++++++
 qt5-qjson/files/qjson-config-version.cmake.in |  9 +++++++++
 qt5-qjson/files/qjson-config.cmake.in         |  3 +++
 8 files changed, 78 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 376ddbe6ba..ea3bb4d110 100644
--- a/Makefile
+++ b/Makefile
@@ -4225,6 +4225,7 @@ SUBDIR+=	qstat214
 SUBDIR+=	qt4-gstreamer
 SUBDIR+=	qt4-libqtlua
 SUBDIR+=	qt5-libqtlua
+SUBDIR+=	qt5-qjson
 SUBDIR+=	qt5-qscintilla
 SUBDIR+=	qt5-qtbase-git
 SUBDIR+=	qt5-qtwebengine
diff --git a/qt5-qjson/DESCR b/qt5-qjson/DESCR
new file mode 100644
index 0000000000..ba4128795b
--- /dev/null
+++ b/qt5-qjson/DESCR
@@ -0,0 +1,7 @@
+JSON (JavaScript Object Notation) is a lightweight data-interchange format.
+It can represents integer, real number, string, an ordered sequence of
+value, and a collection of name/value pairs.
+
+QJson is a qt-based library that maps JSON data to QVariant objects: JSON
+arrays will be mapped to QVariantList instances, while JSON objects will
+be mapped to QVariantMap.
diff --git a/qt5-qjson/Makefile b/qt5-qjson/Makefile
new file mode 100644
index 0000000000..7f31d2170b
--- /dev/null
+++ b/qt5-qjson/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.19 2018/03/12 11:16:20 wiz Exp $
+
+DISTNAME=	qjson-0.9.0
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=flavio/}
+GITHUB_PROJECT=	qjson
+
+MAINTAINER=	markd%NetBSD.org@localhost
+HOMEPAGE=	http://qjson.sourceforge.net/
+COMMENT=	Qt5 library for handling JSON data
+LICENSE=	gnu-lgpl-v2
+
+USE_LANGUAGES=	c c++
+USE_CMAKE=	yes
+
+PKGCONFIG_OVERRIDE+=	QJson.pc.in
+
+pre-configure:
+	${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
+	cp ${FILESDIR}/*.* ${WRKSRC}/
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qttools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/qt5-qjson/PLIST b/qt5-qjson/PLIST
new file mode 100644
index 0000000000..a8829f5c6d
--- /dev/null
+++ b/qt5-qjson/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD$
+include/qjson-qt5/parser.h
+include/qjson-qt5/parserrunnable.h
+include/qjson-qt5/qjson_export.h
+include/qjson-qt5/qobjecthelper.h
+include/qjson-qt5/serializer.h
+include/qjson-qt5/serializerrunnable.h
+lib/cmake/qjson-qt5/QJSON-qt5Config.cmake
+lib/cmake/qjson-qt5/QJSON-qt5ConfigVersion.cmake
+lib/cmake/qjson-qt5/QJSON-qt5Targets-noconfig.cmake
+lib/cmake/qjson-qt5/QJSON-qt5Targets.cmake
+lib/libqjson-qt5.so
+lib/libqjson-qt5.so.0
+lib/libqjson-qt5.so.${PKGVERSION}
+lib/pkgconfig/QJson-qt5.pc
diff --git a/qt5-qjson/buildlink3.mk b/qt5-qjson/buildlink3.mk
new file mode 100644
index 0000000000..09046e090f
--- /dev/null
+++ b/qt5-qjson/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/03/20 10:12:24 markd Exp $
+
+BUILDLINK_TREE+=	qjson
+
+.if !defined(QJSON_BUILDLINK3_MK)
+QJSON_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.qjson+=	qjson>=0.7.1
+BUILDLINK_PKGSRCDIR.qjson?=	../../devel/qjson
+
+.endif	# QJSON_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-qjson
diff --git a/qt5-qjson/distinfo b/qt5-qjson/distinfo
new file mode 100644
index 0000000000..8d7edcf446
--- /dev/null
+++ b/qt5-qjson/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.4 2015/11/03 03:29:18 agc Exp $
+
+SHA1 (qjson-0.9.0.tar.gz) = 1b77f393a7bcf2c245498a85b9daaa550a2b9366
+RMD160 (qjson-0.9.0.tar.gz) = 9643205f616667b17e391c5300b9e6edc3a51a1e
+SHA512 (qjson-0.9.0.tar.gz) = ff0674f32abc6c88f9c535a58931f60baafa355655b043009a2574dadb822f10ec25017b78f2911f897a554a34733d7332c94cf4290dec16a631e22070c15e61
+Size (qjson-0.9.0.tar.gz) = 98300 bytes
diff --git a/qt5-qjson/files/qjson-config-version.cmake.in b/qt5-qjson/files/qjson-config-version.cmake.in
new file mode 100644
index 0000000000..d44459f4b3
--- /dev/null
+++ b/qt5-qjson/files/qjson-config-version.cmake.in
@@ -0,0 +1,9 @@
+SET(PACKAGE_VERSION "@QJSON_LIB_VERSION_STRING@")
+IF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
+  SET(PACKAGE_VERSION_EXACT "true")
+ENDIF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
+IF (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
+  SET(PACKAGE_VERSION_COMPATIBLE "true")
+ELSE (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
+  SET(PACKAGE_VERSION_UNSUITABLE "true")
+ENDIF (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
diff --git a/qt5-qjson/files/qjson-config.cmake.in b/qt5-qjson/files/qjson-config.cmake.in
new file mode 100644
index 0000000000..4b77dc782e
--- /dev/null
+++ b/qt5-qjson/files/qjson-config.cmake.in
@@ -0,0 +1,3 @@
+SET(@CMAKE_PROJECT_NAME@_LIBRARIES "@LIB_INSTALL_DIR@/@LIB_OUT_NAME@" CACHE FILEPATH "Libraries for @CMAKE_PROJECT_NAME@")
+SET(@CMAKE_PROJECT_NAME@_INCLUDE_DIR "@INCLUDE_INSTALL_DIR@" CACHE PATH "Include path for @CMAKE_PROJECT_NAME@")
+SET(@CMAKE_PROJECT_NAME@_FOUND "TRUE")


Home | Main Index | Thread Index | Old Index