Skip to content

Commit

Permalink
[WiP] Test build for kleisauke/libvips@049358e
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Sep 9, 2024
1 parent 0183c8d commit 5b1ef90
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ VERSION_TIFF=4.6.0 # https://gitlab.com/libtiff/libtiff
VERSION_RESVG=0.43.0 # https://github.com/RazrFalcon/resvg
VERSION_AOM=3.10.0 # https://aomedia.googlesource.com/aom
VERSION_HEIF=1.18.2 # https://github.com/strukturag/libheif
VERSION_VIPS=8.15.3 # https://github.com/libvips/libvips
VERSION_VIPS=049358e # https://github.com/libvips/libvips

VERSION_EMSCRIPTEN="$(emcc -dumpversion)"

Expand Down Expand Up @@ -486,12 +486,10 @@ EOL
[ -f "$TARGET/lib/pkgconfig/vips.pc" ] || (
stage "Compiling vips"
mkdir $DEPS/vips
curl -Ls https://github.com/libvips/libvips/releases/download/v$VERSION_VIPS/vips-$(without_prerelease $VERSION_VIPS).tar.xz | tar xJC $DEPS/vips --strip-components=1
curl -Ls https://github.com/kleisauke/libvips/archive/$VERSION_VIPS.tar.gz | tar xzC $DEPS/vips --strip-components=1
cd $DEPS/vips
# Emscripten specific patches
curl -Ls https://github.com/libvips/libvips/compare/v$VERSION_VIPS...kleisauke:wasm-vips-8.15.patch | patch -p1
# Disable HBR support in heifsave
curl -Ls https://github.com/libvips/build-win64-mxe/raw/v$VERSION_VIPS/build/patches/vips-8-heifsave-disable-hbr-support.patch | patch -p1
curl -Ls https://github.com/kleisauke/libvips/compare/$VERSION_VIPS...wasm-vips-8.15.4.patch | patch -p1
# Disable building man pages, gettext po files, tools, and (fuzz-)tests
sed -i "/subdir('man')/{N;N;N;N;d;}" meson.build
meson setup _build --prefix=$TARGET --cross-file=$MESON_CROSS --default-library=static --buildtype=release \
Expand Down

0 comments on commit 5b1ef90

Please sign in to comment.