<pre style='margin:0'>
Marko Käning (mkae) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fcf21805750934121a047572e2b45feff90a1711">https://github.com/macports/macports-ports/commit/fcf21805750934121a047572e2b45feff90a1711</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit fcf21805750934121a047572e2b45feff90a1711
</span>Author: Marko Käning <mk@macports.org>
AuthorDate: Fri Dec 16 23:30:39 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> phonon-backend-vlc(-qt5): new (sub)ports
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/51413
</span>---
audio/phonon-backend-vlc/Portfile | 50 +++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/phonon-backend-vlc/Portfile b/audio/phonon-backend-vlc/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2633298
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/phonon-backend-vlc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,50 @@
</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 cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+fetch.type git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+git.url git://anongit.kde.org/phonon-vlc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+git.branch 6268ba35692acdb9cfdd062a807f957f499fef2c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name phonon-backend-vlc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.9.0.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license {LGPL-2.1 LGPL-3}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers gmail.com:rjvbertin openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description VLC backend for Phonon
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://projects.kde.org/projects/kdesupport/phonon/phonon-vlc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname phonon-backend-vlc-git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append path:lib/libvlc.dylib:libVLC
</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;'>+subport ${name}-qt5 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ categories audio kde kf5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description A VLC backend for the Phonon4Qt5 multimedia library.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:phonon-qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DPHONON_BUILD_PHONON4QT5:BOOL=ON
</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;'>+if {${subport} ne "${name}-qt5"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt4 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ categories audio kde kde4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description A VLC backend for the Phonon multimedia library.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:phonon port:automoc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DPhonon_DIR=${qt_cmake_module_dir}/phonon
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists ${qt_plugins_dir}] && ![file exists ${qt_plugins_dir}/phonon_backend]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${destroot}${qt_plugins_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/lib/kde4/plugins/phonon_backend ${destroot}${qt_plugins_dir}
</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;'>+}
</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;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url http://www.gtlib.gatech.edu/pub/kde/stable/phonon/${name}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex "\(\\d+(?:\\.\\d+)*)\/"
</span></pre><pre style='margin:0'>
</pre>