# -*- 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.2.0 v
github.tarball_from archive
revision            0
categories          net
platforms           darwin
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  def83fdc221765c17ead94a60a1a51b88ff94a8d \
                    sha256  4b9fba7c53cabec4cc702bf47fb421f078d6f31421b7bea8f3f0fdbe1a671674 \
                    size    1181348

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
