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

github.setup           Serial-Studio Serial-Studio 1.1.7 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from    tarball
revision               0

categories             sysutils graphics
license                MIT
maintainers            {@sikmir disroot.org:sikmir} openmaintainer

description            Multi-purpose serial data visualization & processing program
long_description       {*}${description}

homepage               https://serial-studio.github.io/

# Fetch from git instead of distfile because it needs submodules
fetch.type             git

post-fetch {
    system -W ${worksrcpath} "git submodule update --init"
}

qt5.depends_component  qtquickcontrols2 \
                       qtserialport \
                       qtsvg

destroot {
    copy ${worksrcpath}/SerialStudio.app ${destroot}${applications_dir}
}
