File tree Expand file tree Collapse file tree 8 files changed +17
-17
lines changed
windows/mingw-w64-libheif
libheif/windows/mingw-w64-libheif Expand file tree Collapse file tree 8 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ _# Changelog
22
33All notable changes to this project will be documented in this file.
44
5- ## [ 0.9.0 - 2022-12-0x ]
5+ ## [ 0.9.0 - 2022-12-15 ]
66
77### Added
88
99### Changed
1010
11- - ` libheif ` updated to ` 1.14.1 ` version. Minimum supported version to build from source is ` 1.13.0 `
11+ - Minimum supported version of ` libheif ` to build from source is ` 1.13.0 `
1212- Minimum required ` Pillow ` version increased from ` 6.2.0 ` to ` 8.3.0 ` , ` getxmp ` is used from Pillow now. #55
1313- ` options() ` was reworked. Added new ` DECODE_THREADS ` option. #57
1414
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ Binary wheels combine several license-compatible libraries. Here they are listed
55Name: libheif
66License: LGPLv3
77Files: libheif.[dylib|so|dll]
8- For details, see https://github.com/strukturag/libheif/tree/v1.14.1 /COPYING
9- Source code: https://github.com/strukturag/libheif/tree/v1.14.1
8+ For details, see https://github.com/strukturag/libheif/tree/v1.14.0 /COPYING
9+ Source code: https://github.com/strukturag/libheif/tree/v1.14.0
1010
1111Name: libde265
1212License: LGPLv3
Original file line number Diff line number Diff line change 1515LIBX265_URL = "https://bitbucket.org/multicoreware/x265_git/get/0b75c44c10e605fe9e9ebed58f04a46271131827.tar.gz"
1616LIBAOM_URL = "https://aomedia.googlesource.com/aom/+archive/v3.5.0.tar.gz"
1717LIBDE265_URL = "https://github.com/strukturag/libde265/releases/download/v1.0.9/libde265-1.0.9.tar.gz"
18- LIBHEIF_URL = "https://github.com/strukturag/libheif/archive/7caa01dd150b6c96f33d35bff2eab8a32b8edf2b .tar.gz"
18+ LIBHEIF_URL = "https://github.com/strukturag/libheif/archive/03fb8f092248bd4f76fad5399f4e3a9d3db4dba2 .tar.gz"
1919
2020
2121def download_file (url : str , out_path : str ) -> bool :
Original file line number Diff line number Diff line change 44_realname=libheif
55pkgbase=mingw-w64-${_realname}
66pkgname=(" ${MINGW_PACKAGE_PREFIX} -${_realname} " )
7- pkgver=7caa01dd150b6c96f33d35bff2eab8a32b8edf2b
7+ pkgver=03fb8f092248bd4f76fad5399f4e3a9d3db4dba2
88pkgrel=1
99pkgdesc=" HEIF image decoder/encoder library and tools (mingw-w64)"
1010arch=(' any' )
@@ -20,8 +20,8 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
2020 " ${MINGW_PACKAGE_PREFIX} -aom"
2121 " ${MINGW_PACKAGE_PREFIX} -libde265"
2222 " ${MINGW_PACKAGE_PREFIX} -x265" )
23- source=(" https://github.com/strukturag/libheif/archive/7caa01dd150b6c96f33d35bff2eab8a32b8edf2b .tar.gz" )
24- sha256sums=(' ee52028a16624ee82cd4cf393ab3d565179da4a3e893644dd3a25fd8b91ff108 ' )
23+ source=(" https://github.com/strukturag/libheif/archive/03fb8f092248bd4f76fad5399f4e3a9d3db4dba2 .tar.gz" )
24+ sha256sums=(' decbea102e051e928073363621d7df822b6a2a68d60a3965a62e734daa731cf9 ' )
2525
2626prepare () {
2727 cd " ${srcdir} /${_realname} -${pkgver} "
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ Binary wheels combine several license-compatible libraries. Here they are listed
55Name: libheif
66License: LGPLv3
77Files: libheif.[dylib|so|dll]
8- For details, see https://github.com/strukturag/libheif/tree/v1.14.1 /COPYING
9- Source code: https://github.com/strukturag/libheif/tree/v1.14.1
8+ For details, see https://github.com/strukturag/libheif/tree/v1.14.0 /COPYING
9+ Source code: https://github.com/strukturag/libheif/tree/v1.14.0
1010
1111Name: libde265
1212License: LGPLv3
Original file line number Diff line number Diff line change 44_realname=libheif
55pkgbase=mingw-w64-${_realname}
66pkgname=(" ${MINGW_PACKAGE_PREFIX} -${_realname} " )
7- pkgver=7caa01dd150b6c96f33d35bff2eab8a32b8edf2b
7+ pkgver=03fb8f092248bd4f76fad5399f4e3a9d3db4dba2
88pkgrel=1
99pkgdesc=" HEIF image decoder/encoder library and tools (mingw-w64)"
1010arch=(' any' )
@@ -18,8 +18,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
1818 " ${MINGW_PACKAGE_PREFIX} -cc" )
1919depends=(" ${MINGW_PACKAGE_PREFIX} -gcc-libs"
2020 " ${MINGW_PACKAGE_PREFIX} -libde265" )
21- source=(" https://github.com/strukturag/libheif/archive/7caa01dd150b6c96f33d35bff2eab8a32b8edf2b .tar.gz" )
22- sha256sums=(' ee52028a16624ee82cd4cf393ab3d565179da4a3e893644dd3a25fd8b91ff108 ' )
21+ source=(" https://github.com/strukturag/libheif/archive/03fb8f092248bd4f76fad5399f4e3a9d3db4dba2 .tar.gz" )
22+ sha256sums=(' decbea102e051e928073363621d7df822b6a2a68d60a3965a62e734daa731cf9 ' )
2323
2424prepare () {
2525 cd " ${srcdir} /${_realname} -${pkgver} "
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def test_full_build():
108108 assert info ["decoders" ]["AV1" ]
109109 assert info ["encoders" ]["AV1" ]
110110 assert info ["encoders" ]["HEVC" ]
111- expected_version = os .getenv ("EXP_PH_LIBHEIF_VERSION" , "1.14.1 " )
111+ expected_version = os .getenv ("EXP_PH_LIBHEIF_VERSION" , "1.14.0 " )
112112 if expected_version :
113113 assert info ["version" ]["libheif" ] == expected_version
114114
@@ -119,6 +119,6 @@ def test_light_build():
119119 assert not info ["decoders" ]["AV1" ]
120120 assert not info ["encoders" ]["AV1" ]
121121 assert not info ["encoders" ]["HEVC" ]
122- expected_version = os .getenv ("EXP_PH_LIBHEIF_VERSION" , "1.14.1 " )
122+ expected_version = os .getenv ("EXP_PH_LIBHEIF_VERSION" , "1.14.0 " )
123123 if expected_version :
124124 assert info ["version" ]["libheif" ] == expected_version
Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ def test_decode_threads():
8787 start_time_two_threads = perf_counter ()
8888 open_heif (test_image , convert_hdr_to_8bit = False ).load ()
8989 total_time_two_threads = perf_counter () - start_time_two_threads
90- # decoding in two threads should be faster at least by 15 %
91- assert total_time_one_thread > total_time_two_threads * 1.15
90+ # decoding in two threads should be faster at least by 8 %
91+ assert total_time_one_thread > total_time_two_threads * 1.08
9292 finally :
9393 options .DECODE_THREADS = 4
9494
You can’t perform that action at this time.
0 commit comments