<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5a69a82d3d1a606139b02ef7fea76fda42c312cb">https://github.com/macports/macports-ports/commit/5a69a82d3d1a606139b02ef7fea76fda42c312cb</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 5a69a82d3d1 qwinff: new port, Qt4 GUI for FFMPEG
</span>5a69a82d3d1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5a69a82d3d1a606139b02ef7fea76fda42c312cb
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sun Aug 27 09:05:27 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> qwinff: new port, Qt4 GUI for FFMPEG
</span>---
multimedia/qwinff/Portfile | 44 ++++++++++++++++++++++
.../qwinff/files/patch-mediaplayerwidget.diff | 11 ++++++
2 files changed, 55 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/qwinff/Portfile b/multimedia/qwinff/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..72d2454cd89
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/qwinff/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,44 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup qt4 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup qwinff qwinff 0.2.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories multimedia
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description QWinFF, FFmpeg GUI front-end based on Qt4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 d841c96038868359f1dc5690d0866a416bfe910d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 cdf5316b01df42572bda4118de1515bb7bb6f211e7cfa01b2d573db6ecb72958 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 639145
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:desktop-file-utils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run-append path:lib/libavcodec.dylib:ffmpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:sox
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/qwinff/qwinff/commit/840bfa14c6c1689094b8aa1d3b286e8ed8c2b046
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-mediaplayerwidget.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}/bin/${name}.app ${destroot}${applications_dir}/${name}.app
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/applications
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath}/src constants.xml presets.xml ${destroot}${prefix}/share/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/${name}.desktop ${destroot}${prefix}/share/applications
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+On the first launch the app will not know where to look for FFMPEG and other executables,\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+this is expected. Click Ok to not found message and type in correct paths in the opened window.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+If you use Macports binaries, those will look like ${prefix}/bin/ffmpeg etc.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Settings files are located in ${prefix}/share/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/qwinff/files/patch-mediaplayerwidget.diff b/multimedia/qwinff/files/patch-mediaplayerwidget.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..b0d5bc4bbee
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/qwinff/files/patch-mediaplayerwidget.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/ui/mediaplayerwidget.cpp.orig 2015-08-22 09:09:21.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/ui/mediaplayerwidget.cpp 2023-08-27 08:47:18.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -59,7 +59,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ connect(mplayer, SIGNAL(stateChanged(int)), SLOT(playerStateChanged()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ connect(ui->slideSeek, SIGNAL(valueChanged(int)), SLOT(seekSliderChanged()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ connect(ui->btnPlayPause, SIGNAL(clicked()), SLOT(togglePlayPause()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- connect(ui->btnBack, SIGNAL(clicked()), SLOT(seekBack()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ connect(ui->btnBack, SIGNAL(clicked()), SLOT(seekBackward()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ connect(ui->btnForward, SIGNAL(clicked()), SLOT(seekForward()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ connect(ui->btnReset, SIGNAL(clicked()), SLOT(resetPosition()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>