aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2019-01-19 03:57:06 +0200
committerAndy Postnikov <apostnikov@gmail.com>2019-01-19 19:21:23 +0200
commit4e88e935ba0b6e51178c6a341c8796af61cc9f22 (patch)
tree8f81b0a0c147de8d3bc0120aef024e4c637109dc
parent9ac537c92b835ccdcdae6b6fc2e7ee731578ddf9 (diff)
downloadaports-4e88e935ba0b6e51178c6a341c8796af61cc9f22.tar.gz
aports-4e88e935ba0b6e51178c6a341c8796af61cc9f22.tar.bz2
aports-4e88e935ba0b6e51178c6a341c8796af61cc9f22.tar.xz
testing/vips: add check() and fix dependencies
-rw-r--r--testing/vips/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/testing/vips/APKBUILD b/testing/vips/APKBUILD
index 64e4ab3095..4fedbc5b7e 100644
--- a/testing/vips/APKBUILD
+++ b/testing/vips/APKBUILD
@@ -2,14 +2,15 @@
# Maintainer: Will Jordan <will.jordan@gmail.com>
pkgname=vips
pkgver=8.7.4
-pkgrel=0
+pkgrel=1
pkgdesc="A fast image processing library with low memory needs"
url="http://www.vips.ecs.soton.ac.uk/"
arch="all !s390x"
license="LGPL-2.1-or-later"
-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"
+makedepends="expat-dev fftw-dev giflib-dev glib-dev lcms2-dev
+ libexif-dev libjpeg-turbo-dev libpng-dev libwebp-dev
+ orc-dev tiff-dev"
+checkdepends="bc"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-tools"
source="https://github.com/libvips/libvips/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
@@ -21,7 +22,6 @@ build() {
--host=$CHOST \
--prefix=/usr \
--enable-debug=no \
- --without-python \
--without-gsf \
--disable-static \
--mandir=/usr/share/man \
@@ -30,6 +30,10 @@ build() {
make
}
+check() {
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install