Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .github/workflows/wheels-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading