<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8194575a0c0b10260c45a6205789cdfc2000df94">https://github.com/macports/macports-ports/commit/8194575a0c0b10260c45a6205789cdfc2000df94</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 8194575a0c0 osl: update to version 1.10.10
</span>8194575a0c0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8194575a0c0b10260c45a6205789cdfc2000df94
</span>Author: Jason Liu <jasonliu--@users.noreply.github.com>
AuthorDate: Wed Jan 20 11:43:15 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> osl: update to version 1.10.10
</span>---
graphics/osl/Portfile | 45 ++++++++++++++++++++++++++++++++-------------
1 file changed, 32 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/osl/Portfile b/graphics/osl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6d700f34fe1..a7aa2c41c83 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/osl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/osl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,12 +6,13 @@ PortGroup qt5 1.0
</span> PortGroup cmake 1.1
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup imageworks OpenShadingLanguage 1.10.9 Release-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup imageworks OpenShadingLanguage 1.10.10 Release-
</span> name osl
categories graphics
platforms darwin
license BSD
maintainers @jasonliu-- openmaintainer
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> homepage http://opensource.imageworks.com
description advanced shading language for computer \
graphics rendering
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,9 +24,9 @@ long_description Open Shading Language is a language developed \
</span> and can be used for describing materials, \
lights, displacement, and pattern generation.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 e03ba154633bdd2860e458e39818be2af00d1ee5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 6a62e89797c0dac382cb1816f87ae53deb332a4aedb89c956f05b36cd261a9a4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 13547442
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 7d5d0371d9ee1939a16b25c4ba4d5618b1d5c3a7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c4ba199999e2aa4b5dc7ee13b672eca92b8e7ee5606354ae21bbf10f150aef6e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 13548940
</span>
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,26 +41,35 @@ set llvm_version 9.0
</span>
depends_build-append port:flex \
port:bison
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:llvm-$llvm_version \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:llvm-$llvm_version \
</span> port:boost \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:ilmbase \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:openexr \
</span> port:pugixml \
port:openimageio
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|llvm-config|llvm-config-mp|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {s|llvm-config|llvm-config-mp|g} \
</span> ${worksrcpath}/src/cmake/modules/FindLLVM.cmake
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -E "s|\(/shaders\)|/share/OSL\\1|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s|(/shaders)|/share/OSL\1|g} \
</span> ${worksrcpath}/src/liboslcomp/oslcomp.cpp
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args -DLLVM_VERSION=$llvm_version \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DUSE_PARTIO=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append -DLLVM_VERSION=$llvm_version \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DVERBOSE=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DUSE_PARTIO=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DOSL_BUILD_TESTS=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DINSTALL_DOCS=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-test {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![variant_isset tests]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "'tests' variant must be activated to enable test support"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ error "Please enable the 'tests' variant and try again"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
post-destroot {
xinstall -d ${destroot}${prefix}/share/OSL
<span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${destroot}${prefix}/shaders \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/OSL/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}${prefix}/shaders ${destroot}${prefix}/share/OSL/
</span> }
variant partio description {Enable Partio point cloud support} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,4 +77,13 @@ variant partio description {Enable Partio point cloud support} {
</span> configure.args-replace -DUSE_PARTIO=OFF -DUSE_PARTIO=ON
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +partio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant tests description {Build unit tests} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -DOSL_BUILD_TESTS=OFF -DOSL_BUILD_TESTS=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</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 docs description {Build documentation} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -DINSTALL_DOCS=OFF -DINSTALL_DOCS=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;'>+default_variants +partio +docs
</span></pre><pre style='margin:0'>
</pre>