# -*- 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             Boost-1
maintainers         {ra1nb0w @ra1nb0w} {michaelld @michaelld} openmaintainer

description         SDR source and sink blocks for interfacing SDR hardware with Pothos.
long_description    {*}${description}

github.setup        pothosware PothosSoapy 0.5.1 pothos-soapy-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
checksums           rmd160  a8565f32466a3370fc0495a8ddd8d21d6aa4b935 \
                    sha256  81c8ec8beb1f9264f31bfc43ed4a1594c9c0d1b3be8ada2c2635f0735546c3be \
                    size    29567
revision            3

compiler.cxx_standard 2011

# Needed due to nlohmann-json:
#   error: field has incomplete type
compiler.blacklist-append \
    {clang < 900}

depends_lib-append \
    port:PothosCore \
    port:poco \
    port:nlohmann-json \
    port:SoapySDR
