aboutsummaryrefslogtreecommitdiffstats
path: root/community/vips
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-05-23 15:19:54 +0200
committerAndy Postnikov <apostnikov@gmail.com>2019-05-28 18:21:22 +0300
commit434ff132e2fa00b720f3dacb0b8079019496fe1d (patch)
treef0d450a73b33c2e284eb194a65cca1cd9a8aebd3 /community/vips
parentb8b5025a3720cf51e4d4eda5057ae3077d57225e (diff)
downloadaports-434ff132e2fa00b720f3dacb0b8079019496fe1d.tar.bz2
aports-434ff132e2fa00b720f3dacb0b8079019496fe1d.tar.xz
community/vips: move from testing
Diffstat (limited to 'community/vips')
-rw-r--r--community/vips/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/vips/APKBUILD b/community/vips/APKBUILD
new file mode 100644
index 0000000000..1cbc76406c
--- /dev/null
+++ b/community/vips/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Will Jordan <will.jordan@gmail.com>
+# Maintainer: Will Jordan <will.jordan@gmail.com>
+pkgname=vips
+pkgver=8.8.0
+pkgrel=0
+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"
+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"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-debug=no \
+ --without-gsf \
+ --disable-static \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --docdir=/usr/share/doc
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+tools() {
+ pkgdesc="Command-line tools for $pkgname"
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
+sha512sums="2058558bc75a7854121c9f50e2fb3424f397a221c31eb30abd297d12bc3d5b60662ddf213d68cc801318c5ff90f275b9ed74e8e8a23f6501cc6c70bf7431858e vips-8.8.0.tar.gz"