blob: 8db1a01ed377d8d2a4727f3bd83ae94a4d6a41a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: Will Jordan <will.jordan@gmail.com>
# Maintainer: Will Jordan <will.jordan@gmail.com>
pkgname=vips
pkgver=8.5.6
pkgrel=1
pkgdesc="A fast image processing library with low memory needs"
url="http://www.vips.ecs.soton.ac.uk/"
arch="all"
license="LGPL 2.1+"
depends=""
depends_dev="libjpeg-turbo-dev libexif-dev lcms2-dev"
makedepends="$depends_dev fftw-dev giflib-dev glib-dev libpng-dev libwebp-dev
expat-dev orc-dev tiff-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-tools"
source="https://github.com/jcupitt/libvips/releases/download/v$pkgver/vips-$pkgver.tar.gz"
builddir="$srcdir"/vips-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-debug=no \
--without-python \
--without-gsf \
--disable-static \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--docdir=/usr/share/doc \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
tools() {
pkgdesc="Command-line tools for $pkgname"
mkdir -p "$subpkgdir"/usr/
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
md5sums="4dd710633746346f7c894daf4304b814 vips-8.5.6.tar.gz"
sha256sums="19a77ab200eb0ddfcd8babab130fe43c7730880d1f1fdfbdd8def519af32c4b8 vips-8.5.6.tar.gz"
sha512sums="44f4b1a99f75a6abe594a0fee497ac8e03f9810a4e84d3cec7518b589eef80795800968d799acdb82ff296f23a1077bc6759c838730ba2257dd7867bbd5468c3 vips-8.5.6.tar.gz"
|