name=pixman
version=0.43.4
revision=1
tarball_url="https://www.x.org/archive/individual/lib/pixman-${version}.tar.xz"
tarball_blake2b="c31e5700bfadcd72f522af50509a4a6cd7bbf90c918c75b108e50246f1c76e858125138902a222040ada192710ec788deb43eb65085416f3eff88e3ed970933e"
imagedeps="meson ninja"
hostdeps="gcc pkg-config"
deps="core-libs libpng"

build() {
    meson_configure

    ninja -j${parallelism}
}

package() {
    DESTDIR="${dest_dir}" ninja install

    post_package_strip
}
