Ticket #53370: openalsoft.2.diff

File openalsoft.2.diff, 3.5 KB (added by RJVB (René Bertin), 7 years ago)

v 1.18.1

  • audio/openal-soft/Portfile

    diff --git a/audio/openal-soft/Portfile b/audio/openal-soft/Portfile
    index f7d969e1ea..b8e9e0b58b 100644
    a b  
    11# -*- 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
    22
    33PortSystem              1.0
    4 PortGroup               cmake 1.0
     4PortGroup               cmake 1.1
    55
    66name                    openal-soft
    7 version                 1.15.1
    8 revision                2
     7version                 1.18.1
    98categories              audio devel
    109platforms               darwin
    1110maintainers             ryandesign openmaintainer
    long_description OpenAL Soft is a ${description}. It's forked from the \ 
    2423                        air absorption, occlusion, and environmental reverb, \
    2524                        are available through the EFX extension. It also \
    2625                        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).
    2829
    2930homepage                http://kcat.strangesoft.net/openal.html
    3031master_sites            http://kcat.strangesoft.net/openal-releases
    3132use_bzip2               yes
    3233
    33 checksums               rmd160  6c04d117712bb20ea9670e143a29b0ca738b6040 \
    34                         sha256  0e29a162f0841ccb4135ce76e92e8a704589b680a85eddf76f898de5236eb056
     34checksums               rmd160  f822be811120db3092225da544dc9ca7746bc47e \
     35                        sha256  2d51a6529526ef22484f51567e31a5c346a599767991a3dc9d4dcd9d9cec71dd
    3536
    3637depends_build-append    port:pkgconfig
    3738
    38 depends_lib-append      port:portaudio \
    39                         port:pulseaudio
     39depends_lib-append      port:portaudio
    4040
    41 configure.args-append   -DEXAMPLES=OFF
     41# maintainer convenience: have cmake print a diagnostic summary
     42patchfiles-append       patch-feature-summary.diff
     43
     44configure.args-append   -DALSOFT_EXAMPLES=OFF \
     45                        -DALSOFT_REQUIRE_PULSEAUDIO=OFF -DALSOFT_BACKEND_PULSEAUDIO=OFF \
     46                        -DALSOFT_REQUIRE_JACK=OFF -DALSOFT_BACKEND_JACK=OFF
     47
     48variant pulseaudio description {build with PulseAudio support} {}
     49if {[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
     56variant jack description {build with Jack support} {}
     57if {[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
     64variant utilities description {install the utilities too} {}
     65if {[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}
    4277
    4378livecheck.type          regex
    4479livecheck.regex         /${name}-(\[0-9.\]+)${extract.suffix}