# -*- 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-AV is a collection of helpers for building AV (audio/video) applications using GUPnP.
long_description ${description}
maintainers {devans @dbevans} openmaintainer
homepage https://wiki.gnome.org/Projects/GUPnP
master_sites gnome:sources/${name}/${branch}/
checksums rmd160 9f307e73551d5f121efbef47842ddf7dc17b4c1f \
sha256 689dcf1492ab8991daea291365a32548a77d1a2294d85b33622b55cca9ce6fdc \
depends_build port:pkgconfig
patchfiles patch-m4-ax_compiler_flags_ldflags.m4.diff
gobject_introspection yes
# autoreconf after patching m4 macros
# 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}
configure.args --disable-compile-warnings \