# -*- 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
# normally update mediainfolib port at the same time
github.setup MediaArea MediaInfo 18.12 v
checksums rmd160 9bee7a245c8d8240365d4b1fdb5ab66ea22a4b40 \
sha256 5b5b8ec9c00dcdd480c2c988a99cf44ebb87074d740e45f4d3ebf82fb6ead6df \
maintainers {ctreleaven @ctreleaven}
description Identifies audio and video codecs in a media file. CLI
long_description MediaInfo supplies technical and tag information about a \
video or audio file via command line utility
homepage https://mediaarea.net
depends_build port:pkgconfig
depends_lib port:zenlib port:zlib port:mediainfolib
if {${name} eq ${subport}} {
worksrcdir ${worksrcdir}/Project/GNU/CLI
worksrcdir ${worksrcdir}/Project/GNU/GUI
autoreconf.args-append --force --install
# make pkg-config act like on Linux, no '-I/opt/local/include' in cflags
configure.env-append PKG_CONFIG_SYSTEM_INCLUDE_PATH=${prefix}/include
wxWidgets.use wxWidgets-3.2
description Identifies audio and video codecs in a media file. GUI
long_description MediaInfo supplies technical and tag information about a \
video or audio file via graphical utility
depends_lib-append port:${wxWidgets.port}
configure.args --with-wx-config=${wxWidgets.wxconfig} \
--with-wx-prefix=${wxWidgets.prefix}
app.executable mediainfo-gui
app.icon ../../../Source/GUI/Cocoa/mediainfo.icns