aboutsummaryrefslogtreecommitdiffstats
path: root/community/librasterlite2/APKBUILD
blob: 885af989fb7a7fd165994dcb5fc4c29781e9211d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=librasterlite2
pkgver=1.1.0b1
_pkgver="${pkgver//b1/-beta1}"
pkgrel=2
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"