# shellcheck disable=SC2034,SC2154,SC2164 # Maintainer: JustKidding # Contributor: proudzhu pkgname=libvips-git _pkgname=libvips pkgver=8.15.0.r18.gcb55d9c2d pkgrel=1 pkgdesc="A fast image processing library with low memory needs" arch=('i686' 'x86_64') license=('LGPL') url="https://libvips.github.io/libvips/" depends=('cfitsio' 'fftw' 'libexif' 'libgsf' 'libimagequant' 'librsvg' 'libwebp' 'libxml2' 'openexr' 'orc' 'pango' 'libcgif' 'libmatio') makedepends=('gobject-introspection' 'libheif' 'libjxl' 'imagemagick' 'openslide' 'poppler-glib' 'meson' 'gtk-doc') optdepends=('libheif: for heif module' 'imagemagick: for magick module' 'openslide: for openslide module' 'poppler-glib: for poppler module' 'libjxl: for jxl module') provides=('libvips') conflicts=('libvips') source=("$_pkgname::git+https://github.com/libvips/libvips.git") sha512sums=('SKIP') pkgver() { cd "$_pkgname" git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { meson setup build libvips \ --prefix=/usr \ -Dgtk_doc=true \ --buildtype release meson compile -C build } package() { meson install -C build --destdir="$pkgdir" } # vim:set ts=2 sw=2 et: