diff --git a/audio/openal-soft/Portfile b/audio/openal-soft/Portfile
index f7d969e1ea..b8e9e0b58b 100644
a
|
b
|
|
1 | 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 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | | PortGroup cmake 1.0 |
| 4 | PortGroup cmake 1.1 |
5 | 5 | |
6 | 6 | name openal-soft |
7 | | version 1.15.1 |
8 | | revision 2 |
| 7 | version 1.18.1 |
9 | 8 | categories audio devel |
10 | 9 | platforms darwin |
11 | 10 | maintainers ryandesign openmaintainer |
… |
… |
long_description OpenAL Soft is a ${description}. It's forked from the \ |
24 | 23 | air absorption, occlusion, and environmental reverb, \ |
25 | 24 | are available through the EFX extension. It also \ |
26 | 25 | facilitates streaming audio, multi-channel buffers, \ |
27 | | and audio capture. |
| 26 | and audio capture. \ |
| 27 | The configuration utility requires Qt5 and is thus not installed by default \ |
| 28 | (use the +utilities variant if you require it). |
28 | 29 | |
29 | 30 | homepage http://kcat.strangesoft.net/openal.html |
30 | 31 | master_sites http://kcat.strangesoft.net/openal-releases |
31 | 32 | use_bzip2 yes |
32 | 33 | |
33 | | checksums rmd160 6c04d117712bb20ea9670e143a29b0ca738b6040 \ |
34 | | sha256 0e29a162f0841ccb4135ce76e92e8a704589b680a85eddf76f898de5236eb056 |
| 34 | checksums rmd160 f822be811120db3092225da544dc9ca7746bc47e \ |
| 35 | sha256 2d51a6529526ef22484f51567e31a5c346a599767991a3dc9d4dcd9d9cec71dd |
35 | 36 | |
36 | 37 | depends_build-append port:pkgconfig |
37 | 38 | |
38 | | depends_lib-append port:portaudio \ |
39 | | port:pulseaudio |
| 39 | depends_lib-append port:portaudio |
40 | 40 | |
41 | | configure.args-append -DEXAMPLES=OFF |
| 41 | # maintainer convenience: have cmake print a diagnostic summary |
| 42 | patchfiles-append patch-feature-summary.diff |
| 43 | |
| 44 | configure.args-append -DALSOFT_EXAMPLES=OFF \ |
| 45 | -DALSOFT_REQUIRE_PULSEAUDIO=OFF -DALSOFT_BACKEND_PULSEAUDIO=OFF \ |
| 46 | -DALSOFT_REQUIRE_JACK=OFF -DALSOFT_BACKEND_JACK=OFF |
| 47 | |
| 48 | variant pulseaudio description {build with PulseAudio support} {} |
| 49 | if {[variant_isset pulseaudio]} { |
| 50 | depends_lib-append port:pulseaudio |
| 51 | configure.args-replace \ |
| 52 | -DALSOFT_REQUIRE_PULSEAUDIO=OFF -DALSOFT_BACKEND_PULSEAUDIO=OFF \ |
| 53 | -DALSOFT_REQUIRE_PULSEAUDIO=ON -DALSOFT_BACKEND_PULSEAUDIO=ON |
| 54 | } |
| 55 | |
| 56 | variant jack description {build with Jack support} {} |
| 57 | if {[variant_isset jack]} { |
| 58 | depends_lib-append port:jack |
| 59 | configure.args-replace \ |
| 60 | -DALSOFT_REQUIRE_JACK=OFF -DALSOFT_BACKEND_JACK=OFF \ |
| 61 | -DALSOFT_REQUIRE_JACK=ON -DALSOFT_BACKEND_JACK=ON |
| 62 | } |
| 63 | |
| 64 | variant utilities description {install the utilities too} {} |
| 65 | if {[variant_isset utilities]} { |
| 66 | PortGroup qt5 1.0 |
| 67 | configure.args-append \ |
| 68 | -DALSOFT_UTILS=ON \ |
| 69 | -DALSOFT_NO_CONFIG_UTIL=OFF \ |
| 70 | -DALSOFT_TESTS=ON |
| 71 | } else { |
| 72 | configure.args-append \ |
| 73 | -DALSOFT_UTILS=OFF \ |
| 74 | -DALSOFT_NO_CONFIG_UTIL=ON \ |
| 75 | -DALSOFT_TESTS=OFF |
| 76 | } |
42 | 77 | |
43 | 78 | livecheck.type regex |
44 | 79 | livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix} |