<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3c0079769ac3770b836569c1fdb6c2e039b55eef">https://github.com/macports/macports-ports/commit/3c0079769ac3770b836569c1fdb6c2e039b55eef</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3c0079769ac3770b836569c1fdb6c2e039b55eef
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sat Jan 20 12:46:20 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    libsoundio: non-functional: minor improvements to portfile
</span>---
 audio/libsoundio/Portfile | 34 +++++++++++++---------------------
 1 file changed, 13 insertions(+), 21 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/libsoundio/Portfile b/audio/libsoundio/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d78fbef18c7..ba213f151bd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/libsoundio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/libsoundio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,8 +2,8 @@
</span> 
 PortSystem                  1.0
 PortGroup                   cmake 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup                   github 1.0
</span> PortGroup                   compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup                   github 1.0
</span> 
 github.setup                andrewrk libsoundio 2.0.0
 checksums                   rmd160  1e1c2c350137174593d84a32c6aa45fb18744367 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,17 +14,17 @@ revision                    0
</span> license                     MIT
 categories                  audio
 maintainers                 nomaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage                    http://libsound.io/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms                   darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms                   {darwin >= 10}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage                    http://libsound.io
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description                 cross-platform audio input and output
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description            libsoundio is a lightweight abstraction over \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            various sound drivers. It provides a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            well-documented API that operates consistently \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description                 Cross-platform audio input and output
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description            ${name} is a lightweight abstraction \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            over various sound drivers. It provides \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            a well-documented API that operates consistently \
</span>                             regardless of the sound driver it connects to. \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                            It performs no buffering or processing on your \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            behalf\; instead exposing the raw power of the \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            underlying backend.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            It performs no buffering or processing \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            on your behalf\; instead exposing the raw power \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            of the underlying backend.
</span> 
 # uses C11
 compiler.c_standard         2011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,11 +35,11 @@ compiler.blacklist-append   {clang < 601}
</span> 
 configure.args-append       -DBUILD_EXAMPLE_PROGRAMS=OFF \
                             -DBUILD_TESTS=OFF \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                            -DENABLE_ALSA=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            -DENABLE_COREAUDIO=ON \
</span>                             -DENABLE_JACK=OFF \
                             -DENABLE_PULSEAUDIO=OFF \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                            -DENABLE_ALSA=OFF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            -DENABLE_WASAPI=OFF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            -DENABLE_COREAUDIO=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            -DENABLE_WASAPI=OFF
</span> 
 variant pulseaudio description {Enable PulseAudio support} {
     depends_lib-append      port:pulseaudio
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,11 +57,3 @@ if {${os.platform} eq "darwin" && ${os.major} < 12} {
</span>     configure.args-replace  -DENABLE_COREAUDIO=ON  -DENABLE_COREAUDIO=OFF
     default_variants-append +pulseaudio
 }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} < 10} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    known_fail              yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    pre-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ui_error "${name} @${version} requires OS X 10.6 or greater."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        return -code error "incompatible OS X version"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span></pre><pre style='margin:0'>

</pre>