# -*- 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           meson 1.0
PortGroup           gobject_introspection 1.0

name                libvirt-glib
version             5.0.0
revision            0
categories          sysutils
license             LGPL-2.1+
maintainers         {danchr @danchr} openmaintainer

description         GLib and GObject mapping for Libvirt
long_description    GLib and GObject mapping for Libvirt - The Virtualization \
                    API

homepage            https://libvirt.org
master_sites        https://download.libvirt.org/glib

use_xz              yes

checksums           rmd160  2e99d5fba74e2a66a1a7d1c86e160dd12a397ef4 \
                    sha256  9bfec346382416a3575d87299bc641b2a464aa519fd9b1287e318aa43a2f3b8b \
                    size    169416

gobject_introspection yes

depends_lib-append  path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:libvirt

depends_build-append \
                    path:bin/pkg-config:pkgconfig \
                    port:intltool \
                    port:gtk-doc \
                    path:bin/vala:vala

# meson-config.h.in specifically disallows these older compilers.
compiler.blacklist  {*gcc-4.[0-7]} {clang < 503} {macports-clang-3.[0-3]}

# platform darwin 15 {
#     depends_build-append   port:dash
#     configure.cmd-prepend ${prefix}/bin/dash -xv
# }
