# -*- 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           muniversal 1.0
PortGroup           github 1.0
PortGroup           cmake 1.1

github.setup        baresip baresip 4.6.0 v
github.tarball_from archive
revision            0
categories          net
maintainers         {db.org:aeh @alfredh}
license             BSD
description         portable and modular SIP User-Agent \
                    with audio and video support
long_description    ${name} is a ${description}.

checksums           rmd160  cbf27854b0de7d8167f8efd7aa5c4ea7e33fa229 \
                    sha256  af190d326891c6c51f45af130bca00a4826c7de9f9cbec3c3f4ff90d7393739c \
                    size    1204597

depends_build-append \
                    port:pkgconfig

set ffmpeg_ver      8

depends_lib         port:libre \
                    port:libsdl2 \
                    path:lib/libssl.dylib:openssl \
                    port:spandsp-devel \
                    port:ffmpeg${ffmpeg_ver} \
                    port:libgsm \
                    port:codec2

configure.pkg_config_path \
                    ${prefix}/libexec/ffmpeg${ffmpeg_ver}/lib/pkgconfig
