Skip to content

Commit

Permalink
Upgrade to libvips v8.15.5-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Oct 6, 2024
1 parent 4151793 commit 296df6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [v0.0.11] - TBD

Uses libvips v8.15.3, compiled with Emscripten v3.1.68.
Uses libvips v8.15.5-rc1, compiled with Emscripten v3.1.68.

### Changed

Expand Down
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.7.0 # https://gitlab.com/libtiff/libtiff
VERSION_RESVG=0.44.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=8.15.5-rc1 # https://github.com/libvips/libvips

VERSION_EMSCRIPTEN="$(emcc -dumpversion)"

Expand Down Expand Up @@ -485,12 +485,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/libvips/libvips/releases/download/v$VERSION_VIPS/vips-$VERSION_VIPS.tar.xz | tar xJC $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/libvips/libvips/compare/v$VERSION_VIPS...kleisauke:wasm-vips-$VERSION_VIPS.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 296df6d

Please sign in to comment.