Skip to content

Commit

Permalink
vcpkg: Bump tomlplusplus to v3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
julianxhokaxhiu committed Apr 2, 2023
1 parent 09790d5 commit 75e1ec6
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .vcpkg/ports/tomlplusplus/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO marzer/tomlplusplus
REF v3.3.0
SHA512 6ab2de83b7fc44de40e58a47c28a9507bf7c50fa9b08925b5a6d48958868a86e6790aff684d29ceb50ad18905e3832840719e1b7bfec3b8a0c00b15bb0f70f38
HEAD_REF master
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)

vcpkg_install_cmake()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/tomlplusplus)
vcpkg_fixup_pkgconfig()

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
18 changes: 18 additions & 0 deletions .vcpkg/ports/tomlplusplus/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "tomlplusplus",
"version": "3.3.0",
"description": "Header-only TOML config file parser and serializer for modern C++.",
"homepage": "https://marzer.github.io/tomlplusplus/",
"license": "MIT",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake-config",
"host": true
},
{
"name": "vcpkg-tool-meson",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions .vcpkg/versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
"steamworkssdk": {
"baseline": "1.23.0",
"port-version": 0
},
"tomlplusplus": {
"baseline": "3.3.0",
"port-version": 0
}
}
}
8 changes: 8 additions & 0 deletions .vcpkg/versions/t-/tomlplusplus.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"versions": [
{
"version": "3.3.0",
"path": "$/ports/tomlplusplus"
}
]
}
1 change: 1 addition & 0 deletions vcpkg-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"openpsf",
"soloud",
"stackwalker",
"tomlplusplus",
"vgmstream",
"steamworkssdk"
]
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
},
{
"name": "tomlplusplus",
"version": "3.1.0",
"version": "3.3.0",
"port-version": 0
},
{
Expand Down

0 comments on commit 75e1ec6

Please sign in to comment.