Skip to content

Commit

Permalink
minizip-ng: add version 4.0.7 (#26112)
Browse files Browse the repository at this point in the history
* minizip-ng: add version 4.0.7

* rename windows library names in 4.0.7
  • Loading branch information
toge authored Dec 31, 2024
1 parent 3e966a8 commit 7e056a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions recipes/minizip-ng/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"4.0.7":
url: "https://github.com/zlib-ng/minizip-ng/archive/4.0.7.tar.gz"
sha256: "a87f1f734f97095fe1ef0018217c149d53d0f78438bcb77af38adc21dff2dfbc"
"4.0.6":
url: "https://github.com/zlib-ng/minizip-ng/archive/4.0.6.tar.gz"
sha256: "e96ed3866706a67dbed05bf035e26ef6b60f408e1381bf0fe9af17fe2c0abebc"
Expand Down
2 changes: 1 addition & 1 deletion recipes/minizip-ng/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def package_info(self):
self.cpp_info.set_property("pkg_config_name", "minizip")

# TODO: back to global scope in conan v2 once cmake_find_package_* generators removed
prefix = "lib" if is_msvc(self) or self._is_clang_cl else ""
prefix = "lib" if Version(self.version) < "4.0.7" and (is_msvc(self) or self._is_clang_cl) else ""
suffix = "" if self.options.mz_compatibility else "-ng"
self.cpp_info.components["minizip"].libs = [f"{prefix}minizip{suffix}"]
if self.options.with_lzma:
Expand Down
2 changes: 2 additions & 0 deletions recipes/minizip-ng/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"4.0.7":
folder: all
"4.0.6":
folder: all
"4.0.5":
Expand Down

0 comments on commit 7e056a3

Please sign in to comment.