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

# error: redefinition of typedef ‘cdrom_paranoia_t’
compiler.c_standard 2011

epoch               102
github.setup        libcdio libcdio-paranoia 10.2+2.0.2 release-
revision            0
checksums           rmd160  8df8a7bf3848090340ac926e779bd9d94f4a3011 \
                    sha256  186892539dedd661276014d71318c8c8f97ecb1250a86625256abd4defbf0d0c \
                    size    2450370

version             [lindex [split ${version} +] 1]
categories          audio
license             GPL-3
maintainers         nomaintainer

description         CDDA audio extraction library
long_description    This CDDA reader distribution reads audio from the CDROM directly \
                    as data, with no analog step between, and writes the data to a file \
                    or pipe as .wav, .aifc or as raw 16 bit linear PCM.

homepage            https://www.gnu.org/software/libcdio/
github.tarball_from releases
use_bzip2           yes

depends_build       port:gettext \
                    path:bin/pkg-config:pkgconfig

depends_lib         port:gettext-runtime \
                    port:libcdio

configure.args      --disable-silent-rules --without-versioned-libs

test.run            yes
test.target         check
