# -*- 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

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

description         Soapy SDR module for SDRPlay
long_description    {*}${description}

github.setup        pothosware SoapySDRPlay2 4bf80bc337f7ac4d1930645039f530cd81fce7c3
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             20211121-[string range ${github.version} 0 7]
checksums           rmd160  d9575f21949b28103b68086ca5ebebaf4a6445c2 \
                    sha256  85f772f0873516e6c3106fcec1bf45d3129d62c77fcf3fc66557bb668897b161 \
                    size    13899
revision            0

compiler.cxx_standard 2011

depends_lib-append \
    port:SoapySDR \
    port:SDRplay
