# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem          1.0
PortGroup           github 1.0

github.setup        mcabber loudmouth 1.5.4
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0
checksums           rmd160  689e9055a8f675afdef624a0ab4c26f45d3f5277 \
                    sha256  31cbc91c1fddcc5346b3373b8fb45594e9ea9cc7fe36d0595e8912c47ad94d0d \
                    size    361323

categories          net devel
maintainers         {ryandesign @ryandesign} openmaintainer
license             LGPL-2+

description         A lightweight C library for the jabber protocol.
long_description    Loudmouth is a lightweight and easy-to-use C \
                    library for programming with the Jabber protocol. \
                    It's designed to be easy to get started with and yet \
                    extensible to let you do anything the Jabber protocol allows.

master_sites        https://mcabber.com/files/loudmouth/
use_bzip2           yes

depends_build       port:pkgconfig

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    path:lib/pkgconfig/gnutls.pc:gnutls \
                    port:kerberos5 \
                    port:libidn

configure.args      --disable-gtk-doc

# Disable -Werror due to glib deprecation warning.
# https://github.com/mcabber/loudmouth/issues/42#issuecomment-767171887
configure.args-append \
                    --with-compile-warnings=maximum
