<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/27464de81095ef8db147fd0e6551f30358fb433b">https://github.com/macports/macports-ports/commit/27464de81095ef8db147fd0e6551f30358fb433b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 27464de81095ef8db147fd0e6551f30358fb433b
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Wed Apr 24 20:49:56 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    rawtherapee: update to 5.10, move OpenMP to a variant
</span>---
 graphics/rawtherapee/Portfile | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/rawtherapee/Portfile b/graphics/rawtherapee/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7c5dccaa3cb..431a83de51d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/rawtherapee/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/rawtherapee/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,10 +5,10 @@ PortGroup           github 1.0
</span> PortGroup           cmake 1.1
 PortGroup           active_variants 1.1
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup        Beep6581 RawTherapee 5.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup        Beep6581 RawTherapee 5.10
</span> github.tarball_from releases
 name                rawtherapee
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            0
</span> 
 categories          graphics
 supported_archs     x86_64 arm64
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,9 +25,9 @@ long_description    ${github.project} is a powerful, cross-platform \
</span> 
 use_xz              yes
 distname            ${name}-${github.version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  fab8e47b9d4836c349b4d054382b7b54316e33b6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  8eaf28c428185c165ef5a28f69595dc77a1c98826065a1f51a28c86c7b0d4823 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    16219076
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  2147b3eab4f114d95fc7fb5dbe8d1abcb12f98cd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  a799b53cd54dba4a211479e342ffc9c5db1c44d3d6c3a27d5cc13adf0debd2da \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    16943724
</span> 
 compiler.cxx_standard   2011
 compiler.openmp_version 3.1
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,8 +56,6 @@ depends_lib-append      path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span> 
 require_active_variants gtk3    quartz
 require_active_variants gtkmm3  quartz
<span style='display:block; white-space:pre;background:#ffe0e0;'>-require_active_variants fftw-3          openmp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-require_active_variants fftw-3-single   openmp
</span> 
 patchfiles-append       no-modified-project_source_dir.diff \
                         patch-config_h_in.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,7 +72,8 @@ set app_contents ${applications_dir}/${github.project}.app/Contents
</span> configure.args-append   -DBUNDLE_BASE_INSTALL_DIR=$app_contents/MacOS \
                         -DDATADIR=$app_contents/Resources \
                         -DLIBDIR=$app_contents/Frameworks \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                        -DBUILD_SHARED_LIBS=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        -DBUILD_SHARED=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        -DOPTION_OMP=OFF
</span> 
 if {${build_arch} eq "x86_64"} {
     configure.args-append   -DPROC_TARGET_NUMBER=1 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -93,6 +92,18 @@ if {[variant_isset debug]} {
</span>     configure.optflags
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant openmp description "Enable OpenMP" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # It does not work on aarch64 at the moment:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # app builds, but segfaults on launch.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Unknown status on PowerPC.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    require_active_variants fftw-3          openmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    require_active_variants fftw-3-single   openmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        -DOPTION_OMP=OFF -DOPTION_OMP=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
     # The following steps somewhat mimic certain parts of the
     # ${worksrcpath}/tools/osx/macosx_bundle.sh script. However, we only
</pre><pre style='margin:0'>

</pre>