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

name                a52dec
version             0.8.0
revision            0
categories          audio
maintainers         nomaintainer
license             GPL-2+
description         library for decoding ATSC A/52 streams, aka AC-3
long_description    liba52 is a free library for decoding ATSC A/52 \
	                streams. It is released under the terms of the GPL \
	                license. The A/52 standard is used in a variety \
                    of applications, including digital television and DVD. \
                    It is also known as AC-3.
homepage            https://liba52.sourceforge.net
master_sites        https://distfiles.adelielinux.org/source/a52dec/
checksums           rmd160  9864926515353d46a4ba37eac96d350d40f18e85 \
                    sha256  03c181ce9c3fe0d2f5130de18dab9bd8bc63c354071515aa56983c74a9cffcc9 \
                    size    456192

use_autoreconf      yes
autoreconf.args     -fvi

compiler.c_standard 1989

configure.cflags-append \
                    -std=gnu89

configure.args      --enable-shared

livecheck.type      regex
livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
