# -*- 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

PortSystem          1.0

name                telepathy-gabble
version             0.18.4
license             LGPL-2.1 MIT
description         The ${name} component of Telepathy - a Flexible Communications Framework
long_description    Gabble is a Jabber/XMPP connection manager that handles single- and multi-user \
                    chats and voice/video calls.
maintainers         {devans @dbevans} openmaintainer
categories          comms
homepage            https://telepathy.freedesktop.org/wiki/
master_sites        https://telepathy.freedesktop.org/releases/${name}/

checksums           rmd160  0d4edd878501acb34a6db003df8ce77cf3f32392 \
                    sha256  115c91572c72d4a40f0b25b606167b4f2f09441dc7bf1036ccbb1450f1a4969c

depends_build       port:pkgconfig

depends_lib         path:lib/pkgconfig/gnutls.pc:gnutls \
                    port:telepathy-glib \
                    port:libxslt \
                    port:libsoup-2.4 \
                    port:libnice \
                    port:cyrus-sasl2 \
                    port:py27-twisted

patchfiles          patch-configure.diff \
                    patch-lib-ext-wocky-Makefile.in.diff

configure.python    ${prefix}/bin/python2.7

configure.args      --disable-silent-rules \
                    --without-ca-certificates \
                    --disable-Werror

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}