# -*- 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
PortGroup compiler_blacklist_versions 1.0
PortGroup gobject_introspection 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
description GUPnP is an elegant, object-oriented open source framework for creating UPnP devices and control points.
long_description GUPnP is an elegant, object-oriented open source framework for creating UPnP devices and control points, \
written in C using GObject and libsoup. The GUPnP API is intended to be easy to use, efficient and flexible. \
It provides the same set of features as libupnp, but shields the developer from most of UPnP's internals.
maintainers {devans @dbevans} openmaintainer
homepage https://wiki.gnome.org/Projects/GUPnP
master_sites gnome:sources/${name}/${branch}/
checksums rmd160 655a89208b6f6b9817279e89f5106b9d0b53d075 \
sha256 5173fda779111c6b01cd4a5e41b594322be9d04f8c74d3361f0a0c2069c77610
depends_build port:pkgconfig
# blacklist compilers that do not support C11
# due to error: redefinition of typedef 'GUPnPService'
# build fix for SL and earlier
compiler.blacklist *gcc* {clang < 300}
gobject_introspection yes
configure.cppflags-append \
configure.args --enable-compile-warnings=no \