mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:59:06 +08:00
[inja] Bump to 3.4.0 (#29246)
* [inja] bump to 3.4.0 * update version database
This commit is contained in:
parent
8de11ade8a
commit
83e9d20ff7
@ -1,28 +1,28 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO pantor/inja
|
||||
REF 2d515078c647457436556763aca8d4bf7d11d5e8 # v3.3.0
|
||||
SHA512 4e2f63297eede016772e4915cacfec57b49633f2a5fb80862bbd091d274f688ea1fbe958f97699e930fdee9f390ce0637513f4265190c171104d9eae9b12a59d
|
||||
REF b2276440be8334aeba9cd5d628c2731d0f6a5809 # v3.4.0
|
||||
SHA512 80f760668f72b9e0a54e1c74d169f98a99fdfffe6bacc56043681e48a4af21a2331a94ab5cb27b6e5a838d7d7fe5d8a806597bfb913f0f3aecb30755a23a4cf8
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
set(VCPKG_BUILD_TYPE release) # header-only port
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DINJA_USE_EMBEDDED_JSON=OFF
|
||||
-DBUILD_TESTING=OFF
|
||||
-DBUILD_BENCHMARK=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/inja)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/inja")
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
# Inja is a header-only library
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||
|
||||
# Don't need built-in nlohmann-json as this package depends on nlohmann-json
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/inja/json")
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,9 +1,18 @@
|
||||
{
|
||||
"name": "inja",
|
||||
"version": "3.3.0",
|
||||
"version": "3.4.0",
|
||||
"description": "Inja - A Template Engine for Modern C++",
|
||||
"homepage": "https://github.com/pantor/inja",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
"nlohmann-json"
|
||||
"nlohmann-json",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -3181,7 +3181,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"inja": {
|
||||
"baseline": "3.3.0",
|
||||
"baseline": "3.4.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"intel-ipsec": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "6908207d768ade2728258fb70dd5cb2938e04a9e",
|
||||
"version": "3.4.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "9435743a06369f745532f07b596e04481a4758a7",
|
||||
"version": "3.3.0",
|
||||
|
Loading…
Reference in New Issue
Block a user