# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup compiler_blacklist_versions 1.0 PortGroup meson 1.0 PortGroup muniversal 1.0 # Please keep the libpixman and libpixman-devel ports as similar as possible. name libpixman-devel conflicts libpixman set my_name pixman version 0.43.4 revision 0 checksums rmd160 344d0e77ec49ac2bdf6cb2c5fe7595b44d07dea7 \ sha256 48d8539f35488d694a2fef3ce17394d1153ed4e71c05d1e621904d574be5df19 \ size 636900 categories graphics maintainers {ryandesign @ryandesign} {mascguy @mascguy} license X11 homepage http://www.pixman.org master_sites https://www.x.org/archive/individual/lib/ use_xz yes distname ${my_name}-${version} dist_subdir ${my_name} description Pixel region Library long_description libpixman is a generic library for manipulating pixel \ regions. A PixRegion is a set of Y-X banded rectangles \ that cover the desired region. # Disable unexpected download of subprojects meson.wrap_mode nodownload # Upstream patch for dylib versioning. Expected to be included in future release. # See: https://gitlab.freedesktop.org/pixman/pixman/-/issues/81 patchfiles-append patch-meson-dylib-versions.diff depends_build-append \ path:bin/pkg-config:pkgconfig # llvm-gcc-4.2 makes cairo fail to generate PDFs properly # clang on Xcode 4.1 cannot build libpixman compiler.blacklist llvm-gcc-4.2 {clang < 211.10.1} configure.checks.implicit_function_declaration.whitelist-append \ strchr configure.args-append \ -Dgtk=disabled \ -Dlibpng=disabled \ -Dmmx=disabled \ -Dopenmp=disabled test.run yes post-destroot { set docdir ${destroot}${prefix}/share/doc/libpixman xinstall -d ${docdir} xinstall -m 0644 -W ${worksrcpath} \ COPYING \ README \ ${docdir} } platform darwin 8 powerpc { # apple-gcc-4.2 makes Tiger ppc fail to detect pthread support and then fail to build compiler.blacklist-append apple-gcc-4.2 } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${my_name}-(\[0-9.\]+)${extract.suffix}