aboutsummaryrefslogblamecommitdiffstats
path: root/community/vips/APKBUILD
blob: 6ac6d0df1c2d5d52e1359fa238dfeb6ac05dd3e1 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
             
        
                                                             
                                 
                                      
                                                                       
                           

                                                             
                                                              
                                                
                 
                                                                    
                                                                                          
 
         




                                   



                                           

                                         
            

 



                  
           
                                      







                                                 
                                                                                                                                                                 
# Contributor: Will Jordan <will.jordan@gmail.com>
# Maintainer: Will Jordan <will.jordan@gmail.com>
pkgname=vips
pkgver=8.10.6
pkgrel=1
pkgdesc="fast image processing library with low memory needs"
options="!check" # oss-fuzz fails
url="http://www.vips.ecs.soton.ac.uk/"
arch="all !s390x !ppc64le !mips !mips64" # test_seq.sh fails on ppc64le
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 libheif-dev gobject-introspection-dev
	libimagequant-dev librsvg-dev pango-dev"
checkdepends="bc"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-tools"
source="https://github.com/libvips/libvips/releases/download/v$pkgver/vips-$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 \
		--enable-introspection
	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="e3e623ad7b44dfb65078c49d2694d94bb11294300630d9e3c53ff1f9e9aaf58d196881d52c191b4604d9f63453199b7da3601425ffc9554f1c25cf08d630ef8b  vips-8.10.6.tar.gz"