<pre style='margin:0'>
Andrea D'Amore (anddam) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/21df8c9b5d38470b52385ee33924d5c44343bb0d">https://github.com/macports/macports-ports/commit/21df8c9b5d38470b52385ee33924d5c44343bb0d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 21df8c9b5d38470b52385ee33924d5c44343bb0d
</span>Author: Marko Käning <mk@macports.org>
AuthorDate: Sat Dec 17 00:03:34 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> VLC: upgrade to 2.2.4 and provide private FFMpeg v2.8.6
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - moves fluidsynth support to the base feature set and
</span><span style='display:block; white-space:pre;color:#404040;'> patches the fluidsynth module to find sf2 repository in ${prefix}
</span><span style='display:block; white-space:pre;color:#404040;'> (${prefix}/share/sounds/sf2).
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - works around the FFMpeg v3.x incompatibility issue by shipping
</span><span style='display:block; white-space:pre;color:#404040;'> a private, stripped-down FFMpeg 2.8.6 copy.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: #27
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/52535
</span>---
multimedia/VLC/Portfile | 1050 ++++++++++++--------
...h-configure-no-error-on-missing-prototypes.diff | 10 +
multimedia/VLC/files/patch-ffmpegVLC.diff | 82 ++
multimedia/VLC/files/patch-soundfont-path.diff | 13 +
multimedia/VLC/files/patch-static_assert.diff | 11 +
multimedia/VLC/files/patch-vlc-qt4mac.diff | 97 ++
6 files changed, 850 insertions(+), 413 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 8519d15..76200ae 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;'>@@ -1,36 +1,25 @@
</span> # -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup active_variants 1.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# TODO
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# if {[file exists ${prefix}/etc/macports/locales.tcl]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# # experimental feature to cut down the NLS/locale files, which take up over 50% of
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# # the install footprint for VLC. This feature loads the locale_select PortGroup
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# # if its configuration file exist; a variant is then added which prunes all translations from
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# # ${destroot}${prefix}/share/locale except those whitelisted in etc/macports/locales.tcl .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# PortGroup locale_select 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name VLC
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.2.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories multimedia devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description VLC is a cross-platform media player and streaming server
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description VLC media player is a highly portable multimedia player for \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- It can also be used as a server to stream in unicast or multicast \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- in IPv4 or IPv6 on a high-bandwidth network.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.videolan.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport lib${name} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup active_variants 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup conflicts_build 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name VLC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories multimedia devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers gmail.com:rjvbertin openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description VLC is a cross-platform media player and streaming server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description VLC media player is a highly portable multimedia player for \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ It can also be used as a server to stream in unicast or multicast \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ in IPv4 or IPv6 on a high-bandwidth network.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://www.videolan.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport lib${name} {
</span> maintainers gmail.com:rjvbertin openmaintainer
description the core engine and interface to VLC's multimedia framework
long_description libVLC is the core engine and the interface to the multimedia \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,434 +29,669 @@ subport lib${name} {
</span> homepage http://www.videolan.org/vlc/libvlc.html
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ffmpeg-VLC {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set FFMPEG_VLC_PREFIX ${prefix}/lib/vlc/ffmpeg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {${subport} eq ${name}} {
conflicts lib${name} libVLC-devel VLC-devel
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://download.videolan.org/pub/videolan/vlc/${version}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname vlc-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xz yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 ff302536334622427e06250457c74f061d4329f8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 9ad23128be16f9b40ed772961272cb0748ed8e4aa1bc79c129e589feebea5fb5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Enable HFS compression.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_extract-append port:libarchive
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.post_args "| bsdtar -x --hfsCompression"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:a52dec \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:avahi \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:bzip2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:faad2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/libavcodec.dylib:ffmpeg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:flac \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:fluidsynth \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:fontconfig \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:freetype \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:fribidi \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:gettext \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:gmp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:gnutls \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:jpeg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:lame \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libass \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libbluray \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libcddb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libcdio \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libdc1394 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libdca \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libdvbpsi \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libdvdnav \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libdvdread \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libebml \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libgcrypt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libgpg-error \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libiconv \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libid3tag \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libidn \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libmad \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libmatroska \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libmodplug \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libmpcdec \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libmpeg2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libmtp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libogg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libopus \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libpng \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libproxy \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libsamplerate \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libsdl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libsdl_image \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libsndfile \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libssh2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libtheora \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libupnp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libusb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libvorbis \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libvpx \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libxml2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:live555 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:ncurses \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:nettle \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:opencv \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:openjpeg15 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:orc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:p11-kit \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:readline \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:schroedinger \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:speex \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:taglib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:tiff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:twolame \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:vcdimager \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:x264 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:x265
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# the +qt5 and/or +qt4 variants of port:opencv currently lead to build errors
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![active_variants opencv "" {qt4 qt5}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "${subport} cannot currently be built against port:opencv with the qt4 or qt5 variant.\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Install port:opencv without either qt variant and try again. This is only a build conflict; \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- after building you can reactivate your preferred opencv variant"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "Install or activate port:opencv without a qt variant before building ${subport}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# VLC-2.1 and later are x86_64-only: https://trac.videolan.org/vlc/ticket/8161
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+##
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+################### ports VLC and libVLC ###################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+##
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {(${subport} eq ${name}) || (${subport} eq "lib${name}")} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 2.2.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ license GPL-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites http://download.videolan.org/pub/videolan/vlc/${version}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname vlc-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 2fe178bb9a4b2ad5ca0294d3e52ceb992b22e8ee \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1632e91d2a0087e0ef4c3fb4c95c3c2890f7715a9d1d43ffd46329f428cf53be
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[info exist ::env(MACPORTS_COMPRESS_WORKDIR)] && $::env(MACPORTS_COMPRESS_WORKDIR)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Enable HFS compression.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists ${prefix}/bin/bsdtar]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extract.post_args \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "| ${prefix}/bin/bsdtar -x --hfsCompression"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# VLC 2.2.2 should have full Lua 5.3 compatibility, for now, depend on port:lua52
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# That requires the patch-for-lua52.diff which is appended to patchfiles below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# update 2.2.2 : lua 5.3 gives compiler syntax errors so we stick with 5.2 for now.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:lua52
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# depends_lib-append port:lua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib port:ffmpeg-VLC \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:a52dec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:avahi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:bzip2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:faad2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:flac \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:fluidsynth \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:fontconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:freetype \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:fribidi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gettext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gmp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gnutls \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:jpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:lame \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libass \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libbluray \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libcddb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libcdio \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libdc1394 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libdca \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libdvbpsi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libdvdnav \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libdvdread \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libebml \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgcrypt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgpg-error \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libiconv \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libid3tag \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libidn \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libmad \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libmatroska \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libmodplug \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libmpcdec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libmpeg2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libmtp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libogg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libopus \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libproxy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsamplerate \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsdl_image \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsndfile \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libssh2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtheora \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libupnp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libusb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libvorbis \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libvpx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libxml2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:live555 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ncurses \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:nettle \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:openjpeg15 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:orc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p11-kit \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:readline \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:schroedinger \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:speex \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:taglib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:tiff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:twolame \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:vcdimager \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:x264 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:x265
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} < 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} ${version} requires Mac OS X 10.6 or greater."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible Mac OS X version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# VLC-2.1 and later are x86_64-only: https://trac.videolan.org/vlc/ticket/8161
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# port:opencv depends on port:ffmpeg and thus enters in conflict with us depending on our own ffmpeg build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# 1 viable solution as long as this is the case: drop the opencv filter.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# depends_lib-append port:opencv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# # the +qt5 and/or +qt4 variants of port:opencv currently lead to build errors. A patch has
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# # been submitted (but not included) that resolves the issue for qt4, not yet for qt5.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# # https://trac.macports.org/ticket/50709
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# # For regular users a single check in the pre-fetch would suffice, but this maintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# # needs the check at other opportune moments too.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# proc check_opencv {} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# global subport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# if {![active_variants opencv "" {qt4 qt5}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ui_error "${subport} cannot currently be built against port:opencv with the qt5 variant.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Install port:opencv without that variant and try again. This is only a build conflict; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# after building you can reactivate your preferred opencv variant"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# return -code error "Install or activate port:opencv without the qt5 variant before building ${subport}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# check_opencv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# check_opencv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# pre-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# check_opencv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# patchfiles-append patch-opencv_includes.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# # The opencv example apparently builds on 10.11 but I'm having issues with it on 10.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# # it doesn't appear to be indispensable, so simply skip it.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# patchfiles-append patch-no-opencv_example.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # VLC 2.2.2 should have full Lua 5.3 compatibility, for now, depend on port:lua52
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # That requires the patch-for-lua52.diff which is appended to patchfiles below.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # update 2.2.2 : lua 5.3 gives compiler syntax errors so we stick with 5.2 for now.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:lua52
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # VLC doesn't currently build for me using port:clang-3.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gcc-4.2 llvm-gcc-4.2 macports-clang-3.8 {clang < 300}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles buildfix-package.mak.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ac-no-arch.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PR-34741-no__clang_version__.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static_assert.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ no-sparkle.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-vlc-no-O4.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-ffmpegVLC.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-soundfont-path.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist gcc-4.2 llvm-gcc-4.2 {clang < 300}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} == "libc++"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s:-lstdc\+\+:-lc++:" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/configure.ac \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/access/Makefile.am
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-fetch {
</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;'>- ui_error "${name} ${version} requires Mac OS X 10.6 or greater."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "incompatible Mac OS X version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/modules/codec/fluidsynth.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # patch source using ffmpeg to use the correct header file locations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dir {libavcodec libavformat libavresample libavutil libpostproc libswresample libswscale} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach module {access codec/avcodec demux/avformat hw/vdpau packetizer video_chroma} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cf [glob -nocomplain ${worksrcpath}/modules/${module}/*.c] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${dir}/|${dir}-VLC/|g" ${cf}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cf [glob -nocomplain ${worksrcpath}/modules/${module}/*.h] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${dir}/|${dir}-VLC/|g" ${cf}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${dir}/|${dir}-VLC/|g" ${worksrcpath}/configure.ac ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|postproc/|postproc-VLC/|g" ${worksrcpath}/configure.ac ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|libpostproc/|libpostproc-VLC/|g" ${worksrcpath}/modules/video_filter/postproc.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|HAVE_LIBAVUTIL_AV|HAVE_LIBAVUTIL_VLC_AV|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/codec/avcodec/avcommon.h \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/codec/avcodec/avcommon_compat.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|HAVE_LIBAVFORMAT_AV|HAVE_LIBAVFORMAT_VLC_AV|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/codec/avcodec/avcommon.h \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/codec/avcodec/avcommon_compat.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|HAVE_LIBAVCODEC_AV|HAVE_LIBAVCODEC_VLC_AV|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/codec/avcodec/avcommon.h \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/codec/avcodec/avcommon_compat.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|HAVE_LIBSWSCALE_SW|HAVE_LIBSWSCALE_VLC_SW|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/codec/avcodec/avcommon.h \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/codec/avcodec/avcommon_compat.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "patch -Np0 -i ${filespath}/patch-static_assert.diff"
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles buildfix-package.mak.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.ac-no-arch.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PR-34741-no__clang_version__.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static_assert.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- no-sparkle.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-vlc-no-O4.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-opencv_includes.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# The opencv example apparently builds on 10.11 but I'm having issues with it on 10.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# it doesn't appear to be indispensable, so simply skip it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-no-opencv_example.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s:librsvg-2/librsvg:librsvg:" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/modules/text_renderer/svg.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[string match *clang* ${configure.cxx}] && ${configure.cxx_stdlib} == "libc++"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s:-lstdc\+\+:-lc++:" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/configure.ac \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/modules/access/Makefile.am
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ autoreconf.cmd ./bootstrap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ autoreconf.pre_args
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ autoreconf.args
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:libtool port:autoconf port:automake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CXXCPP="${configure.cxx} -E"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # splice in ffmpeg-VLC's pkgconfig path, hoping that PKG_CONFIG_PATH hasn't been set by anyone else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PKG_CONFIG_PATH=${FFMPEG_VLC_PREFIX}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append DESTDIR=${worksrcpath}/dest_ignore V=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # gl.c:121:3: error: Platform not recognized.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-append -D__unix__=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # live555 is installed to a weird location
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-append -I${prefix}/lib/live/liveMedia/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.url http://download.videolan.org/pub/videolan/vlc/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.regex <a href=\"(\\d\[\\d|\.|\\w\]+).*/\">
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Other
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-contrib=${worksrcpath}/contrib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-debug --disable-update-check --enable-gnutls \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-notify --disable-dbus --enable-lua \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-gnomevfs --disable-growl --disable-macosx-vlc-app \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-atmo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Input Plugins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-dvdnav --enable-dvdread --disable-smbclient --enable-vcdx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-macosx-qtkit --disable-macosx-eyetv --disable-realrtsp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-freerdp --disable-opencv --enable-sftp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Mux/Demux Plugins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-dvbpsi --enable-ogg --enable-mux_ogg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-mkv --enable-mod --enable-mpc --disable-shout
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Codec Plugins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-a52 --enable-faad --enable-flac --enable-live555 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-opus --enable-vorbis --enable-ogg --enable-mad --enable-libass \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-dca --enable-png --disable-quicktime --enable-twolame \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-speex --enable-theora --enable-x264 --enable-x265 --enable-postproc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-gst-decode --enable-avcodec --enable-avformat --enable-swscale \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-fluidsynth --enable-schroedinger --enable-vpx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Video Plugins. We do our best to deactivate X11 and disable its auto-detection by
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # claiming the headers and libs are somewhere they're not.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-caca --enable-sdl --enable-sdl-image \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-x --disable-xcb --disable-xvideo \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --x-includes=${destroot} --x-libraries=${destroot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-freetype --enable-fontconfig --enable-fribidi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-svg --disable-svgdec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Audio Plugins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-jack \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-samplerate \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-pulse \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-chromaprint
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Interface Plugins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-macosx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-macosx-dialog-provider \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-qt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-ncurses \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-skins2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-vnc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Visualisations and Video Filter Plugins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-goom
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Service Discovery Plugins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-bonjour \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-upnp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 20150209: Jack really would require a newer variant than what's currently in MacPorts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant jack description {Enable jack plugin for audio output} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:jack port:portaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --disable-jack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-jack
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoreconf.cmd ./bootstrap
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoreconf.pre_args
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoreconf.args
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build-append port:libtool port:autoconf port:automake
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env-append CXXCPP="${configure.cxx} -E"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args-append DESTDIR=${worksrcpath}/dest_ignore V=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# gl.c:121:3: error: Platform not recognized.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cppflags-append -D__unix__=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# live555 is installed to a weird location
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cppflags-append -I${prefix}/lib/live/liveMedia/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target all
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.target install
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url http://download.videolan.org/pub/videolan/vlc/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex <a href=\"(\\d\[\\d|\.|\\w\]+).*/\">
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Other
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-contrib=${worksrcpath}/contrib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-debug --disable-update-check --enable-gnutls \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-notify --disable-dbus --enable-lua \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-gnomevfs --disable-growl --disable-macosx-vlc-app
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Input Plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-dvdnav --enable-dvdread --disable-smbclient --enable-vcdx \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-macosx-qtkit --disable-macosx-eyetv --disable-realrtsp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-freerdp --enable-opencv --enable-sftp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Mux/Demux Plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-dvbpsi --enable-ogg --enable-mux_ogg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-mkv --enable-mod --enable-mpc --disable-shout
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Codec Plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-a52 --enable-faad --enable-flac --enable-live555 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-opus --enable-vorbis --enable-ogg --enable-mad --enable-libass \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-dca --enable-png --disable-quicktime --enable-twolame \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-speex --enable-theora --enable-x264 --enable-x265 --enable-postproc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-gst-decode --enable-avcodec --enable-avformat --enable-swscale \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-fluidsynth --enable-schroedinger --enable-vpx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Video Plugins. We do our best to deactivate X11 and disable its auto-detection by
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# claiming the headers and libs are somewhere they're not.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-caca --enable-sdl --enable-sdl-image \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --without-x --disable-xcb --disable-xvideo \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --x-includes=${destroot} --x-libraries=${destroot} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-freetype --enable-fontconfig --enable-fribidi \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-svg --disable-svgdec
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Audio Plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-jack \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-samplerate \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-pulse \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-chromaprint
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Interface Plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-macosx \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-macosx-dialog-provider \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-qt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-ncurses \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-skins2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-vnc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Visualisations and Video Filter Plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-goom
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Service Discovery Plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-bonjour \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-upnp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# 20150209: Jack really would require a newer variant than what's currently in MacPorts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant jack description {Enable jack and fluidsynth plugins for audio output} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:jack port:fluidsynth port:portaudio
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-jack --disable-fluidsynth
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-jack --enable-fluidsynth
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant dbus description {Enable DBus support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:dbus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-dbus --enable-dbus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant dbus description {Enable DBus support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:dbus
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-dbus --enable-dbus
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant qtkit description {Enable qtcapture and qtaudio} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-macosx-qtkit --enable-macosx-qtkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant qtkit description {Enable qtcapture and qtaudio} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-macosx-qtkit --enable-macosx-qtkit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant svg description {Enable SVG rendering and decoding support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:librsvg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-svg --enable-svg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-svgdec --enable-svgdec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant svg description {Enable SVG rendering and decoding support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:librsvg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-svg --enable-svg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-svgdec --enable-svgdec
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant shout description {Enable Shoutcast/Icecast streaming output support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libshout2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-shout --enable-shout
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant shout description {Enable Shoutcast/Icecast streaming output support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:libshout2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-shout --enable-shout
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant smb description {Enable Samba 3 input support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:samba3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-smbclient --enable-smbclient
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ldflags-append -L${prefix}/lib/samba3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant smb description {Enable Samba 3 input support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:samba3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-smbclient --enable-smbclient
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.ldflags-append -L${prefix}/lib/samba3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant pulse description {Enable PulseAudio support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:pulseaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-pulse --enable-pulse
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant pulse description {Enable PulseAudio support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:pulseaudio
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-pulse --enable-pulse
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant x11 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libX11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libXau \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libXdmcp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libXext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libXrandr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libxcb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xrender \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:XviD \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:mesa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libXinerama \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libXv \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libXxf86vm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-xcb-util \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-xcb-util-keysyms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --without-x --disable-xvideo --disable-xcb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --x-includes=${destroot} --x-libraries=${destroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-x --enable-xvideo --enable-xcb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant x11 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libX11 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libXau \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libXdmcp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libXext \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libXrandr \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libxcb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xrender \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:XviD \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:mesa \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libXinerama \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libXv \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libXxf86vm \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-xcb-util \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-xcb-util-keysyms
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --without-x --disable-xvideo --disable-xcb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --x-includes=${destroot} --x-libraries=${destroot}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-x --enable-xvideo --enable-xcb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${subport} ne "lib${name}"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant qt4 conflicts qt5 description {Build using Qt4 UI. This will use qt4-mac. Experimental and probably dysfunctional} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-vlc-no-qt5.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-vlc-qt-configureac.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-simplepreferences.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${subport} ne "lib${name}"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant qt4 conflicts qt5 description {Build using Qt4 UI. This will use qt4-mac. Experimental and probably dysfunctional} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-vlc-no-qt5.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-vlc-qt-configureac.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-simplepreferences.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-qt --enable-qt
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-qt --enable-qt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt4 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant qt5 conflicts qt4 description {Build using Qt5 UI. This will use qt5-mac. Experimental and probably dysfunctional} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-vlc-qt-configureac.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-simplepreferences.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-qt --enable-qt
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup qt4 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant qt5 conflicts qt4 description {Build using Qt5 UI. This will use qt5-mac. Experimental and probably dysfunctional} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-vlc-qt-configureac.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-simplepreferences.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-qt --enable-qt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant quartz {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-delete port:libsamplerate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:BGHUDAppKit
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-vlc-for-macports.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --disable-macosx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-samplerate \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-realrtsp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-macosx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # taken from VLC's own configure.sh script for OS X:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-samplerate \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-merge-ffmpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-realrtsp
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant quartz {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-delete port:libsamplerate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:BGHUDAppKit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # FreeRDP currently doesn't build with CMake >= 3.1 (#47389)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant freerdp description {Build the FreeRDP support; currently dysfunctional} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:FreeRDP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # access/rdp.c:45:11: fatal error: 'freerdp/version.h' file not found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-append -DFREERDP_INTERFACE_VERSION \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DFREERDP_VERSION_MAJOR=1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DFREERDP_VERSION_MINOR=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-freerdp --enable-freerdp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant huge \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ requires jack shout svg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Enable all variants except quartz, smb, freerdp and x11} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${subport} ne "lib${name}"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant full \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ requires huge quartz smb x11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Enable all variants except x11 (and except freerdp, currently)} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant full \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ requires huge quartz smb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description {Enable all variants (except freerdp, currently)} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-vlc-for-macports.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this patchfile can probably go with VLC 2.2.2, or should be reviewed then.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # update 2.2.2 : lua 5.3 gives compiler syntax errors so we stick with 5.2 for now.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-for-lua52.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-macosx \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-samplerate \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-realrtsp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-macosx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # taken from VLC's own configure.sh script for OS X:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --disable-samplerate \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-merge-ffmpeg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-realrtsp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform macosx {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +quartz +qtkit
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# FreeRDP currently doesn't build with CMake >= 3.1 (#47389)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant freerdp description {Build the FreeRDP support; currently dysfunctional} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:FreeRDP
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # access/rdp.c:45:11: fatal error: 'freerdp/version.h' file not found
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cppflags-append -DFREERDP_INTERFACE_VERSION \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DFREERDP_VERSION_MAJOR=1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DFREERDP_VERSION_MINOR=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-freerdp --enable-freerdp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-macosx-eyetv --enable-macosx-eyetv
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant huge \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- requires jack shout svg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description {Enable all variants except quartz, smb, freerdp and x11} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${subport} ne "lib${name}"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant full \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- requires huge quartz smb x11 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description {Enable all variants except x11 (and except freerdp, currently)} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant full \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- requires huge quartz smb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description {Enable all variants (except freerdp, currently)} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${subport} ne "lib${name}"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-macosx-vlc-app --enable-macosx-vlc-app
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s/Appkit/AppKit/" ${worksrcpath}/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/Sparkle.framework/d" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/extras/package/macosx/vlc.xcodeproj/project.pbxproj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/SDKROOT/d" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/extras/package/macosx/vlc.xcodeproj/project.pbxproj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/Growl.framework/d" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/extras/package/macosx/package.mak
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s:LD_LIBRARY_PATH:DYLD_LIBRARY_PATH:g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/Makefile.am
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/argv/s/environ/*_NSGetEnviron()/" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/misc/inhibit/xdg.c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/stream_filter/decomp.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s/extern char \\*\\*environ;/#include <crt_externs.h>/" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/misc/inhibit/xdg.c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/modules/stream_filter/decomp.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists ${worksrcpath}/contrib/BGHUDAppKit.framework]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${frameworks_dir}/BGHUDAppKit.framework ${worksrcpath}/contrib/BGHUDAppKit.framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # To trick configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir "${worksrcpath}/contrib/lib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval file delete [glob ${destroot}${prefix}/lib/vlc/plugins/*/*.la]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset qt4] || [variant_isset qt5] || [variant_isset quartz]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${subport} ne "lib${name}"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/VLC.app ${destroot}${applications_dir}/VLC.app
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # These are already in ${prefix}, so we don't need to bundle them as well
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${applications_dir}/VLC.app/Contents/Frameworks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${applications_dir}/VLC.app/Contents/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # There's no need to install these into the bundle and the prefix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${applications_dir}/VLC.app/Contents/MacOS/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${applications_dir}/VLC.app/Contents/MacOS/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${applications_dir}/VLC.app/Contents/MacOS/plugins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${applications_dir}/VLC.app/Contents/MacOS/share/locale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${applications_dir}/VLC.app/Contents/MacOS/share/lua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # http://trac.macports.org/ticket/35131
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/lib ${destroot}${applications_dir}/VLC.app/Contents/MacOS/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/lib/vlc/plugins ${destroot}${applications_dir}/VLC.app/Contents/MacOS/plugins
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/lib/vlc/lua ${destroot}${applications_dir}/VLC.app/Contents/MacOS/share/lua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/share/locale ${destroot}${applications_dir}/VLC.app/Contents/MacOS/share/locale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the vlc executable needs to be started with a full path to the app bundle executable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # or else the Mac OS X interface will hang beyond even a ^C or ^\ :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}${prefix}/bin/vlc ${destroot}${prefix}/bin/vlc.exe
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "echo \"#!/bin/sh\nexec \\\"${applications_dir}/VLC.app/Contents/MacOS/VLC\\\" \\\"\\\$\@\\\"\" > ${destroot}${prefix}/bin/vlc"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "chmod 755 ${destroot}${prefix}/bin/vlc"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${prefix}/share/applications
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${prefix}/share/man
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset qt4] || [variant_isset qt5]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes-append "The Qt interface modules for VLC are currently dysfunctional. If you encounter bugs with them, please file them with VLC and not MacPorts."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${prefix}/lib/vlc/vlc-cache-gen -f ${prefix}/lib/vlc"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# outcomment when the port:fluid-soundfont* ports have been made available
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# notes-append "MIDI support requires installing one or more SoundFont files,\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# in ${prefix}/share/sounds/sf2, for instance from one of the port:fluid-soundfont-* ports"
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# this patchfile can probably go with VLC 2.2.2, or should be reviewed then.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# update 2.2.2 : lua 5.3 gives compiler syntax errors so we stick with 5.2 for now.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-for-lua52.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+##
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+################# support port ffmpeg-VLC ##################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+##
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq "ffmpeg-VLC"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup xcodeversion 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platform macosx {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append +quartz +qtkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 2.8.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ license LGPL-2.1+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ categories multimedia
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ maintainers gmail.com:rjvbertin openmaintainer
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-macosx-eyetv --enable-macosx-eyetv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Custom FFMpeg 2.8.6 build for port:VLC and port:libVLC.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Custom FFMpeg build for VLC and libVLC v2.2.x . It installs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a private copy of FFMpeg v2.8.6 .
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${subport} ne "lib${name}"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --disable-macosx-vlc-app --enable-macosx-vlc-app
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage http://www.ffmpeg.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites http://www.ffmpeg.org/releases/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ffmpeg-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 5b61b6b0521d39ca31dcfb7fff1dfa26d9e7667a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 40611e329bc354592c6f8f1deb033c31b91f80e91f5707ca4f9afceca78d8e62
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # libvpx is static only so can be considered a build dependency (#47934)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libvpx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib port:lame \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libiconv \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:openjpeg15 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.cmd ${prefix}/bin/gmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append V=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # enable auto configure of asm optimizations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # requires Xcode 3.1 or better on Leopard
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ minimum_xcodeversions {9 3.1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[lsearch [get_canonical_archs] i386] != -1} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # clang-3.1 hits https://trac.macports.org/ticket/30137 (<rdar://problem/11542429>)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # clang-139 hits https://trac.macports.org/ticket/38141
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {clang < 422.1.7}
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s/Appkit/AppKit/" ${worksrcpath}/configure.ac
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "/Sparkle.framework/d" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/extras/package/macosx/vlc.xcodeproj/project.pbxproj
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "/SDKROOT/d" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/extras/package/macosx/vlc.xcodeproj/project.pbxproj
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "/Growl.framework/d" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/extras/package/macosx/package.mak
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s:LD_LIBRARY_PATH:DYLD_LIBRARY_PATH:g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/Makefile.am
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "/argv/s/environ/*_NSGetEnviron()/" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/modules/misc/inhibit/xdg.c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/modules/stream_filter/decomp.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s/extern char \\*\\*environ;/#include <crt_externs.h>/" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/modules/misc/inhibit/xdg.c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/modules/stream_filter/decomp.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![file exists ${worksrcpath}/contrib/BGHUDAppKit.framework]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${frameworks_dir}/BGHUDAppKit.framework ${worksrcpath}/contrib/BGHUDAppKit.framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cflags-append -DHAVE_LRINTF ${configure.cppflags}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args --prefix=${FFMPEG_VLC_PREFIX} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --progs-suffix=-VLC \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --build-suffix=-VLC \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-doc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-encoder=vorbis \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-libopenjpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-debug \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-avdevice \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-devices \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-avfilter \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-filters \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-protocol=concat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-bsfs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-bzlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-avresample \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-libmp3lame \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-libvpx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-libbluray \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-sdl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-libxcb-shape \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-shared --disable-static --enable-pthreads \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-rpath \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-stripping \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --cc=${configure.cc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this is the old gpl2 variant. VLC is GPL2'ed, so we can just as well build ffmpeg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # with these components.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-gpl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-postproc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --arch=${configure.build_arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ASFLAGS='[get_canonical_archflags]'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${build_arch} eq "x86_64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:yasm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-yasm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-asm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # VDA (video hardware acceleration, mostly H264) is only supported on 10.6.3+ up to (excluding) 10.11.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if {(${os.major} > 10 || (${os.major} == 10 && ${os.minor} >= 3)) && (${os.major} < 15)}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Due to a bug in ffmpeg(?), we have to enable VDA on 10.11 as well, even though it shouldn't be supported.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # More information: https://github.com/mpv-player/mpv/issues/2299
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} > 10 || (${os.major} == 10 && ${os.minor} >= 3)} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --disable-vda
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-vda
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # VideotoolBox, a new hardware acceleration framework, is supported on 10.8+ and "here to stay".
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # It provides support for H264, H263, MPEG1, MPEG2 and MPEG4.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} > 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --disable-videotoolbox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-videotoolbox
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # To trick configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file mkdir "${worksrcpath}/contrib/lib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Apple GCC has problems with SIMD intrinsics and -Werror=no-missing-prototypes.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-configure-no-error-on-missing-prototypes.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # kCVPixelFormatType_OneComponent8 used in avfoundation indev is only available on 10.8+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-indev=avfoundation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- eval file delete [glob ${destroot}${prefix}/lib/vlc/plugins/*/*.la]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset qt4] || [variant_isset qt5] || [variant_isset quartz]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${subport} ne "lib${name}"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/VLC.app ${destroot}${applications_dir}/VLC.app
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # These are already in ${prefix}, so we don't need to bundle them as well
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${applications_dir}/VLC.app/Contents/Frameworks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${applications_dir}/VLC.app/Contents/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # There's no need to install these into the bundle and the prefix
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${applications_dir}/VLC.app/Contents/MacOS/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${applications_dir}/VLC.app/Contents/MacOS/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${applications_dir}/VLC.app/Contents/MacOS/plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${applications_dir}/VLC.app/Contents/MacOS/share/locale
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${applications_dir}/VLC.app/Contents/MacOS/share/lua
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # http://trac.macports.org/ticket/35131
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/lib ${destroot}${applications_dir}/VLC.app/Contents/MacOS/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/lib/vlc/plugins ${destroot}${applications_dir}/VLC.app/Contents/MacOS/plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/lib/vlc/lua ${destroot}${applications_dir}/VLC.app/Contents/MacOS/share/lua
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/share/locale ${destroot}${applications_dir}/VLC.app/Contents/MacOS/share/locale
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # the vlc executable needs to be started with a full path to the app bundle executable
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # or else the Mac OS X interface will hang beyond even a ^C or ^\ :
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${destroot}${prefix}/bin/vlc ${destroot}${prefix}/bin/vlc.exe
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "echo \"#!/bin/sh\nexec \\\"${applications_dir}/VLC.app/Contents/MacOS/VLC\\\" \\\"\\\$\@\\\"\" > ${destroot}${prefix}/bin/vlc"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "chmod 755 ${destroot}${prefix}/bin/vlc"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${prefix}/share/applications
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${prefix}/share/man
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # configure isn't autoconf and they do use a dep cache
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platform darwin 8 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s:,-compatibility_version,$\(LIBMAJOR\)::" ${worksrcpath}/configure
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- post-activate {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset qt4] || [variant_isset qt5]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- notes-append "The Qt interface modules for VLC are currently dysfunctional. If you encounter bugs with them, please file them with VLC and not MacPorts."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.target install-libs install-headers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete -force ${destroot}${prefix}/share/examples
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # We need to make sure that the linker will use our libraries and not one
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # from a location like ${prefix}/lib . That's why we use --build-suffix, but
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # that still requires us to provide pkg-config files with the standard names:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach pc [glob ${destroot}${FFMPEG_VLC_PREFIX}/lib/pkgconfig/*.pc] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set standardname [strsed ${pc} "s/-VLC.pc/.pc/"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s [file tail ${pc}] ${standardname}
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "${prefix}/lib/vlc/vlc-cache-gen -f ${prefix}/lib/vlc"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # oblige dependent code to include files from our own renamed header file directories, so it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # cannot include mismatching headers by accident (e.g. those from ffmpeg 3.x).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dir {libavcodec libavformat libavresample libavutil libpostproc libswresample libswscale} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename ${destroot}${FFMPEG_VLC_PREFIX}/include/${dir} ${destroot}${FFMPEG_VLC_PREFIX}/include/${dir}-VLC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dir {libavcodec libavformat libavresample libavutil libpostproc libswresample libswscale} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach header [glob -nocomplain ${destroot}${FFMPEG_VLC_PREFIX}/include/*/*.h] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${dir}/|${dir}-VLC/|g" ${header}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # packageable: ${destroot}${FFMPEG_VLC_PREFIX}/{include,lib/lib*VLC.dylib,lib/pkgconfig}
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.url ${master_sites}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> }
# kate: backspace-indents true; indent-pasted-text true; indent-width 4; keep-extra-spaces true; remove-trailing-spaces modified; replace-tabs true; replace-tabs-save true; syntax Tcl/Tk; tab-indents true; tab-width 4;
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/VLC/files/ffmpeg/patch-configure-no-error-on-missing-prototypes.diff b/multimedia/VLC/files/ffmpeg/patch-configure-no-error-on-missing-prototypes.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..61a4335
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/VLC/files/ffmpeg/patch-configure-no-error-on-missing-prototypes.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.old 2015-09-27 18:43:30.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2015-09-27 18:44:18.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5683,7 +5683,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ check_optflags -fno-tree-vectorize
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ check_cflags -Werror=format-security
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ check_cflags -Werror=implicit-function-declaration
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- check_cflags -Werror=missing-prototypes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ check_cflags -Werror=return-type
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ check_cflags -Werror=vla
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ check_cflags -Wformat
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/VLC/files/patch-ffmpegVLC.diff b/multimedia/VLC/files/patch-ffmpegVLC.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..c005003
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/VLC/files/patch-ffmpegVLC.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,82 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- orig.configure.ac 2016-05-31 18:11:07.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.ac 2016-07-04 23:04:07.557682616 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2283,7 +2272,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_CONDITIONAL([MERGE_FFMPEG], [test "$enable_merge_ffmpeg" != "no"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_MSG_CHECKING([for libavutil variant])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PKG_CHECK_EXISTS([libavutil], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PKG_CHECK_EXISTS([libavutil-VLC], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libavutil_version="$(${PKG_CONFIG} --modversion libavutil)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libavutil_micro="${libavutil_version##*.}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AS_IF([test ${libavutil_micro} -le 99], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2322,8 +2311,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_ARG_ENABLE(avcodec,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [ --enable-avcodec libavcodec codec (default enabled)])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AS_IF([test "${enable_avcodec}" != "no"], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 53.34.0 libavutil >= 51.22.0], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKG_CHECK_EXISTS([libavutil < 55],, [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKG_CHECK_MODULES(AVCODEC,[libavcodec-VLC >= 53.34.0 libavutil-VLC >= 51.22.0], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKG_CHECK_EXISTS([libavutil-VLC < 55],, [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_MSG_ERROR([libavutil versions 55 and later are not supported.])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ VLC_SAVE_FLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2382,7 +2371,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AS_IF([test "${have_vaapi}" = "yes" -a "${have_avcodec}" = "yes"], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "${avfork}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ffmpeg)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKG_CHECK_EXISTS([libavcodec >= 57.10.100], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKG_CHECK_EXISTS([libavcodec-VLC >= 57.10.100], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_MSG_ERROR([VA API requires FFmpeg libavcodec < 57.10 or libav.])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2416,7 +2405,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AS_IF([test "x${have_avcodec}" = "xyes"], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "${avfork}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ffmpeg)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKG_CHECK_EXISTS([libavcodec >= 57.10.100], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKG_CHECK_EXISTS([libavcodec-VLC >= 57.10.100], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_MSG_ERROR([DXVA2 requires FFmpeg libavcodec < 57.10 or libav.])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2496,7 +2485,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ have_avformat="no"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AS_IF([test "${enable_avformat}" != "no"], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKG_CHECK_MODULES(AVFORMAT,[libavformat >= 53.21.0 libavcodec libavutil], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKG_CHECK_MODULES(AVFORMAT,[libavformat-VLC >= 53.21.0 libavcodec-VLC libavutil-VLC], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ have_avformat="yes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ VLC_SAVE_FLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CPPFLAGS="${CPPFLAGS} ${AVFORMAT_CFLAGS}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2523,7 +2512,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (default enabled)]))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "${enable_swscale}" != "no"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKG_CHECK_MODULES(SWSCALE,[libswscale],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKG_CHECK_MODULES(SWSCALE,[libswscale-VLC],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ VLC_SAVE_FLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CPPFLAGS="${CPPFLAGS} ${SWSCALE_CFLAGS}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2550,7 +2539,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [ --enable-postproc libpostproc image post-processing (default auto)])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "${enable_postproc}" != "no"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKG_CHECK_MODULES(POSTPROC,[libpostproc libavutil],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKG_CHECK_MODULES(POSTPROC,[libpostproc-VLC libavutil-VLC],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ VLC_SAVE_FLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CPPFLAGS="${CPPFLAGS} ${POSTPROC_CFLAGS}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3180,12 +3169,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "${avfork}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libav) av_vdpau_ver="55.26.0" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ffmpeg) av_vdpau_ver="55.42.100"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKG_CHECK_EXISTS([libavcodec >= 57.10.100], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKG_CHECK_EXISTS([libavcodec-VLC >= 57.10.100], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_MSG_ERROR([VDPAU requires FFmpeg libavcodec < 57.10 or libav.])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKG_CHECK_EXISTS([libavutil >= 52.4.0 libavcodec >= ${av_vdpau_ver}], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKG_CHECK_EXISTS([libavutil-VLC >= 52.4.0 libavcodec-VLC >= ${av_vdpau_ver}], [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ have_avcodec_vdpau="yes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_MSG_NOTICE([VDPAU decoding acceleration activated])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ], [
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/VLC/files/patch-soundfont-path.diff b/multimedia/VLC/files/patch-soundfont-path.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..bca8b80
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/VLC/files/patch-soundfont-path.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git modules/codec/fluidsynth.c modules/codec/fluidsynth.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index bdc8d24..9859aa1 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- modules/codec/fluidsynth.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ modules/codec/fluidsynth.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -125,7 +125,7 @@ static int Open (vlc_object_t *p_this)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ glob_t gl;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- glob ("/usr/share/sounds/sf2/*.sf2", GLOB_NOESCAPE, NULL, &gl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ glob ("@PREFIX@/share/sounds/sf2/*.sf2", GLOB_NOESCAPE, NULL, &gl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (size_t i = 0; i < gl.gl_pathc; i++)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const char *path = gl.gl_pathv[i];
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/VLC/files/patch-static_assert.diff b/multimedia/VLC/files/patch-static_assert.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..f00a7df
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/VLC/files/patch-static_assert.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- config.h.orig 2016-03-22 15:34:33.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ config.h 2016-03-22 15:34:57.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -793,6 +793,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Define to `int' if <stddef.h> does not define. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* #undef ssize_t */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define static_assert _Static_assert
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <vlc_fixups.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/VLC/files/patch-vlc-qt4mac.diff b/multimedia/VLC/files/patch-vlc-qt4mac.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1e958f4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/VLC/files/patch-vlc-qt4mac.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,97 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git modules/gui/qt4/util/searchlineedit.cpp modules/gui/qt4/util/searchlineedit.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 94744ec..e83625d 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- modules/gui/qt4/util/searchlineedit.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ modules/gui/qt4/util/searchlineedit.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -103,7 +103,7 @@ void ClickLineEdit::focusOutEvent( QFocusEvent *ev )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef Q_OS_MAC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef Q_OS_MAC_UNUSED
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SearchLineEdit::SearchLineEdit( QWidget *parent ) : QLineEdit( parent )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clearButton = new QFramelessButton( this );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -202,4 +202,14 @@ void SearchLineEdit::searchEditingFinished()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ emit searchDelayedChanged( text() );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++//
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// void SearchLineEdit::updateText( const QString& text )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++//
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// void SearchLineEdit::searchEditingFinished()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git modules/gui/qt4/util/searchlineedit.hpp modules/gui/qt4/util/searchlineedit.hpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index a09b9bc..8d9e2b7 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- modules/gui/qt4/util/searchlineedit.hpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ modules/gui/qt4/util/searchlineedit.hpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -72,7 +72,7 @@ private:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef Q_OS_MAC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef Q_OS_MAC_UNUSED
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ class QFramelessButton;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ class SearchLineEdit : public QLineEdit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -99,28 +99,33 @@ private slots:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ signals:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void searchDelayedChanged( const QString& );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* On Mac, we try to use the native NSSearchField */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <QMacCocoaViewContainer>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-class SearchLineEdit : public QMacCocoaViewContainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- Q_OBJECT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SearchLineEdit(QWidget *parent = 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- virtual ~SearchLineEdit() {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- virtual QSize sizeHint() const { return QSize(150, 40); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-public slots:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void clear() {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-signals:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void searchDelayedChanged( const QString& );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void textEdited( const QString& );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-};
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++//
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// /* On Mac, we try to use the native NSSearchField */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// #include <QMacCocoaViewContainer>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++//
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// class SearchLineEdit : public QMacCocoaViewContainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// Q_OBJECT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++//
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// SearchLineEdit(QWidget *parent = 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// virtual ~SearchLineEdit() {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++//
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// virtual QSize sizeHint() const { return QSize(150, 40); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++//
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// public slots:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// void clear() {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++//
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// // moc does not look at #ifdefs, so we must provide the same slots and signals
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// private slots:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// void updateText( const QString& );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// void searchEditingFinished();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++//
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// signals:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// void searchDelayedChanged( const QString& );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// void textEdited( const QString& );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span></pre><pre style='margin:0'>
</pre>