Nessuna descrizione

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

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.