Ticket #42986: Portfile

File Portfile, 2.1 KB (added by lubodiakov@…, 10 years ago)

Portfile with new "pulseaudio" variant, on by default but can be disabled

Line 
1# -*- 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
2# $Id: Portfile 118122 2014-03-23 05:39:56Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               cmake 1.0
6
7name                    openal-soft
8version                 1.15.1
9revision                1
10categories              audio devel
11platforms               darwin
12maintainers             ryandesign openmaintainer
13license                 LGPL-2
14
15description             cross-platform software implementation of the OpenAL \
16                        3D audio API
17
18long_description        OpenAL Soft is a ${description}. It's forked from the \
19                        open-sourced Windows version available originally \
20                        from the SVN repository at openal.org. OpenAL \
21                        provides capabilities for playing audio in a virtual \
22                        3D environment. Distance attenuation, doppler shift, \
23                        and directional sound emitters are among the features \
24                        handled by the API. More advanced effects, including \
25                        air absorption, occlusion, and environmental reverb, \
26                        are available through the EFX extension. It also \
27                        facilitates streaming audio, multi-channel buffers, \
28                        and audio capture.
29
30homepage                http://kcat.strangesoft.net/openal.html
31master_sites            http://kcat.strangesoft.net/openal-releases
32use_bzip2               yes
33
34checksums               rmd160  6c04d117712bb20ea9670e143a29b0ca738b6040 \
35                        sha256  0e29a162f0841ccb4135ce76e92e8a704589b680a85eddf76f898de5236eb056
36
37depends_build-append    port:pkgconfig
38
39depends_lib-append      port:portaudio
40
41configure.args-append   -DEXAMPLES=OFF
42
43variant pulseaudio description {With Pulseaudio and X11 dependencies}   {
44
45depends_lib-append      port:pulseaudio
46}
47
48    default_variants +pulseaudio
49
50
51livecheck.type          regex
52livecheck.regex         /${name}-(\[0-9.\]+)${extract.suffix}