# pixman - Low-level pixel manipulation
# Generated from manifest.tsv by gen-ports.py. Edit the manifest, not this file,
# unless the package needs something the template cannot express - in which case
# drop a `recipe.local` beside it and it will be preserved.
name=pixman
version=0.46.4
release=1
desc="Low-level pixel manipulation"
url="http://pixman.org/"
license="MIT"
depend="glibc"
makedepend="meson ninja"
source="https://x.org/pub/individual/lib/pixman-0.46.4.tar.xz"
sha256="SKIP"

build() {
	cd "pixman-0.46.4"
	meson setup build \
		--prefix=/usr \
		--libdir=/usr/lib \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--buildtype=release \
		--wrap-mode=nodownload \
		-Db_lto=true
	ninja -C build -j"$JOBS"
}

package() {
	cd "pixman-0.46.4"
	DESTDIR="$pkgdir" ninja -C build install
}
