# Contributor: Holger Jaekel # Maintainer: Holger Jaekel pkgname=librasterlite2 pkgver=1.1.0b1 _pkgver="${pkgver//b1/-beta1}" pkgrel=6 pkgdesc="Library for storing and retrieving huge raster coverages using a SpatiaLite DBMS" url="https://www.gaia-gis.it/fossil/librasterlite2/index" arch="x86_64 x86" # tests fail license="MPL-1.1" makedepends=" cairo-dev curl-dev giflib-dev libgeotiff-dev libjpeg-turbo-dev libpng-dev libspatialite-dev libwebp-dev libxml2-dev lz4-dev minizip-dev openjpeg-dev proj-dev sqlite-dev tiff-dev xz-dev zstd-dev " subpackages="$pkgname-dev" source=" http://www.gaia-gis.it/gaia-sins/librasterlite2-sources/librasterlite2-$_pkgver.tar.gz 10-musl.patch 20-skip-tests.patch " builddir=$srcdir/$pkgname-$_pkgver build() { ./configure \ --prefix=/usr \ --build=$CBUILD \ --host=$CHOST \ --disable-static \ --disable-charls # broken build with charls 2.1.0 make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="49b3ba51ab895006736f027ac380d47af806c48ffe0769727bb7e57b4b4f3c93bc24a9a13264bf5b6a15a89be28312ed2170de1978e44a876814ad1849c90b6f librasterlite2-1.1.0-beta1.tar.gz 86b3f314cb664a456efd887e09e9cce0bad844d78f07bce747234d6f5cafd0f8d51fc899b242402d3babdbaca5db705be456fd0d212b8fab5b87cb2a871a6233 10-musl.patch dafa537a8048d5a4a98630db8d5a1e0b8c1fa0c8b259b49f391c460fd69c68f44d6fb77daa7480754dc443325309e0fb7b7441e2726558d6f1d035f8cf1e3bb3 20-skip-tests.patch"