# -*- 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 25.10 v github.tarball_from archive checksums rmd160 fb94a4c15d5d0a4ca602b23e1edc02e31a60e434 \ sha256 2edaff16dfad9ee372d17d6d01eb2e3d2f8ee8dd4af606b1ee6f045c9b009662 \ size 5739706 name mediainfo categories multimedia maintainers {makr @mohd-akram} 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 path:bin/pkg-config:pkgconfig depends_lib port:mediainfolib \ port:zenlib \ port:zlib 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 if {${os.platform} eq "darwin" && ${os.major} > 15} { wxWidgets.use wxWidgets-3.2 } elseif {${os.platform} eq "darwin" && ${os.major} > 11} { wxWidgets.use wxWidgets-3.0-cxx11 } else { wxWidgets.use wxGTK-3.0-cxx11 } 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 }