This repository was archived by the owner on Oct 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,11 +8,7 @@ FREETYPE_VERSION=2.12.1
88HARFBUZZ_VERSION=4.2.1
99LIBPNG_VERSION=1.6.37
1010JPEGTURBO_VERSION=2.1.3
11- if [[ -n " $IS_MACOS " ]] && [[ " $PLAT " == " x86_64" ]]; then
12- OPENJPEG_VERSION=2.4.0
13- else
14- OPENJPEG_VERSION=2.5.0
15- fi
11+ OPENJPEG_VERSION=2.5.0
1612XZ_VERSION=5.2.5
1713TIFF_VERSION=4.3.0
1814LCMS2_VERSION=2.13.1
@@ -51,6 +47,16 @@ function build_giflib {
5147 fi
5248}
5349
50+ if [[ -n " $IS_MACOS " ]] && [[ " $PLAT " == " x86_64" ]]; then
51+ function build_openjpeg {
52+ local out_dir=$( fetch_unpack https://github.com/uclouvain/openjpeg/archive/v${OPENJPEG_VERSION} .tar.gz)
53+ (cd $out_dir \
54+ && cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX /lib . \
55+ && make install)
56+ touch openjpeg-stamp
57+ }
58+ fi
59+
5460function pre_build {
5561 # Any stuff that you need to do before you start building the wheels
5662 # Runs in the root directory of this repository.
You can’t perform that action at this time.
0 commit comments