File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,7 @@ HARFBUZZ_VERSION=11.0.0
42
42
LIBPNG_VERSION=1.6.47
43
43
JPEGTURBO_VERSION=3.1.0
44
44
OPENJPEG_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
50
46
TIFF_VERSION=4.7.0
51
47
LCMS2_VERSION=2.17
52
48
ZLIB_VERSION=1.3.1
@@ -56,6 +52,20 @@ BZIP2_VERSION=1.0.8
56
52
LIBXCB_VERSION=1.17.0
57
53
BROTLI_VERSION=1.1.0
58
54
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
+
59
69
function build_pkg_config {
60
70
if [ -e pkg-config-stamp ]; then return ; fi
61
71
# This essentially duplicates the Homebrew recipe
You can’t perform that action at this time.
0 commit comments