Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ports/libtcod/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libtcod/libtcod
REF 1.24.0
SHA512 21aae343297ea4aefb89f3bc8fd06c7059e4f59dc34c26ef294f4211873f29bf26b5c600746db8af7eda9e9f5ab270bfd862ab34ae3c409051dcad6bb219df8a
REF ${VERSION}
SHA512 252e939fc632d648dc0048a61d5488b9e301d6829f2576b28c9eeee35c501a9271ff3c5c4127397aeafc029139f7d9286e8ac8291c6247f6336ee83adf6600d4
HEAD_REF main
)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
INVERTED_FEATURES
"png" CMAKE_DISABLE_FIND_PACKAGE_lodepng-c
"sdl" CMAKE_DISABLE_FIND_PACKAGE_SDL2
"sdl" CMAKE_DISABLE_FIND_PACKAGE_SDL3
"threads" CMAKE_DISABLE_FIND_PACKAGE_Threads
"unicode" CMAKE_DISABLE_FIND_PACKAGE_utf8proc
"unicode" CMAKE_DISABLE_FIND_PACKAGE_unofficial-utf8proc
Expand All @@ -21,7 +21,7 @@ vcpkg_cmake_configure(
OPTIONS
${FEATURE_OPTIONS}
-DCMAKE_INSTALL_INCLUDEDIR=${CURRENT_PACKAGES_DIR}/include
-DLIBTCOD_SDL2=find_package
-DLIBTCOD_SDL3=find_package
-DLIBTCOD_ZLIB=find_package
-DLIBTCOD_LODEPNG=find_package
-DLIBTCOD_UTF8PROC=vcpkg
Expand Down
6 changes: 3 additions & 3 deletions ports/libtcod/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "libtcod",
"version": "1.24.0",
"version-semver": "2.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I do anything extra with the upstream vcpkg.json file? My tagging script automatically sets the version there.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is just for possible further team review since the version schema changed.

"maintainers": "Kyle Benesch <4b796c65+github@gmail.com>",
"description": "Common algorithms and tools for roguelikes.",
"homepage": "https://github.com/libtcod/libtcod",
Expand Down Expand Up @@ -31,9 +31,9 @@
]
},
"sdl": {
"description": "Support for SDL2 windows and events with the libtcod context.",
"description": "Support for SDL windows and events with the libtcod context.",
"dependencies": [
"sdl2"
"sdl3"
]
},
"threads": {
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5277,7 +5277,7 @@
"port-version": 1
},
"libtcod": {
"baseline": "1.24.0",
"baseline": "2.0.0",
"port-version": 0
},
"libtess2": {
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libtcod.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "85c28d28469962d3d266a29568ed79e1456cc845",
"version-semver": "2.0.0",
"port-version": 0
},
{
"git-tree": "ae0678aa4f8c3675932de4d2e8986f4a5ca7d30e",
"version": "1.24.0",
Expand Down