[tinyorm] added initial port TinyORM v0.36.5 (#34640)

* [tinyorm] added initial port TinyORM v0.36.5

* [tinyorm] updated to v0.36.5

Updated version database for TinyORM v0.36.5.
This commit is contained in:
Silver Zachara 2023-11-05 18:16:23 +01:00 committed by GitHub
parent 8acbab7a13
commit a85d30769f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 158 additions and 0 deletions

View File

@ -0,0 +1,39 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO silverqx/TinyORM
REF v0.36.5
SHA512 ba3bf73972a6265663122e2c260354cf213dcdcf7bfd1f7a6a7eb43eb11e06fbed581b3f6ce28898eb60a85d0c9bfe45bfaa9596d92b62ca40702ede9856b183
HEAD_REF main
)
vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
PREFIX TINYORM
FEATURES
disable-thread-local DISABLE_THREAD_LOCAL
inline-constants INLINE_CONSTANTS
mysql-ping MYSQL_PING
orm ORM
strict-mode STRICT_MODE
tom TOM
tom-example TOM_EXAMPLE
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCMAKE_EXPORT_PACKAGE_REGISTRY:BOOL=OFF
-DBUILD_TESTS:BOOL=OFF
-DTINY_PORT:STRING=${PORT}
-DTINY_VCPKG:BOOL=ON
-DVERBOSE_CONFIGURE:BOOL=ON
${FEATURE_OPTIONS}
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
if(TINYORM_TOM_EXAMPLE)
vcpkg_copy_tools(TOOL_NAMES tom AUTO_CLEAN)
endif()

106
ports/tinyorm/vcpkg.json Normal file
View File

@ -0,0 +1,106 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "tinyorm",
"version-semver": "0.36.5",
"maintainers": "Silver Zachara <silver.zachara@gmail.com>",
"description": "Modern C++ ORM library for Qt framework",
"homepage": "https://github.com/silverqx/TinyORM",
"documentation": "https://www.tinyorm.org",
"license": "MIT",
"supports": "!(uwp | arm | android | emscripten | osx | ios | xbox | freebsd | openbsd | wasm32)",
"dependencies": [
{
"name": "qtbase",
"default-features": false,
"features": [
"sql"
]
},
"range-v3",
"tabulate",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"default-features": [
"orm",
"sql-sqlite",
"tom"
],
"features": {
"disable-thread-local": {
"description": "Remove all thread_local storage duration specifiers (disables multi-threading support)"
},
"inline-constants": {
"description": "Use inline constants instead of extern constants in shared builds"
},
"mysql-ping": {
"description": "Install MySQL C client library (libmysql) to support the mysql_ping()",
"dependencies": [
"libmysql"
]
},
"orm": {
"description": "Enable ORM-related source code (without it only the query builder is compiled)"
},
"sql-mysql": {
"description": "Build Qt SQL Driver for MySQL",
"dependencies": [
{
"name": "qtbase",
"default-features": false,
"features": [
"sql-mysql"
]
}
]
},
"sql-psql": {
"description": "Build Qt SQL Driver for PostgreSQL",
"dependencies": [
{
"name": "qtbase",
"default-features": false,
"features": [
"sql-psql"
]
}
]
},
"sql-sqlite": {
"description": "Build Qt SQL Driver for SQLite",
"dependencies": [
{
"name": "qtbase",
"default-features": false,
"features": [
"sql-sqlite"
]
}
]
},
"strict-mode": {
"description": "Propagate strict compiler/linker options and Qt definitions"
},
"tom": {
"description": "Enable Tom-related source code (command-line interface)"
},
"tom-example": {
"description": "Build Tom command-line application example",
"dependencies": [
{
"name": "tinyorm",
"default-features": false,
"features": [
"tom"
]
}
]
}
}
}

View File

@ -8420,6 +8420,10 @@
"baseline": "2.0.0-rc9",
"port-version": 0
},
"tinyorm": {
"baseline": "0.36.5",
"port-version": 0
},
"tinyply": {
"baseline": "2.3.4",
"port-version": 0

9
versions/t-/tinyorm.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "b21b31342cfe5d58cce629fab598e6f968e5118e",
"version-semver": "0.36.5",
"port-version": 0
}
]
}