summaryrefslogtreecommitdiff
path: root/user/pixman/APKBUILD
blob: b694941e9accae35e330fe86b807c80a639040ae (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.36.0
pkgrel=0
pkgdesc="Low-level pixel manipulation library"
url="https://www.X.Org/"
arch="all"
license="MIT"
subpackages="$pkgname-dev $pkgname-dbg"
makedepends="perl linux-headers"
source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.bz2
	stacksize-reduction.patch
	"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		--disable-openmp \
		--disable-arm-iwmmxt
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="ed99c85a8ce11f52659da61bff599c0405ae0069c30434bdef7238bc9f18e83e6d534cddf38c14d753943edbaeba580c5005ad7575f27e469ca7be7878678d21  pixman-0.36.0.tar.bz2
3d75e7328e6eaaa6e8f4defa4402db815764369f94b81be38fba07933267fe24b03b591dd4c3f3544cb090650153728bfbdd81a91acaf19524c3d08f61427f63  stacksize-reduction.patch"