git: fe629e0d7c4b - main - databases/qt6-base_sqldriver: add sql drivers as split packages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 May 2023 05:37:59 UTC
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe629e0d7c4b442064675fb96325afcbd2336521 commit fe629e0d7c4b442064675fb96325afcbd2336521 Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2023-04-29 05:42:50 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2023-05-19 05:36:45 +0000 databases/qt6-base_sqldriver: add sql drivers as split packages --- databases/Makefile | 1 + databases/qt6-base_sqldriver/Makefile | 34 +++++++++++++++++++++++++++ databases/qt6-base_sqldriver/distinfo | 3 +++ databases/qt6-base_sqldriver/pkg-descr | 1 + databases/qt6-base_sqldriver/pkg-plist.mysql | 7 ++++++ databases/qt6-base_sqldriver/pkg-plist.odbc | 7 ++++++ databases/qt6-base_sqldriver/pkg-plist.psql | 7 ++++++ databases/qt6-base_sqldriver/pkg-plist.sqlite | 7 ++++++ 8 files changed, 67 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index fe04fe767f23..3582d6feb5c3 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -858,6 +858,7 @@ SUBDIR += qt5-sqldrivers-sqlite2 SUBDIR += qt5-sqldrivers-sqlite3 SUBDIR += qt5-sqldrivers-tds + SUBDIR += qt6-base_sqldriver SUBDIR += quake SUBDIR += recutils SUBDIR += redis diff --git a/databases/qt6-base_sqldriver/Makefile b/databases/qt6-base_sqldriver/Makefile new file mode 100644 index 000000000000..29e779b35249 --- /dev/null +++ b/databases/qt6-base_sqldriver/Makefile @@ -0,0 +1,34 @@ +# This should be sub-packages... + +PORTNAME= base +DISTVERSION= ${QT6_VERSION} +CATEGORIES= databases +PKGNAMEPREFIX= qt6- +PKGNAMESUFFIX= _sqldriver-${FLAVOR} + +MAINTAINER= kde@FreeBSD.org +COMMENT= Qt base (${FLAVOR} sqldriver) +WWW= https://www.qt.io/ + +FLAVORS= sqlite mysql odbc psql +FLAVOR?= sqlite + +WRKSRC_SUBDIR= src/plugins/sqldrivers + +USES= cmake pkgconfig qt-dist:6 \ + ${${FLAVOR}_USES} +USE_QT= base + +CMAKE_ARGS= -DCMAKE_PROJECT_NAME=Qt6${FLAVOR} +CMAKE_ON= FEATURE_sql_${FLAVOR} ${${FLAVOR}_CMAKE_ON} +CMAKE_OFF= ${FLAVORS:N${FLAVOR}:S/^/FEATURE_sql_/} \ + FEATURE_sql_ibase + +mysql_USES= mysql +odbc_LIB_DEPENDS= libodbc.so:databases/unixODBC +psql_USES= pgsql +sqlite_USES= sqlite:3 +sqlite_CMAKE_ON= QT_FEATURE_system_sqlite +${FLAVOR}_PLIST= ${.CURDIR}/pkg-plist.${FLAVOR} + +.include <bsd.port.mk> diff --git a/databases/qt6-base_sqldriver/distinfo b/databases/qt6-base_sqldriver/distinfo new file mode 100644 index 000000000000..91be090dd305 --- /dev/null +++ b/databases/qt6-base_sqldriver/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1682744352 +SHA256 (KDE/Qt/6.4.2/qtbase-everywhere-src-6.4.2.tar.xz) = a88bc6cedbb34878a49a622baa79cace78cfbad4f95fdbd3656ddb21c705525d +SIZE (KDE/Qt/6.4.2/qtbase-everywhere-src-6.4.2.tar.xz) = 47987188 diff --git a/databases/qt6-base_sqldriver/pkg-descr b/databases/qt6-base_sqldriver/pkg-descr new file mode 100644 index 000000000000..918d9e303a76 --- /dev/null +++ b/databases/qt6-base_sqldriver/pkg-descr @@ -0,0 +1 @@ +Qt Base diff --git a/databases/qt6-base_sqldriver/pkg-plist.mysql b/databases/qt6-base_sqldriver/pkg-plist.mysql new file mode 100644 index 000000000000..f449aceab5ec --- /dev/null +++ b/databases/qt6-base_sqldriver/pkg-plist.mysql @@ -0,0 +1,7 @@ +lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginAdditionalTargetInfo.cmake +lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfig.cmake +lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfigVersion.cmake +lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfigVersionImpl.cmake +lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginTargets.cmake +%%QT_PLUGINDIR%%/sqldrivers/libqsqlmysql.so diff --git a/databases/qt6-base_sqldriver/pkg-plist.odbc b/databases/qt6-base_sqldriver/pkg-plist.odbc new file mode 100644 index 000000000000..2878ad96a1fb --- /dev/null +++ b/databases/qt6-base_sqldriver/pkg-plist.odbc @@ -0,0 +1,7 @@ +lib/cmake/Qt6Sql/Qt6QODBCDriverPluginAdditionalTargetInfo.cmake +lib/cmake/Qt6Sql/Qt6QODBCDriverPluginConfig.cmake +lib/cmake/Qt6Sql/Qt6QODBCDriverPluginConfigVersion.cmake +lib/cmake/Qt6Sql/Qt6QODBCDriverPluginConfigVersionImpl.cmake +lib/cmake/Qt6Sql/Qt6QODBCDriverPluginTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Qt6Sql/Qt6QODBCDriverPluginTargets.cmake +%%QT_PLUGINDIR%%/sqldrivers/libqsqlodbc.so diff --git a/databases/qt6-base_sqldriver/pkg-plist.psql b/databases/qt6-base_sqldriver/pkg-plist.psql new file mode 100644 index 000000000000..563e02ea5883 --- /dev/null +++ b/databases/qt6-base_sqldriver/pkg-plist.psql @@ -0,0 +1,7 @@ +lib/cmake/Qt6Sql/Qt6QPSQLDriverPluginAdditionalTargetInfo.cmake +lib/cmake/Qt6Sql/Qt6QPSQLDriverPluginConfig.cmake +lib/cmake/Qt6Sql/Qt6QPSQLDriverPluginConfigVersion.cmake +lib/cmake/Qt6Sql/Qt6QPSQLDriverPluginConfigVersionImpl.cmake +lib/cmake/Qt6Sql/Qt6QPSQLDriverPluginTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Qt6Sql/Qt6QPSQLDriverPluginTargets.cmake +%%QT_PLUGINDIR%%/sqldrivers/libqsqlpsql.so diff --git a/databases/qt6-base_sqldriver/pkg-plist.sqlite b/databases/qt6-base_sqldriver/pkg-plist.sqlite new file mode 100644 index 000000000000..f7250cec0756 --- /dev/null +++ b/databases/qt6-base_sqldriver/pkg-plist.sqlite @@ -0,0 +1,7 @@ +lib/cmake/Qt6Sql/Qt6QSQLiteDriverPluginAdditionalTargetInfo.cmake +lib/cmake/Qt6Sql/Qt6QSQLiteDriverPluginConfig.cmake +lib/cmake/Qt6Sql/Qt6QSQLiteDriverPluginConfigVersion.cmake +lib/cmake/Qt6Sql/Qt6QSQLiteDriverPluginConfigVersionImpl.cmake +lib/cmake/Qt6Sql/Qt6QSQLiteDriverPluginTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Qt6Sql/Qt6QSQLiteDriverPluginTargets.cmake +%%QT_PLUGINDIR%%/sqldrivers/libqsqlite.so