35 lines
1.0 KiB
Bash
35 lines
1.0 KiB
Bash
# Template file for 'pixman'
|
|
pkgname=pixman
|
|
version=0.42.2
|
|
revision=1
|
|
build_style=meson
|
|
# gtk is only necessary for demos, disabled to avoid dependency loop
|
|
# openmp is only used in demos and tests, and things still test without it
|
|
configure_args="-Dgnu-inline-asm=enabled -Dlibpng=enabled -Diwmmxt=disabled
|
|
-Dopenmp=disabled -Dgtk=disabled"
|
|
hostmakedepends="pkg-config perl"
|
|
makedepends="libpng-devel"
|
|
short_desc="Library of low-level pixel manipulation routines"
|
|
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
|
license="MIT"
|
|
homepage="http://pixman.org/"
|
|
distfiles="https://www.cairographics.org/releases/pixman-${version}.tar.gz"
|
|
checksum=ea1480efada2fd948bc75366f7c349e1c96d3297d09a3fe62626e38e234a625e
|
|
|
|
# set stacksize for musl: https://gitlab.gnome.org/GNOME/librsvg/-/issues/595
|
|
LDFLAGS="-Wl,-z,stack-size=2097152"
|
|
|
|
post_install() {
|
|
vlicense COPYING LICENSE
|
|
}
|
|
|
|
pixman-devel_package() {
|
|
depends="pixman>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|