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

name            libsdl2_sound
github.setup    icculus SDL_sound 2.0.6 v
revision        0
categories      audio devel
license         Artistic-1 LGPL-2.1+ zlib
maintainers     nomaintainer
description     Abstract soundfile decoder for SDL
long_description \
                {*}${description}
distname        SDL2_sound-${version}
checksums       rmd160  0e638d90b332620bb4fee2d867d861f89b483b77 \
                sha256  63be57cc80bcd29aeed6c29700759871c44c90251a7508b8d0eacd8d9cece30c \
                size    469561
github.tarball_from releases

worksrcdir      ${github.project}-${version}

depends_build-append \
                path:bin/pkg-config:pkgconfig
depends_lib     port:libsdl2

configure.args-append \
                -DSDLSOUND_DECODER_MODPLUG=OFF
