# -*- 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 fe3bffa54e3c8db18abcbecb839405ff4d8473ba \
sha256 794b162ee566d85eded8c3f3e8c9c99f6b718a6b812d8b56f0c2ed72ac37cbbb \
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-3.* *gcc-4.* {clang < 300}
gobject_introspection yes
configure.cppflags-append \
configure.args --enable-compile-warnings=no \