<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f82d480963f73ff9ed80706c2506606bdbfda958">https://github.com/macports/macports-ports/commit/f82d480963f73ff9ed80706c2506606bdbfda958</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new f82d480 VLC: add a +chromecast variant
</span>f82d480 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f82d480963f73ff9ed80706c2506606bdbfda958
</span>Author: René Bertin <rjvbertin@gmail.com>
AuthorDate: Mon Aug 19 15:44:26 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> VLC: add a +chromecast variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> (part of the +huge preselect)
</span><span style='display:block; white-space:pre;color:#404040;'> VLC will build chromecast support when protobuf-cpp >= 2.5.0 is available.
</span><span style='display:block; white-space:pre;color:#404040;'> Disable the feature by default, and re-enable it in the new variant that
</span><span style='display:block; white-space:pre;color:#404040;'> also adds the required dependency (accepting either protobuf-cpp or
</span><span style='display:block; white-space:pre;color:#404040;'> protobuf3-cpp).
</span>---
multimedia/VLC/Portfile | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/VLC/Portfile b/multimedia/VLC/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index baf193e..ace7f2c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/VLC/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/VLC/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -246,7 +246,7 @@ configure.args-append \
</span> --with-contrib=${worksrcpath}/contrib \
--disable-debug --disable-update-check --enable-gnutls \
--disable-notify --disable-dbus --enable-lua \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-sparkle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-sparkle --disable-chromecast
</span>
# Input Plugins
configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -390,8 +390,14 @@ variant freerdp description {Build the FreeRDP support; currently dysfunctional}
</span> configure.args-replace --disable-freerdp --enable-freerdp
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant chromecast description {Enable ChromeCast support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append path:bin/protoc:protobuf3-cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-chromecast \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-chromecast
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant huge \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- requires jack shout svg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ requires jack shout svg chromecast \
</span> description {Enable all variants except quartz, smb, freerdp and x11} {}
if {${subport} ne "lib${name}"} {
</pre><pre style='margin:0'>
</pre>