# -*- 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 7b4ac5563d1340ced54978875b1eaa9ed22c5140 \
sha256 8038ef84dddbe7ad91c205bf91dddf684f072df8623f39b6555a6bb72837b85a
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* {clang < 300}
configure.args --disable-compile-warnings \