# -*- 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 PortGroup github 1.0 # normally update mediainfolib port at the same time github.setup MediaArea MediaInfo 24.04 v github.tarball_from archive checksums rmd160 80acd7a4c1f84e0705f72fbd31632adccd157522 \ sha256 9d2538c766b01ce61544472fa926b6ad750d22cc5bccfbc87f4494cd7fe83af2 \ size 3334485 name mediainfo categories multimedia platforms darwin maintainers {ctreleaven @ctreleaven} openmaintainer license BSD 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 installs_libs no depends_build port:pkgconfig depends_lib port:zenlib port:zlib port:mediainfolib if {${name} eq ${subport}} { worksrcdir ${worksrcdir}/Project/GNU/CLI } else { worksrcdir ${worksrcdir}/Project/GNU/GUI } #mediainfolib needs autoreconf, assume this does too use_autoreconf yes 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 compiler.cxx_standard 2011 subport MediaInfo-gui { PortGroup app 1.0 PortGroup wxWidgets 1.0 wxWidgets.use wxWidgets-3.2 revision 0 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} compiler.cxx_standard 2011 app.executable mediainfo-gui app.name MediaInfo app.icon ../../../Source/GUI/Cocoa/mediainfo.icns }