# -*- 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 119882 2014-05-08 22:02:47Z devans@macports.org $

PortSystem      1.0

name            farstream
version         0.2.4
license         LGPL-2.1+
description     Farstream  - Audio/Video Communications Framework
long_description \
                The Farstream project is an effort to create a framework \
                to deal with all known audio/video conferencing protocols. \
                On one side it offers a generic API that makes it possible \
                to write plugins for different streaming protocols, on the \
                other side it offers an API for clients to use those plugins.
maintainers     devans openmaintainer
categories      comms
platforms       darwin
homepage        http://www.freedesktop.org/wiki/Software/Farstream/
master_sites    http://freedesktop.org/software/farstream/releases/${name}/

checksums       rmd160  18b343794877fa726b69511d7a7ecd6059775086 \
                sha256  120d5b5cd79fcbe19d9e046526fc4bc059e0a3733b3de2d7e5299dc5a3a7bb30

depends_build   port:pkgconfig \
                port:gtk-doc

depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2 \
                port:libnice \
                port:gstreamer1-gst-plugins-base \
                port:gobject-introspection \
                port:gupnp-igd

depends_run     port:gstreamer1-gst-plugins-bad \
                port:gstreamer1-gst-plugins-good

patchfiles      patch-configure.diff

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

livecheck.type  regex
livecheck.url   ${master_sites}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
