# -*- 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
# $Id: Portfile 107958 2013-07-09 22:08:29Z devans@macports.org $

PortSystem 1.0

name            gupnp-av
version         0.12.2
license         LGPL
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 openmaintainer
categories      net gnome
platforms       darwin
homepage        https://live.gnome.org/GUPnP/
master_sites    gnome:sources/${name}/${branch}/

use_xz          yes

checksums       rmd160  97763b9150587c825e13b32602cc86eaf799dfff \
                sha256  43597bdfb1c352338e706962ff7fcdbcb544c5a36f27c9c2aaa5a550b6990270

depends_build   port:pkgconfig

depends_lib     port:gupnp \
                port:gobject-introspection \
                port:vala

if {${configure.compiler} != "clang"} {
    patchfiles-append   patch-test-Makefile.in.diff
}

configure.args  --disable-silent-rules \
                --enable-introspection=yes

livecheck.type  gnome
