Merge pull request #7233 from radarhere/libtiff

This commit is contained in:
Hugo van Kemenade 2023-06-29 13:56:12 +03:00 committed by GitHub
commit b2387f9565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View File

@ -155,7 +155,7 @@ Many of Pillow's features require external libraries:
* **libtiff** provides compressed TIFF functionality
* Pillow has been tested with libtiff versions **3.x** and **4.0-4.5**
* Pillow has been tested with libtiff versions **3.x** and **4.0-4.5.1**
* **libfreetype** provides type related services

View File

@ -188,9 +188,9 @@ deps = {
"libs": [r"output\release-static\{architecture}\lib\*.lib"],
},
"libtiff": {
"url": "https://download.osgeo.org/libtiff/tiff-4.5.0.tar.gz",
"filename": "tiff-4.5.0.tar.gz",
"dir": "tiff-4.5.0",
"url": "https://download.osgeo.org/libtiff/tiff-4.5.1.tar.gz",
"filename": "tiff-4.5.1.tar.gz",
"dir": "tiff-4.5.1",
"license": "LICENSE.md",
"patch": {
r"libtiff\tif_lzma.c": {
@ -201,6 +201,12 @@ deps = {
# link against webp.lib
"#ifdef WEBP_SUPPORT": '#ifdef WEBP_SUPPORT\n#pragma comment(lib, "webp.lib")', # noqa: E501
},
r"test\CMakeLists.txt": {
"add_executable(test_write_read_tags ../placeholder.h)": "",
"target_sources(test_write_read_tags PRIVATE test_write_read_tags.c)": "", # noqa: E501
"target_link_libraries(test_write_read_tags PRIVATE tiff)": "",
"list(APPEND simple_tests test_write_read_tags)": "",
},
},
"build": [
*cmds_cmake(