mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 16:22:22 +03:00
Updated xz to 5.8.0 on manylinux2014 by removing po4a dependency (#8848)
This commit is contained in:
parent
b1f7ba0a41
commit
999d9a7f0c
20
.github/workflows/wheels-dependencies.sh
vendored
20
.github/workflows/wheels-dependencies.sh
vendored
|
@ -42,11 +42,7 @@ HARFBUZZ_VERSION=11.0.0
|
||||||
LIBPNG_VERSION=1.6.47
|
LIBPNG_VERSION=1.6.47
|
||||||
JPEGTURBO_VERSION=3.1.0
|
JPEGTURBO_VERSION=3.1.0
|
||||||
OPENJPEG_VERSION=2.5.3
|
OPENJPEG_VERSION=2.5.3
|
||||||
if [[ $MB_ML_VER == 2014 ]]; then
|
XZ_VERSION=5.8.0
|
||||||
XZ_VERSION=5.6.4
|
|
||||||
else
|
|
||||||
XZ_VERSION=5.8.0
|
|
||||||
fi
|
|
||||||
TIFF_VERSION=4.7.0
|
TIFF_VERSION=4.7.0
|
||||||
LCMS2_VERSION=2.17
|
LCMS2_VERSION=2.17
|
||||||
ZLIB_VERSION=1.3.1
|
ZLIB_VERSION=1.3.1
|
||||||
|
@ -56,6 +52,20 @@ BZIP2_VERSION=1.0.8
|
||||||
LIBXCB_VERSION=1.17.0
|
LIBXCB_VERSION=1.17.0
|
||||||
BROTLI_VERSION=1.1.0
|
BROTLI_VERSION=1.1.0
|
||||||
|
|
||||||
|
if [[ $MB_ML_VER == 2014 ]]; then
|
||||||
|
function build_xz {
|
||||||
|
if [ -e xz-stamp ]; then return; fi
|
||||||
|
yum install -y gettext-devel
|
||||||
|
fetch_unpack https://tukaani.org/xz/xz-$XZ_VERSION.tar.gz
|
||||||
|
(cd xz-$XZ_VERSION \
|
||||||
|
&& ./autogen.sh --no-po4a \
|
||||||
|
&& ./configure --prefix=$BUILD_PREFIX \
|
||||||
|
&& make -j4 \
|
||||||
|
&& make install)
|
||||||
|
touch xz-stamp
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
function build_pkg_config {
|
function build_pkg_config {
|
||||||
if [ -e pkg-config-stamp ]; then return; fi
|
if [ -e pkg-config-stamp ]; then return; fi
|
||||||
# This essentially duplicates the Homebrew recipe
|
# This essentially duplicates the Homebrew recipe
|
||||||
|
|
Loading…
Reference in New Issue
Block a user