# -*- 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 PortGroup makefile 1.0 PortGroup qt4 1.0 github.setup qwinff qwinff 0.2.1 v revision 0 categories multimedia license GPL-3 maintainers {@barracuda156 gmail.com:vital.had} openmaintainer description QWinFF, FFmpeg GUI front-end based on Qt4 long_description {*}${description} checksums rmd160 d841c96038868359f1dc5690d0866a416bfe910d \ sha256 cdf5316b01df42572bda4118de1515bb7bb6f211e7cfa01b2d573db6ecb72958 \ size 639145 github.tarball_from archive depends_lib-append port:desktop-file-utils depends_run-append path:lib/libavcodec.dylib:ffmpeg \ port:sox # https://github.com/qwinff/qwinff/commit/840bfa14c6c1689094b8aa1d3b286e8ed8c2b046 patchfiles patch-mediaplayerwidget.diff destroot { move ${worksrcpath}/bin/${name}.app ${destroot}${applications_dir}/${name}.app xinstall -d ${destroot}${prefix}/share/${name} xinstall -d ${destroot}${prefix}/share/applications xinstall -m 0644 -W ${worksrcpath}/src constants.xml presets.xml ${destroot}${prefix}/share/${name} copy ${worksrcpath}/${name}.desktop ${destroot}${prefix}/share/applications } post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" } notes " On the first launch the app will not know where to look for FFMPEG and other executables,\ this is expected. Click Ok to not found message and type in correct paths in the opened window.\ If you use Macports binaries, those will look like ${prefix}/bin/ffmpeg etc.\ Settings files are located in ${prefix}/share/${name} "