暫無描述

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

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.