aboutsummaryrefslogtreecommitdiffstats
path: root/community/vips/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/vips/APKBUILD')
-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"