# -*- 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
# $Id: Portfile 118122 2014-03-23 05:39:56Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               cmake 1.0

name                    openal-soft
version                 1.15.1
revision                1
categories              audio devel
platforms               darwin
maintainers             ryandesign openmaintainer
license                 LGPL-2

description             cross-platform software implementation of the OpenAL \
                        3D audio API

long_description        OpenAL Soft is a ${description}. It's forked from the \
                        open-sourced Windows version available originally \
                        from the SVN repository at openal.org. OpenAL \
                        provides capabilities for playing audio in a virtual \
                        3D environment. Distance attenuation, doppler shift, \
                        and directional sound emitters are among the features \
                        handled by the API. More advanced effects, including \
                        air absorption, occlusion, and environmental reverb, \
                        are available through the EFX extension. It also \
                        facilitates streaming audio, multi-channel buffers, \
                        and audio capture.

homepage                http://kcat.strangesoft.net/openal.html
master_sites            http://kcat.strangesoft.net/openal-releases
use_bzip2               yes

checksums               rmd160  6c04d117712bb20ea9670e143a29b0ca738b6040 \
                        sha256  0e29a162f0841ccb4135ce76e92e8a704589b680a85eddf76f898de5236eb056

depends_build-append    port:pkgconfig

depends_lib-append      port:portaudio \
                        port:pulseaudio

configure.args-append   -DEXAMPLES=OFF

livecheck.type          regex
livecheck.regex         /${name}-(\[0-9.\]+)${extract.suffix}
