35 lines
1.0 KiB
Bash
35 lines
1.0 KiB
Bash
# Template file for 'pixman'
|
|
pkgname=pixman
|
|
version=0.43.4
|
|
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=a0624db90180c7ddb79fc7a9151093dc37c646d8c38d3f232f767cf64b85a226
|
|
|
|
# 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"
|
|
}
|
|
}
|