summaryrefslogblamecommitdiff
path: root/user/pixman/APKBUILD
blob: b8bf2ba58621ab7e710edc7fe570d7c01810a501 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                 

             



                                              

                                           
                                       
                                                                         


                                 



                      
         

                                  



                                 
                                 





                                    



                  


                                      

                                                                                                                                                                  
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=pixman
pkgver=0.42.2
pkgrel=0
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.xz
	stacksize-reduction.patch
	"

# secfixes:
#   0.42.2-r0:
#     - CVE-2022-44638

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="3476e2676e66756b1af61b1e532cd80c985c191fb7956eb01702b419726cce99e79163b7f287f74f66414680e7396d13c3fee525cd663f12b6ac4877070ff4e8  pixman-0.42.2.tar.xz
0dc8cf94690381d32c1bebf33925475891888f19403ebe2e0dc82841ddba3689284fd88d68d751cbf8179aa968b5238455a21047a3c60a0dd6aeac615020ebdd  stacksize-reduction.patch"