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

name                gr-iqbalance
homepage            http://sdr.osmocom.org/trac/wiki/GrOsmoSDR
license             GPL-3
maintainers         {michaelld @michaelld} {ra1nb0w @ra1nb0w} openmaintainer
description         gr-iqbalance provides I/Q balancing blocks for GNU Radio
long_description    {*}${description}. This port is kept up with the \
    gr-iqbal GIT 'master' branch, which is typically updated monthly.

if {${subport} eq ${name}} {

    github.setup  osmocom gr-iqbal 0.38.2 v
    # Change github.tarball_from to 'releases' or 'archive' next update
    github.tarball_from tarball
    checksums     rmd160  e6dc5ca7e8587131a7826f77f4c55a5e4e929d17 \
                  sha256  7a133cb0329b4695d959455638fdb603e3e027cabdc51ec721e501b50cb5facc \
                  size    106418
    revision      3

    # move from date to version
    epoch         1

    conflicts     gr37-iqbalance

}

subport gr37-iqbalance {

    name          gr37-iqbalance

    github.setup  osmocom gr-iqbal fc67c92f0a739b2c998689f4bda155eb14700a78
    # Change github.tarball_from to 'releases' or 'archive' next update
    github.tarball_from tarball
    version       20191111
    checksums     rmd160  aeb13e2182f03e9c304e25c938bcf46679435db0 \
                  sha256  60ebcc9a563090ce49a13be6acc2dd5b6b41cacc17bb48fb6ca1cbadadac9ded \
                  size    105936
    revision      1
    git.branch    gr3.7
    github.livecheck.branch gr3.7

    conflicts     gr-iqbalance

}

depends_lib-append \
    port:libosmo-dsp
