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

                                                   
             
        
                                                              
                           
          
                           
                                                            
                          
                                                                       
 
                

                                   

    
         
                             
                                                   

 
         
                                            

 
           
                                                              
 
 


                                                                                                                                                    
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=babl
pkgver=0.1.88
pkgrel=0
pkgdesc="Dynamic, any to any, pixel format conversion library"
url="https://gegl.org/babl"
arch="all"
license="LGPL-3.0-or-later"
makedepends="meson gobject-introspection-dev lcms2-dev vala"
subpackages="$pkgname-dev"
source="https://ftp.gimp.org/pub/babl/${pkgver%.*}/babl-$pkgver.tar.xz"

case "$CARCH" in
	# tests time out on builder
	mips*)	options="!check";;
esac

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
1260133e44aa1878e13e2c64387e8540ca93edd7a905e2f8eebc58679444ba8815b9b6801b538a759c9b7b60294d7d7c33418bb1feee1879dcb8381450fe1742  babl-0.1.88.tar.xz
"