<pre style='margin:0'>
Mohamed Akram (mohd-akram) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/22d6e28859778e20b8f2204745630e404c4f68dc">https://github.com/macports/macports-ports/commit/22d6e28859778e20b8f2204745630e404c4f68dc</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 22d6e288597 ampache_browser: new port
</span>22d6e288597 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 22d6e28859778e20b8f2204745630e404c4f68dc
</span>Author: Mohamed Akram <makr@macports.org>
AuthorDate: Sun May 5 15:55:09 2024 +0400
<span style='display:block; white-space:pre;color:#404040;'> ampache_browser: new port
</span>---
audio/ampache_browser/Portfile | 49 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/ampache_browser/Portfile b/audio/ampache_browser/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e7070e18c29
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/ampache_browser/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,49 @@
</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 cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup ampache-browser ampache_browser 1.0.7 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories audio devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {outlook.com:mohd.akram @mohd-akram} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Ampache desktop client library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Ampache Browser is a library that implements a desktop \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ client for Ampache. It provides an end-user Qt UI and has \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a simple C++ interface that allows easy integration into a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ client application.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 daa0a5e0e1436d1c5e073d0ad9c10383f985f560 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 428aba16868d163dd1ab784d8292f87def7ed11a2dcacad087b6c103fdf090e5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 75648
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant qt6 conflicts qt5 description {Use Qt 6} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt6 1.0
</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;'>+variant qt5 conflicts qt6 description {Use Qt 5} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DUSE_QT6=OFF
</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 {![variant_isset qt5]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://doc-snapshots.qt.io/qt6-dev/macos.html#supported-versions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} >= 21 || ${os.platform} ne "darwin"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +qt6
</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;'>+if {![variant_isset qt6]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +qt5
</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 {![variant_isset qt5] && ![variant_isset qt6]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error "Either +qt5 or +qt6 is required"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>