Skip to content

Commit

Permalink
[liblzma] Update to 5.6.2 (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff authored Sep 27, 2024
1 parent 204edcf commit 9e16e0a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
12 changes: 8 additions & 4 deletions ports/liblzma/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# https://sourceforge.net/projects/lzmautils/
# https://sourceforge.net/projects/lzmautils/files/xz-5.4.6.tar.xz/download
# https://sourceforge.net/projects/lzmautils/files/xz-5.6.2.tar.xz/download
vcpkg_from_sourceforge(
OUT_SOURCE_PATH SOURCE_PATH
REPO lzmautils
FILENAME xz-5.4.6.tar.xz
SHA512 495cc890d25c075c927c907b77e60d86dd8a4c377cea5b1172c8e916984149a7bb5fb32db25091f7219346b83155b47e4bc0404cc8529d992014cd7ed0c278b7
FILENAME xz-5.6.2.tar.xz
SHA512 af3fd021a9c8eaacfb1ae2af3f7e2a0b0554068461de5be3e2c631174cf5fe15425b739832e826c0fb158484b8cea53701be8c568d7ce1f6113b4630205f5c26
)

if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS)
Expand Down Expand Up @@ -38,7 +38,11 @@ if(NOT VCPKG_TARGET_IS_WINDOWS)
vcpkg_fixup_pkgconfig()
endif()
# https://cmake.org/cmake/help/latest/module/FindLibLZMA.html
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/liblzma PACKAGE_NAME liblzma)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/liblzma PACKAGE_NAME LibLZMA)

if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_copy_tools(TOOL_NAMES lzmadec lzmainfo xz xzdec AUTO_CLEAN)
endif()

file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
Expand Down
4 changes: 2 additions & 2 deletions ports/liblzma/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "liblzma",
"version": "5.4.6",
"version": "5.6.2",
"description": "Compression library with an API similar to that of zlib.",
"homepage": "https://sourceforge.net/projects/lzmautils/",
"license": null,
"license": "0BSD",
"dependencies": [
{
"name": "vcpkg-cmake",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"port-version": 0
},
"liblzma": {
"baseline": "5.4.6",
"baseline": "5.6.2",
"port-version": 0
},
"llama-cpp": {
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/liblzma.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "cddc752949e8037a8e26ab745ae51a92f7a866ef",
"version": "5.6.2",
"port-version": 0
},
{
"git-tree": "a990dde00453701a6f899ee6741033b4c6f9e2fb",
"version": "5.4.6",
Expand Down

0 comments on commit 9e16e0a

Please sign in to comment.