Brak opisu

Tom Kelsey 9f373bade8 Add binaries 4 lat temu
.github 2a3ae1366c first commit 4 lat temu
build 9f373bade8 Add binaries 4 lat temu
darwin-x64 2a3ae1366c first commit 4 lat temu
linux-arm64v8 2a3ae1366c first commit 4 lat temu
linux-armv6 2a3ae1366c first commit 4 lat temu
linux-armv7 2a3ae1366c first commit 4 lat temu
linux-x64 2a3ae1366c first commit 4 lat temu
linuxmusl-x64 2a3ae1366c first commit 4 lat temu
test 2a3ae1366c first commit 4 lat temu
win32 2a3ae1366c first commit 4 lat temu
.DS_Store 9f373bade8 Add binaries 4 lat temu
.gitignore 2a3ae1366c first commit 4 lat temu
LIBVIPS_VERSION 2a3ae1366c first commit 4 lat temu
LICENSE 2a3ae1366c first commit 4 lat temu
README.md 2a3ae1366c first commit 4 lat temu
THIRD-PARTY-NOTICES.md 2a3ae1366c first commit 4 lat temu
build.sh 9f373bade8 Add binaries 4 lat temu
libvips-8.10.0-linux-arm64v8.tar.br 9f373bade8 Add binaries 4 lat temu
libvips-8.10.0-linux-arm64v8.tar.gz 9f373bade8 Add binaries 4 lat temu
libvips-8.10.0-linux-armv6.tar.br 9f373bade8 Add binaries 4 lat temu
libvips-8.10.0-linux-armv6.tar.gz 9f373bade8 Add binaries 4 lat temu
libvips-8.10.0-linux-armv7.tar.br 9f373bade8 Add binaries 4 lat temu
libvips-8.10.0-linux-armv7.tar.gz 9f373bade8 Add binaries 4 lat temu
libvips-8.10.0-linux-x64.tar.br 9f373bade8 Add binaries 4 lat temu
libvips-8.10.0-linux-x64.tar.gz 9f373bade8 Add binaries 4 lat temu
libvips-8.10.0-linuxmusl-x64.tar.br 9f373bade8 Add binaries 4 lat temu
libvips-8.10.0-linuxmusl-x64.tar.gz 9f373bade8 Add binaries 4 lat temu
test-linux-arm.sh 2a3ae1366c first commit 4 lat temu
test-linux-x64.sh 2a3ae1366c first commit 4 lat temu

README.md

Packaging scripts

libvips and its dependencies are provided as pre-compiled shared libraries for the most common operating systems and CPU architectures.

During npm install, these binaries are fetched as tarballs from this repository via HTTPS and stored locally within node_modules/sharp/vendor.

The base URL can be overridden using the npm_config_sharp_libvips_binary_host environment variable.

https://sharp.pixelplumbing.com/install#custom-prebuilt-binaries

Creating a tarball

Most people will not need to do this; proceed with caution.

Run the top-level build script without parameters for help.

Linux

One build script is used to (cross-)compile the same shared libraries within multiple containers.

Windows

The output of libvips' build-win64-mxe "web" target is post-processed within multiple containers.

macOS

Uses a macOS virtual machine hosted by GitHub to compile the shared libraries. The dylib files are compiled within the same build script as Linux.

Depedency paths are modified to be the relative @rpath using install_name_tool.

Licences

These scripts are licensed under the terms of the Apache 2.0 Licence.

The shared libraries contained in the tarballs are distributed under the terms of various licences, all of which are compatible with the Apache 2.0 Licence.