# -*- 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           legacysupport 1.1
PortGroup           python 1.0
PortGroup           app 1.0

# clock_gettime
legacysupport.newest_darwin_requires_legacy 15

name                quisk
categories          science comms
license             GPL-2
maintainers         {ra1nb0w @ra1nb0w} openmaintainer
description         QUISK is a Software Defined Radio (SDR) transceiver that can control various radio hardware.
long_description    {*}${description}

homepage            https://james.ahlstrom.name/quisk/

version             4.2.50
checksums           rmd160  dfeed1052a763ffeb6ae508d88f2d1c79d049547 \
                    sha256  1c5661549c4351e14315ba166068ae2581bc7dbfb179604a2a2ffab81883a7ce \
                    size    13144971
revision            0

python.default_version 314

depends_lib-append \
    port:py${python.version}-pyusb \
    port:py${python.version}-wxpython-4.0 \
    port:portaudio \
    port:SoapySDR \
    port:fftw-3 \
    port:codec2 \
    port:wdsp

app.create yes
app.name Quisk
app.executable ${python.prefix}/bin/quisk
app.icon ${filespath}/icon.icns
app.retina yes
