summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile3
-rw-r--r--databases/qt6-psql/DESCR1
-rw-r--r--databases/qt6-psql/Makefile24
-rw-r--r--databases/qt6-psql/PLIST8
-rw-r--r--databases/qt6-psql/buildlink3.mk15
-rw-r--r--databases/qt6-psql/distinfo5
-rw-r--r--meta-pkgs/qt6/Makefile3
-rw-r--r--x11/qt6-qtbase/Makefile.common3
8 files changed, 59 insertions, 3 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 99aa38bbbca..f9b8f4b4505 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.669 2022/11/24 11:26:19 nros Exp $
+# $NetBSD: Makefile,v 1.670 2022/11/24 11:41:34 nros Exp $
COMMENT= Databases
@@ -422,6 +422,7 @@ SUBDIR+= qore-openldap-module
SUBDIR+= qore-pgsql-module
SUBDIR+= qore-sqlite3-module
SUBDIR+= qt6-odbc
+SUBDIR+= qt6-psql
SUBDIR+= quicklist
SUBDIR+= rdb
SUBDIR+= redis
diff --git a/databases/qt6-psql/DESCR b/databases/qt6-psql/DESCR
new file mode 100644
index 00000000000..bae2f1c449c
--- /dev/null
+++ b/databases/qt6-psql/DESCR
@@ -0,0 +1 @@
+Qt6 PostgreSQL driver
diff --git a/databases/qt6-psql/Makefile b/databases/qt6-psql/Makefile
new file mode 100644
index 00000000000..2c0cfb0cf38
--- /dev/null
+++ b/databases/qt6-psql/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2022/11/24 11:41:35 nros Exp $
+
+DISTNAME= qtbase-everywhere-src-${QTVERSION}
+PKGNAME= qt6-psql-${QTVERSION}
+COMMENT= Qt6 PostgreSQL driver
+CATEGORIES= databases
+
+LICENSE= gnu-lgpl-v3 OR gnu-gpl-v2 OR gnu-gpl-v3
+
+CONFIGURE_ARGS+= -sql-psql
+CONFIGURE_ARGS+= -no-sql-db2
+CONFIGURE_ARGS+= -no-sql-ibase
+CONFIGURE_ARGS+= -no-sql-mysql
+CONFIGURE_ARGS+= -no-sql-oci
+CONFIGURE_ARGS+= -no-sql-odbc
+CONFIGURE_ARGS+= -no-sql-sqlite
+
+QTCONFDIR= src/plugins/sqldrivers
+
+.include "../../x11/qt6-qtbase/Makefile.common"
+
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/qt6-psql/PLIST b/databases/qt6-psql/PLIST
new file mode 100644
index 00000000000..a449d25a3ad
--- /dev/null
+++ b/databases/qt6-psql/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2022/11/24 11:41:35 nros Exp $
+qt6/lib/cmake/Qt6Sql/Qt6QPSQLDriverPluginAdditionalTargetInfo.cmake
+qt6/lib/cmake/Qt6Sql/Qt6QPSQLDriverPluginConfig.cmake
+qt6/lib/cmake/Qt6Sql/Qt6QPSQLDriverPluginConfigVersion.cmake
+qt6/lib/cmake/Qt6Sql/Qt6QPSQLDriverPluginConfigVersionImpl.cmake
+qt6/lib/cmake/Qt6Sql/Qt6QPSQLDriverPluginTargets-release.cmake
+qt6/lib/cmake/Qt6Sql/Qt6QPSQLDriverPluginTargets.cmake
+qt6/plugins/sqldrivers/libqsqlpsql.so
diff --git a/databases/qt6-psql/buildlink3.mk b/databases/qt6-psql/buildlink3.mk
new file mode 100644
index 00000000000..9a0de663569
--- /dev/null
+++ b/databases/qt6-psql/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/11/24 11:41:35 nros Exp $
+
+BUILDLINK_TREE+= qt6-psql
+
+.if !defined(QT6_PSQL_BUILDLINK3_MK)
+QT6_PSQL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.qt6-psql+= qt6-psql>=6.4.1
+BUILDLINK_PKGSRCDIR.qt6-psql?= ../../databases/qt6-psql
+
+BUILDLINK_LIBDIRS.qt6-psql+= qt6/plugins/sqldrivers
+
+.endif # QT6_PSQL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -qt6-psql
diff --git a/databases/qt6-psql/distinfo b/databases/qt6-psql/distinfo
new file mode 100644
index 00000000000..3cb062189e8
--- /dev/null
+++ b/databases/qt6-psql/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/11/24 11:41:35 nros Exp $
+
+BLAKE2s (qtbase-everywhere-src-6.4.1.tar.xz) = edd9109f0862cc1ea719e84d0aa85c15a1e28f0ad55ba9881a374828ee8ee7b8
+SHA512 (qtbase-everywhere-src-6.4.1.tar.xz) = d5c85a8b05dd32912e213b1c51c928e6bde0ac64cdef1649419f02522604988add9d8e45baa770f53790b5477e6e43e4e66e69db7f2e0c1081a48cfa4052b4af
+Size (qtbase-everywhere-src-6.4.1.tar.xz) = 47988872 bytes
diff --git a/meta-pkgs/qt6/Makefile b/meta-pkgs/qt6/Makefile
index c9b2112cd39..3e89b544be3 100644
--- a/meta-pkgs/qt6/Makefile
+++ b/meta-pkgs/qt6/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/11/24 11:26:19 nros Exp $
+# $NetBSD: Makefile,v 1.3 2022/11/24 11:39:13 nros Exp $
DISTNAME= qt6-${QTVERSION}
@@ -11,6 +11,7 @@ META_PACKAGE= yes
.include "Makefile.common"
DEPENDS+= qt6-odbc-${QTVERSION}{,nb[0-9]*}:../../databases/qt6-odbc
+DEPENDS+= qt6-psql-${QTVERSION}{,nb[0-9]*}:../../databases/qt6-psql
DEPENDS+= qt6-qtbase-${QTVERSION}{,nb[0-9]*}:../../x11/qt6-qtbase
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/qt6-qtbase/Makefile.common b/x11/qt6-qtbase/Makefile.common
index 3408ff52395..2f306a725e1 100644
--- a/x11/qt6-qtbase/Makefile.common
+++ b/x11/qt6-qtbase/Makefile.common
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile.common,v 1.2 2022/11/24 11:26:19 nros Exp $
+# $NetBSD: Makefile.common,v 1.3 2022/11/24 11:39:13 nros Exp $
# used by databases/qt6-odbc/Makefile
+# used by databases/qt6-psql/Makefile
# used by x11/qt6-qtbase/Makefile
.include "../../meta-pkgs/qt6/Makefile.common"