summaryrefslogtreecommitdiff
path: root/user/pixman/APKBUILD
blob: 50ff4f981b57b11b750c4bb21d08b614fd398ac4 (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=pixman
pkgver=0.38.4
pkgrel=1
pkgdesc="Low-level pixel manipulation library"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="libpng-dev perl linux-headers"
subpackages="$pkgname-dev $pkgname-dbg"
source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.bz2
	stacksize-reduction.patch
	"

build() {
	# Static is needed by qemu

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-static \
		--disable-openmp \
		--disable-arm-iwmmxt
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="0683b7f67caa0881b23188b7e6f8487c7e0a1257a912686616b7d862efd5a9efdb51641c81ec54905a6f6b1029d796ca4e25c0909db28fc29fa3617bf09f9cf9  pixman-0.38.4.tar.bz2
3d75e7328e6eaaa6e8f4defa4402db815764369f94b81be38fba07933267fe24b03b591dd4c3f3544cb090650153728bfbdd81a91acaf19524c3d08f61427f63  stacksize-reduction.patch"