aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2023-08-13 11:40:36 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2023-08-13 11:55:27 +0000
commitd1189adecde9848afc9adad2938068e172a10414 (patch)
tree8fab13fa8721c57979a8e1bf3ee279e324c070e3
parent60d77ba1ab80acaca50793ad3ff89cee68197f79 (diff)
downloadports-d1189adecde9848afc9adad2938068e172a10414.tar.gz
ports-d1189adecde9848afc9adad2938068e172a10414.zip
databases/futuresql: new port -- A non-blocking database framework for Qt.
FutureSQL was in part inspired by Diesel, and provides a higher level of abstraction than QtSql. Its features include non-blocking database access by default, relatively boilderplate-free queries, automatic database migrations and simple mapping to objects. In order to make FutureSQL's use of templates less confusing, FutureSQL uses C++20 concepts, and requires a C++20 compiler. Warning: The API is not finalized yet.
-rw-r--r--databases/Makefile1
-rw-r--r--databases/futuresql/Makefile15
-rw-r--r--databases/futuresql/distinfo3
-rw-r--r--databases/futuresql/pkg-descr11
-rw-r--r--databases/futuresql/pkg-plist10
5 files changed, 40 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 9e305315ad34..177b7a4298df 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -82,6 +82,7 @@
SUBDIR += freetds
SUBDIR += freetds-devel
SUBDIR += frontbase-jdbc
+ SUBDIR += futuresql
SUBDIR += galera
SUBDIR += galera26
SUBDIR += gdbm
diff --git a/databases/futuresql/Makefile b/databases/futuresql/Makefile
new file mode 100644
index 000000000000..9c8a5a34a355
--- /dev/null
+++ b/databases/futuresql/Makefile
@@ -0,0 +1,15 @@
+PORTNAME= futuresql
+DISTVERSION= 0.1.1
+CATEGORIES= databases kde
+MASTER_SITES= KDE/stable/${PORTNAME}/
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Non-blocking database framework for Qt
+WWW= https://api.kde.org/futuresql/html/index.html
+
+USES= cmake kde:5 qt:5 tar:xz
+
+USE_KDE= ecm
+USE_QT= core sql buildtools:build qmake:build
+
+.include <bsd.port.mk>
diff --git a/databases/futuresql/distinfo b/databases/futuresql/distinfo
new file mode 100644
index 000000000000..165daff49a86
--- /dev/null
+++ b/databases/futuresql/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1691920947
+SHA256 (futuresql-0.1.1.tar.xz) = e44ed8d5a9618b3ca7ba2983ed9c5f7572e6e0a5b199f94868834b71ccbebd43
+SIZE (futuresql-0.1.1.tar.xz) = 27844
diff --git a/databases/futuresql/pkg-descr b/databases/futuresql/pkg-descr
new file mode 100644
index 000000000000..7fc9963c771a
--- /dev/null
+++ b/databases/futuresql/pkg-descr
@@ -0,0 +1,11 @@
+A non-blocking database framework for Qt.
+
+FutureSQL was in part inspired by Diesel, and provides a higher level of
+abstraction than QtSql. Its features include non-blocking database access by
+default, relatively boilderplate-free queries, automatic database migrations
+and simple mapping to objects.
+
+In order to make FutureSQL's use of templates less confusing, FutureSQL uses
+C++20 concepts, and requires a C++20 compiler.
+
+Warning: The API is not finalized yet.
diff --git a/databases/futuresql/pkg-plist b/databases/futuresql/pkg-plist
new file mode 100644
index 000000000000..6457ddacee70
--- /dev/null
+++ b/databases/futuresql/pkg-plist
@@ -0,0 +1,10 @@
+include/FutureSQL5/ThreadedDatabase
+include/FutureSQL5/futuresql_export.h
+include/FutureSQL5/threadeddatabase.h
+include/FutureSQL5/threadeddatabase_p.h
+lib/cmake/FutureSQL5/FutureSQL5Config.cmake
+lib/cmake/FutureSQL5/FutureSQL5ConfigVersion.cmake
+lib/cmake/FutureSQL5/FutureSQLTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/FutureSQL5/FutureSQLTargets.cmake
+lib/libfuturesql5.so
+lib/libfuturesql5.so.0