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

categories          science comms
license             GPL-2+
maintainers         {ra1nb0w @ra1nb0w} openmaintainer
description         The DAB library provides entries for the \
    functionality to handle DAB/DAB+ through some simple calls.
long_description    {*}${description}

github.setup        srcejon dab-cmdline d615e2ba085f91dc7764cc28dfc4c9df49ee1a93
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             20230302-[string range ${github.version} 0 7]
checksums           rmd160  6ed06581a33ec19b0d80c325322ca28b1d6fbe0e \
                    sha256  7b74b9e466428b30b9b46ef365ddd4eb652eaa1255804c97f98686552a89b65d \
                    size    1225637
revision            1

cmake.source_dir    ${worksrcpath}/library

compiler.cxx_standard 2011

depends_build-append \
    port:pkgconfig

depends_lib-append \
    port:fftw-3-single \
    port:faad2 \
    port:zlib
