From 8f236ca74d7ae223589deef77304a45ada9fa30d Mon Sep 17 00:00:00 2001 From: chausner <15180557+chausner@users.noreply.github.com> Date: Wed, 6 Oct 2021 01:13:21 +0200 Subject: [tmxlite] Update to 1.3.0 (#20492) * Update tmxlite to 1.3.0 * Update CI baseline Co-authored-by: chausner Co-authored-by: Billy Robert O'Neal III --- ports/tmxlite/portfile.cmake | 17 ++++++++--------- ports/tmxlite/vcpkg.json | 15 ++++++++++++--- versions/baseline.json | 4 ++-- versions/t-/tmxlite.json | 5 +++++ 4 files changed, 27 insertions(+), 14 deletions(-) diff --git a/ports/tmxlite/portfile.cmake b/ports/tmxlite/portfile.cmake index 6c0dda980..ff1fb37a8 100644 --- a/ports/tmxlite/portfile.cmake +++ b/ports/tmxlite/portfile.cmake @@ -1,22 +1,21 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO fallahn/tmxlite - REF 591dd0371dceb2c43abeceac11cd9e8077880cca + REF v1.3.0 HEAD_REF master - SHA512 a857aea3ec99c686e97d25ecb2bdd8d2f2f14dcb8419e14535ace8794bfbc21fe825cffc60e589df7291ae35076fb6734f7047c985a6ea6d0c55c861c07ba784 + SHA512 3D432152080F7FDDD14A150FF87C34932695C96D7F676399C7610FF373972223CE54C9483BD9A872FD53668C113E334FCBF8596AE21CFDAF83B6159C7287A4A3 ) -vcpkg_configure_cmake( - SOURCE_PATH ${SOURCE_PATH}/tmxlite - PREFER_NINJA +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}/tmxlite" ) -vcpkg_install_cmake() +vcpkg_cmake_install() -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") if(VCPKG_LIBRARY_LINKAGE STREQUAL static) - file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin) + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") endif() -configure_file(${SOURCE_PATH}/readme.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) \ No newline at end of file +file(INSTALL "${SOURCE_PATH}/readme.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) \ No newline at end of file diff --git a/ports/tmxlite/vcpkg.json b/ports/tmxlite/vcpkg.json index 0b710f19d..66cbcf47d 100644 --- a/ports/tmxlite/vcpkg.json +++ b/ports/tmxlite/vcpkg.json @@ -1,6 +1,15 @@ { "name": "tmxlite", - "version-string": "2019-03-05", - "port-version": 1, - "description": "A lightweight C++14 parsing library for tmx map files created with the Tiled map editor." + "version": "1.3.0", + "description": "A lightweight C++14 parsing library for tmx map files created with the Tiled map editor.", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] } diff --git a/versions/baseline.json b/versions/baseline.json index a4ad0f361..a3a44f2f8 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6685,8 +6685,8 @@ "port-version": 1 }, "tmxlite": { - "baseline": "2019-03-05", - "port-version": 1 + "baseline": "1.3.0", + "port-version": 0 }, "tmxparser": { "baseline": "2.1.0", diff --git a/versions/t-/tmxlite.json b/versions/t-/tmxlite.json index e66ad8161..09092bb6a 100644 --- a/versions/t-/tmxlite.json +++ b/versions/t-/tmxlite.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "a60946b8d791faf0936b14f7ad9868d74b0dd872", + "version": "1.3.0", + "port-version": 0 + }, { "git-tree": "177873f8c1357bfcc2a15954de053e949737dd30", "version-string": "2019-03-05", -- cgit v1.2.3