<pre style='margin:0'>
Craig Treleaven (ctreleaven) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/da44751a87075ec984261ab78da46a5baeeacf97">https://github.com/macports/macports-ports/commit/da44751a87075ec984261ab78da46a5baeeacf97</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit da44751a87075ec984261ab78da46a5baeeacf97
</span>Author: Craig Treleaven <ctreleaven@macports.org>
AuthorDate: Fri Nov 3 16:36:55 2017 -0400
<span style='display:block; white-space:pre;color:#404040;'> mediainfo[-gui]: major re-write adding gui subport, etc
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> -switch to using GitHub for source
</span><span style='display:block; white-space:pre;color:#404040;'> -zenlib and mediainfolib now in separate ports
</span><span style='display:block; white-space:pre;color:#404040;'> -add gui subport using wxWidgets-3.2
</span>---
multimedia/mediainfo/Portfile | 58 ++++++++++++++++++++++++-------------------
1 file changed, 32 insertions(+), 26 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/mediainfo/Portfile b/multimedia/mediainfo/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 89ddb3c..d895943 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/mediainfo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/mediainfo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,46 +1,52 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# normally update mediainfolib port at the same time
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup MediaArea MediaInfo 17.10 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 8526977baa9db8afb44fcd3af8baa8545281e34e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 dfd67b8c99523818c8612723fc330318fb2f5a513836444ca7abbb1d8fa7af48
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://github.com/MediaArea/${name}/archive/v${version}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name mediainfo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 17.10
</span> categories multimedia
platforms darwin
maintainers ctreleaven
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license LGPL-3+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description Identifies audio and video codecs in a media file.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Identifies audio and video codecs in a media file. CLI
</span>
long_description MediaInfo supplies technical and tag information about a \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- video or audio file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ video or audio file via command line utility
</span>
homepage https://mediaarea.net
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}/download/binary/mediainfo/${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname MediaInfo_CLI_${version}_GNU_FromSource
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 ac9be4ad540706df4cecab4b11cbcf05903488ff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2833fa4e72937d9c9f52a8ccf6a9e344ab3dfdf058c36fa6796cdce43f3029a2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:zenlib port:MediaInfoLib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set worksrcpath ${worksrcpath}/Project/GNU/CLI
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:zlib port:curl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoreconf.args-append --force --install
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir MediaInfo_CLI_GNU_FromSource
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# make pkg-config act like on Linux, no '-I/opt/local/include' in cflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.env-append PKG_CONFIG_SYSTEM_INCLUDE_PATH=${prefix}/include
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport MediaInfo-gui {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup app 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Identifies audio and video codecs in a media file. GUI
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant universal {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description MediaInfo supplies technical and tag information about a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ video or audio file via graphical utility
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd ./CLI_Compile.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args --prefix=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env CC="${configure.cc} [get_canonical_archflags cc]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CPP="${configure.cc} -E" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXX="${configure.cxx} [get_canonical_archflags cxx]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXXCPP="${configure.cxx} -E" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- numprocs=${build.jobs}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:wxWidgets-3.2
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set worksrcpath ${workpath}/${worksrcdir}/Project/GNU/GUI
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.dir ${worksrcpath}/MediaInfo/Project/GNU/CLI
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.cmd make
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args --with-wx-config=${prefix}/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.1/bin/wx-config \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-wx-prefix=${prefix}/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.1
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${homepage}/en/MediaInfo/Download/Source
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex /MediaInfo_CLI_(\[0-9.\]+)_GNU_FromSource
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ app.executable mediainfo-gui
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ app.name MediaInfo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ app.icon ../../../Source/GUI/Cocoa/mediainfo.icns
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>