File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,11 +42,7 @@ HARFBUZZ_VERSION=11.0.0
4242LIBPNG_VERSION=1.6.47
4343JPEGTURBO_VERSION=3.1.0
4444OPENJPEG_VERSION=2.5.3
45- if [[ $MB_ML_VER == 2014 ]]; then
46- XZ_VERSION=5.6.4
47- else
48- XZ_VERSION=5.8.0
49- fi
45+ XZ_VERSION=5.8.0
5046TIFF_VERSION=4.7.0
5147LCMS2_VERSION=2.17
5248ZLIB_VERSION=1.3.1
@@ -56,6 +52,20 @@ BZIP2_VERSION=1.0.8
5652LIBXCB_VERSION=1.17.0
5753BROTLI_VERSION=1.1.0
5854
55+ if [[ $MB_ML_VER == 2014 ]]; then
56+ function build_xz {
57+ if [ -e xz-stamp ]; then return ; fi
58+ yum install -y gettext-devel
59+ fetch_unpack https://tukaani.org/xz/xz-$XZ_VERSION .tar.gz
60+ (cd xz-$XZ_VERSION \
61+ && ./autogen.sh --no-po4a \
62+ && ./configure --prefix=$BUILD_PREFIX \
63+ && make -j4 \
64+ && make install)
65+ touch xz-stamp
66+ }
67+ fi
68+
5969function build_pkg_config {
6070 if [ -e pkg-config-stamp ]; then return ; fi
6171 # This essentially duplicates the Homebrew recipe
You can’t perform that action at this time.
0 commit comments