# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           gobject_introspection 1.0

name                gssdp
version             1.0.2
license             LGPL
set branch          [join [lrange [split ${version} .] 0 1] .]
description         A GObject-based API for handling resource discovery and announcement over SSDP.
long_description    ${description}
maintainers         {devans @dbevans} openmaintainer
categories          net gnome
platforms           darwin
homepage            https://wiki.gnome.org/Projects/GUPnP
master_sites        gnome:sources/${name}/${branch}/

use_xz              yes

checksums           rmd160  fd219b994b6b207f19e5b0cbb420b809fa1c03f8 \
                    sha256  a1e17c09c7e1a185b0bd84fd6ff3794045a3cd729b707c23e422ff66471535dc

depends_build       port:pkgconfig \
                    port:gnome-common

depends_lib         port:gtk3 \
                    port:libsoup \
                    port:vala

gobject_introspection yes

patchfiles          patch-m4-ax_compiler_flags_ldflags.m4.diff

use_autoreconf      yes
autoreconf.args     -fvi

configure.args      --enable-compile-warnings=no \
                    --disable-silent-rules

livecheck.type      gnome