# -*- 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 github 1.0 PortGroup muniversal 1.0 github.setup hughsie appstream-glib 0_7_18 appstream_glib_ version [string map {_ .} ${version}] revision 0 license LGPL-2+ categories devel maintainers {devans @dbevans} openmaintainer platforms darwin homepage https://people.freedesktop.org/~hughsient/appdata/ description This library provides objects and helper methods to help \ reading and writing AppStream metadata. long_description {*}${description} checksums rmd160 5a778cb457441f08aa454868857664ab64b1e6c9 \ sha256 0d3acfa0b4a5cc2c45d9cf8b0954b0376d21084cc102ac10f36f2fd9b1707daa \ size 2580599 depends_build-append \ port:pkgconfig \ port:gperf \ port:gtk-doc depends_lib-append \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:libarchive \ path:lib/pkgconfig/libsoup-2.4.pc:libsoup \ port:libstemmer \ port:libxslt \ port:libyaml \ port:docbook-xml \ port:docbook-xsl-nons \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ path:lib/pkgconfig/gobject-introspection-1.0.pc:gobject-introspection \ path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \ port:fontconfig \ port:freetype \ port:json-glib patchfiles use-system-uuid.patch post-patch { reinplace "s|__SDK_PATH__|${configure.sdkroot}|g" ${worksrcpath}/meson.build } # attempt to fix build on 10.6 by blacklisting troublesome compilers compiler.blacklist-append *gcc-3.* *gcc-4.* {clang < 300} # gobject-introspection uses g-ir-scanner, which uses $CC from env if {${universal_possible} && [variant_isset universal]} { foreach arch ${configure.universal_archs} { lappend merger_build_env(${arch}) "CC=${configure.cc} -arch ${arch}" lappend merger_destroot_env(${arch}) "CC=${configure.cc} -arch ${arch}" } } else { build.env-append "CC=${configure.cc} ${configure.cc_archflags}" destroot.env-append "CC=${configure.cc} ${configure.cc_archflags}" } configure.args -Drpm=false \ -Dgtk-doc=true