Updated xz to 5.8.0 on manylinux2014 by removing po4a dependency

This commit is contained in:
Andrew Murray 2025-03-31 13:01:49 +11:00
parent b1f7ba0a41
commit 3f806d7364

View File

@ -42,11 +42,7 @@ HARFBUZZ_VERSION=11.0.0
LIBPNG_VERSION=1.6.47
JPEGTURBO_VERSION=3.1.0
OPENJPEG_VERSION=2.5.3
if [[ $MB_ML_VER == 2014 ]]; then
XZ_VERSION=5.6.4
else
XZ_VERSION=5.8.0
fi
XZ_VERSION=5.8.0
TIFF_VERSION=4.7.0
LCMS2_VERSION=2.17
ZLIB_VERSION=1.3.1
@ -56,6 +52,20 @@ BZIP2_VERSION=1.0.8
LIBXCB_VERSION=1.17.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 {
if [ -e pkg-config-stamp ]; then return; fi
# This essentially duplicates the Homebrew recipe