mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Ubuntu 14 now compiles 7.40.x from source
as packaged version is the outdated 7.38.x Added support for Ubuntu 15 and Mint 17.1
This commit is contained in:
parent
e7f6d49bc1
commit
e22d093002
@ -29,16 +29,16 @@ This module is powered by the blazingly fast [libvips](https://github.com/jcupit
|
|||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
* Node.js v0.10+
|
* Node.js v0.10+
|
||||||
* [libvips](https://github.com/jcupitt/libvips) v7.38.5+ (7.40.9+ recommended)
|
* [libvips](https://github.com/jcupitt/libvips) v7.38.5+ (7.40.12+ recommended)
|
||||||
|
|
||||||
To install the latest version of libvips on the following Operating Systems:
|
To install the most suitable version of libvips on the following Operating Systems:
|
||||||
|
|
||||||
* Mac OS
|
* Mac OS
|
||||||
* Homebrew
|
* Homebrew
|
||||||
* MacPorts
|
* MacPorts
|
||||||
* Debian Linux
|
* Debian Linux
|
||||||
* Debian 7, 8
|
* Debian 7, 8
|
||||||
* Ubuntu 12.04, 14.04, 14.10
|
* Ubuntu 12.04, 14.04, 14.10, 15.04
|
||||||
* Mint 13, 17
|
* Mint 13, 17
|
||||||
* Red Hat Linux
|
* Red Hat Linux
|
||||||
* RHEL/Centos/Scientific 6, 7
|
* RHEL/Centos/Scientific 6, 7
|
||||||
|
@ -86,11 +86,17 @@ case $(uname -s) in
|
|||||||
DISTRO=$(lsb_release -c -s)
|
DISTRO=$(lsb_release -c -s)
|
||||||
echo "Detected Debian Linux '$DISTRO'"
|
echo "Detected Debian Linux '$DISTRO'"
|
||||||
case "$DISTRO" in
|
case "$DISTRO" in
|
||||||
jessie|trusty|utopic|qiana)
|
jessie|vivid)
|
||||||
# Debian 8, Ubuntu 14, Mint 17
|
# Debian 8, Ubuntu 15
|
||||||
echo "Installing libvips via apt-get"
|
echo "Installing libvips via apt-get"
|
||||||
apt-get install -y libvips-dev
|
apt-get install -y libvips-dev
|
||||||
;;
|
;;
|
||||||
|
trusty|utopic|qiana|rebecca)
|
||||||
|
# Ubuntu 14, Mint 17
|
||||||
|
echo "Installing libvips dependencies via apt-get"
|
||||||
|
apt-get install -y automake build-essential gobject-introspection gtk-doc-tools libglib2.0-dev libjpeg-turbo8-dev libpng12-dev libwebp-dev libtiff5-dev libexif-dev libxml2-dev swig libmagickwand-dev curl
|
||||||
|
install_libvips_from_source
|
||||||
|
;;
|
||||||
precise|wheezy|maya)
|
precise|wheezy|maya)
|
||||||
# Debian 7, Ubuntu 12.04, Mint 13
|
# Debian 7, Ubuntu 12.04, Mint 13
|
||||||
echo "Installing libvips dependencies via apt-get"
|
echo "Installing libvips dependencies via apt-get"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user