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

platforms           darwin macosx
categories          science
license             MIT
maintainers         {ra1nb0w @ra1nb0w} {michaelld @michaelld} openmaintainer

description         Soapy SDR plugin for Audio devices
long_description    {*}${description}

github.setup        pothosware SoapyAudio 0.1.1 soapy-audio-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
checksums           rmd160  33abfd40e489471fcec1da2363bda51e0c900b87 \
                    sha256  0782c8a865e22cc253f534293782e48c5b23d6b79bf003fc0be4d3053f701902 \
                    size    93936
revision            1

compiler.cxx_standard 2011

depends_build-append \
    port:pkgconfig

depends_lib-append \
    port:SoapySDR \
    path:lib/libhamlib.dylib:hamlib \
    port:rtaudio

configure.args-append \
    -DCMAKE_BUILD_TYPE=Release
