Skip to content

Commit

Permalink
[libe57format] Update to 3.2.0 (#42498)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunBlack authored Dec 4, 2024
1 parent 5deeb36 commit a345bbd
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
7 changes: 3 additions & 4 deletions ports/libe57format/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO asmaloney/libE57Format
REF "v${VERSION}"
SHA512 9be79a969b74008801e20531530cdf3dc1f0041d6fbd2be1aaa8d58b35b06309b1f324309ad1d989a345389ed168c96c325ebe65844efec9bbffd183bf2e4766
SHA512 3c69766fbd4b048db760835181fdb928add08b5914c00f3927739a36797aa4417b0607654100c578e1c8778605b617bc2a29d342d26931bdb87924ca58080dcd
HEAD_REF master
)

string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" E57_BUILD_SHARED)
string(COMPARE NOTEQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" E57_USING_STATIC_XERCES)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DE57_BUILD_TEST=OFF
-DE57_BUILD_SHARED=${E57_BUILD_SHARED}
-DUSING_STATIC_XERCES=${E57_USING_STATIC_XERCES}
-DE57_RELEASE_LTO=OFF
)
vcpkg_cmake_install()

Expand All @@ -26,4 +25,4 @@ file(REMOVE_RECURSE
)

file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/libe57format RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
2 changes: 1 addition & 1 deletion ports/libe57format/usage
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
libe57format provides CMake targets:

find_package(e57format CONFIG REQUIRED)
find_package(E57Format CONFIG REQUIRED)
target_link_libraries(main PRIVATE E57Format)
2 changes: 1 addition & 1 deletion ports/libe57format/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "libe57format",
"version": "3.1.1",
"version": "3.2.0",
"description": "A library to provide read & write support for the E57 file format.",
"homepage": "https://github.com/asmaloney/libE57Format",
"license": "BSL-1.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4489,7 +4489,7 @@
"port-version": 4
},
"libe57format": {
"baseline": "3.1.1",
"baseline": "3.2.0",
"port-version": 0
},
"libebur128": {
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libe57format.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8ff8b875bf54e984d9f85d80194bed578cb1638e",
"version": "3.2.0",
"port-version": 0
},
{
"git-tree": "fb409510c8365dadc49053428c15e36163d204e2",
"version": "3.1.1",
Expand Down

0 comments on commit a345bbd

Please sign in to comment.