pkgsrc-WIP-changes archive

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

add qt6-odbc to pkgsrc-wip



Module Name:	pkgsrc-wip
Committed By:	Niclas Rosenvik <nros%NetBSD.org@localhost>
Pushed By:	nros
Date:		Mon Feb 8 16:50:56 2021 +0000
Changeset:	10e037ac6dc2a54b0da62b5204e7b6663683fa4a

Modified Files:
	Makefile
	qt6-qtbase/Makefile.common
Added Files:
	qt6-odbc/DESCR
	qt6-odbc/Makefile
	qt6-odbc/PLIST
	qt6-odbc/buildlink3.mk
	qt6-odbc/distinfo

Log Message:
add qt6-odbc to pkgsrc-wip

Qt6 odbc SQL driver

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

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

diffstat:
 Makefile                   |  1 +
 qt6-odbc/DESCR             |  1 +
 qt6-odbc/Makefile          | 22 ++++++++++++++++++++++
 qt6-odbc/PLIST             |  7 +++++++
 qt6-odbc/buildlink3.mk     | 15 +++++++++++++++
 qt6-odbc/distinfo          |  6 ++++++
 qt6-qtbase/Makefile.common |  1 +
 7 files changed, 53 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 8ac0138961..3a50ea99ec 100644
--- a/Makefile
+++ b/Makefile
@@ -4755,6 +4755,7 @@ SUBDIR+=	qt5-qjson
 SUBDIR+=	qt5-qtbase-git
 SUBDIR+=	qt5-qtwebengine
 SUBDIR+=	qt6
+SUBDIR+=	qt6-odbc
 SUBDIR+=	qt6-psql
 SUBDIR+=	qt6-qt3d
 SUBDIR+=	qt6-qt5compat
diff --git a/qt6-odbc/DESCR b/qt6-odbc/DESCR
new file mode 100644
index 0000000000..158f8dee85
--- /dev/null
+++ b/qt6-odbc/DESCR
@@ -0,0 +1 @@
+Qt6 odbc SQL driver
diff --git a/qt6-odbc/Makefile b/qt6-odbc/Makefile
new file mode 100644
index 0000000000..e6f1b40955
--- /dev/null
+++ b/qt6-odbc/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	qtbase-everywhere-src-${QTVERSION}
+PKGNAME=	qt6-odbc-${QTVERSION}
+COMMENT=	Qt6 odbc SQL driver
+CATEGORIES=	databases
+
+CONFIGURE_ARGS+=	-sql-odbc
+CONFIGURE_ARGS+=	-no-sql-db2
+CONFIGURE_ARGS+=	-no-sql-ibase
+CONFIGURE_ARGS+=	-no-sql-mysql
+CONFIGURE_ARGS+=	-no-sql-oci
+CONFIGURE_ARGS+=	-no-sql-psql
+CONFIGURE_ARGS+=	-no-sql-sqlite
+
+QTCONFDIR=		src/plugins/sqldrivers
+
+.include "../../wip/qt6-qtbase/Makefile.common"
+
+.include "../../databases/unixodbc/buildlink3.mk"
+.include "../../wip/qt6-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/qt6-odbc/PLIST b/qt6-odbc/PLIST
new file mode 100644
index 0000000000..ac5b858342
--- /dev/null
+++ b/qt6-odbc/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+qt6/lib/cmake/Qt6Sql/Qt6QODBCDriverPluginAdditionalTargetInfo.cmake
+qt6/lib/cmake/Qt6Sql/Qt6QODBCDriverPluginConfig.cmake
+qt6/lib/cmake/Qt6Sql/Qt6QODBCDriverPluginConfigVersion.cmake
+qt6/lib/cmake/Qt6Sql/Qt6QODBCDriverPluginTargets-release.cmake
+qt6/lib/cmake/Qt6Sql/Qt6QODBCDriverPluginTargets.cmake
+qt6/plugins/sqldrivers/libqsqlodbc.so
diff --git a/qt6-odbc/buildlink3.mk b/qt6-odbc/buildlink3.mk
new file mode 100644
index 0000000000..2c1277369d
--- /dev/null
+++ b/qt6-odbc/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	qt6-odbc
+
+.if !defined(QT6_ODBC_BUILDLINK3_MK)
+QT6_ODBC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.qt6-odbc+=	qt6-odbc>=6.0.1
+BUILDLINK_PKGSRCDIR.qt6-odbc?=		../../wip/qt6-odbc
+
+BUILDLINK_LIBDIRS.qt6-odbc+=		qt6/plugins/sqldrivers
+
+.endif	# QT6_ODBC_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-qt6-odbc
diff --git a/qt6-odbc/distinfo b/qt6-odbc/distinfo
new file mode 100644
index 0000000000..b4a34b7bf3
--- /dev/null
+++ b/qt6-odbc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (qtbase-everywhere-src-6.0.1.tar.xz) = 1cd91a1696b8e4b59483a271aa7f9fde22a95ecb
+RMD160 (qtbase-everywhere-src-6.0.1.tar.xz) = 2b3a5bc8834c3330ac4194eaaaedb327faeb9c3d
+SHA512 (qtbase-everywhere-src-6.0.1.tar.xz) = 69a24162239f19e8eb889d51662c6cea3869ad7e53a889fe16c35083840fde8c90053b0f943129c82066364eea0ec94eb86d91d3293ef874e100476dad10a998
+Size (qtbase-everywhere-src-6.0.1.tar.xz) = 46262020 bytes
diff --git a/qt6-qtbase/Makefile.common b/qt6-qtbase/Makefile.common
index ddfea2ddaa..82a4d5afc1 100644
--- a/qt6-qtbase/Makefile.common
+++ b/qt6-qtbase/Makefile.common
@@ -1,4 +1,5 @@
 # $NetBSD$
+# used by wip/qt6-odbc/Makefile
 # used by wip/qt6-psql/Makefile
 # used by wip/qt6-qtbase/Makefile
 # used by wip/qt6-qtdeclarative/Makefile


Home | Main Index | Thread Index | Old Index