<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/175b84447d5226d7e28451ca5ac85dbd766baf26">https://github.com/macports/macports-ports/commit/175b84447d5226d7e28451ca5ac85dbd766baf26</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 175b84447d5 nanogui: update: new subport
</span>175b84447d5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 175b84447d5226d7e28451ca5ac85dbd766baf26
</span>Author: Jason Liu <jasonliu--@users.noreply.github.com>
AuthorDate: Mon Aug 17 12:27:50 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> nanogui: update: new subport
</span>---
graphics/nanogui/Portfile | 170 ++++++++++++++++++++++++++++++++++++----------
1 file changed, 134 insertions(+), 36 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/nanogui/Portfile b/graphics/nanogui/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d7c725b04c1..36fa6029e7e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/nanogui/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/nanogui/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,12 +4,24 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup cmake 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup mitsuba-renderer nanogui 21e5cbc880b2e26b28b2a35085a9e6706da1e2a8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20200404-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name nanogui
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories graphics
platforms darwin
license BSD
maintainers @jasonliu-- openmaintainer
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$subport eq "nanogui"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts nanogui-wjakob
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup mitsuba-renderer nanogui 21e5cbc880b2e26b28b2a35085a9e6706da1e2a8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20200404-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 192baaa0a7f0ac862b2d09021daa98733e342932 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f105aa23476f99c2db1b28bccf4751498584e366a30e5e5078d6963a8bab6c93 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2911997
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description minimalistic C++/Python GUI library for OpenGL, \
GLES2/3, Metal, and WebAssembly/WebGL
long_description NanoGUI is a minimalistic cross-platform widget \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,17 +29,58 @@ long_description NanoGUI is a minimalistic cross-platform widget \
</span> supports automatic layout generation, stateful C++ \
lambdas callbacks, a variety of useful widget \
types, and Retina-capable rendering on Apple \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- devices.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ devices. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (Note: This port is for the \"new\" NanoGUI, which \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ still sees active development and improvement. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ This newer version of NanoGUI has been re-written \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for the Mitsuba renderer. If you still need to use \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ the \"old\" NanoGUI, please take a look at the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'nanogui-wjakob' port.)
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 192baaa0a7f0ac862b2d09021daa98733e342932 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 f105aa23476f99c2db1b28bccf4751498584e366a30e5e5078d6963a8bab6c93 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2911997
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2017
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append -std=c++17
</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;'>+subport nanogui-wjakob {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts nanogui
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup wjakob nanogui e9ec8a1a9861cf578d9c6e85a6420080aa715c03
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20190922-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 ab08f55be3e6e78d353d05a4a9d7d6d4c5855c9f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1d8201643ae809e0d861f5c33110f622902c0c50a700136ecfc49156c5ad2f23 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2769126
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description minimalistic C++/Python GUI library for OpenGL 3+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description NanoGUI is a minimalistic cross-platform widget \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ library for OpenGL 3.x and higher. It supports \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ automatic layout generation, stateful C++ lambdas \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ callbacks, a variety of useful widget types, and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Retina-capable rendering on Apple devices. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (Note: This port is for the \"old\" NanoGUI, which \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ has been placed into maintenance-only mode by its \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ author. However, most software projects that \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depend on NanoGUI as a library, are still using \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this version, instead of the newer version that \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ has been re-written for the Mitsuba renderer. So \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ even though this port is \"old\", it should not be \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ considered to be deprecated or obselete.)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append -std=c++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
depends_lib-append port:glfw \
port:nanovg
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.cxx_standard 2017
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cxxflags-append -std=c++17
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$subport eq "nanogui-wjakob"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:eigen3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
post-patch {
# By default, NanoGUI's code assumes that the source codes of its
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,11 +99,19 @@ post-patch {
</span> "s|ext/\(nanovg_metal\)/\(src\)/\(.*\.m\)|${prefix}/\\2/\\1/\\3|g" \
"s|ext/\(nanovg_metal\)/src/\(.*\.h\)|${prefix}/include/\\1/\\2|g" \
"s|ext/\(nanovg_metal\)/\(src\)|${prefix}/include/\\1|g" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "s|\(example\[0-9\].*nanogui\)|\\1 \${NANOGUI_EXTRA_LIBS}|g" \
</span> "s|\(COPY resources.*DESTINATION \).*|\\1 share/nanogui/examples)|" \
]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$subport eq "nanogui"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend regexes \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|\(example\[0-9\].*nanogui\)|\\1 \${NANOGUI_EXTRA_LIBS}|g"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {$subport eq "nanogui-wjakob"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend regexes \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/add_subdirectory/s/^/#/" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|\".*CMAKE_CURRENT_SOURCE_DIR.*tools|\"${prefix}/share/cmake/pybind11|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|ext/glfw/include|${prefix}/include/GLFW|g"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> foreach re $regexes {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -E $re ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q -E $re ${worksrcpath}/CMakeLists.txt
</span> }
# Add MacPorts paths
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,28 +125,46 @@ endif()\\
</span>
# Make it so that CMake will be able to link to GL libraries,
# even though we are running on "APPLE" and not "Linux".
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "/elseif .CMAKE_SYSTEM MATCHES.*Linux.*OR CMAKE_SYSTEM_NAME.*BSD/a\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/elseif.*CMAKE_SYSTEM MATCHES.*Linux.*OR CMAKE_SYSTEM_NAME.*BSD/a\\
</span> endif()\\
if (APPLE)\\
" \
${worksrcpath}/CMakeLists.txt
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "/NANOGUI_EXTRA_LIBS GL)/s/^/#/" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$subport eq "nanogui"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/NANOGUI_EXTRA_LIBS GL)/s/^/#/" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> reinplace "/Xrandr Xinerama/s/^/#/" ${worksrcpath}/CMakeLists.txt
reinplace -E "s|NOT \(CMAKE_SYSTEM_NAME MATCHES.*OpenBSD\)|\\1|" \
${worksrcpath}/CMakeLists.txt
# Make it so that CMake can find MacPorts' glfw
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "/include_directories.*glfw/a\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$subport eq "nanogui"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/include_directories.*glfw/a\\
</span> else()\\
\\ include_directories(${prefix}/include/GLFW)\\
" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "/TARGET_OBJECTS:glfw_objects/a\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/TARGET_OBJECTS:glfw_objects/a\\
</span> else()\\
\\ list(APPEND NANOGUI_EXTRA_LIBS glfw)\\
" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {$subport eq "nanogui-wjakob"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set glfw_replacements [list \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/set_target_properties.*glfw /s/^/#/g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/set_target_properties.*glfw_objects /s/^/#/g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/TARGET_OBJECTS:glfw_objects/d" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach re $glfw_replacements {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E $re ${worksrcpath}/CMakeLists.txt
</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;'>+ reinplace "/iokit_library IOKit/a\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+\\ list(APPEND NANOGUI_EXTRA_LIBS glfw)\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
# For some reason, NanoGUI's source code compiles the examples,
# but then never actually installs them anywhere and simply
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -100,19 +179,39 @@ else()\\
</span> reinplace "s|file.COPY resources|install(DIRECTORY resources|" \
${worksrcpath}/CMakeLists.txt
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix typo in reference to GLES3 header file
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|GLES3/gl2ext|GLES3/gl3ext|" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/include/nanogui/opengl.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$subport eq "nanogui"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fix typo in reference to GLES3 header file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|GLES3/gl2ext|GLES3/gl3ext|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/include/nanogui/opengl.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 16} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Reference:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/catchorg/Catch2/issues/1218#issuecomment-372105189
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|std::uncaught_exceptions() > 0|std::uncaught_exception()|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/src/widget.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {$subport eq "nanogui-wjakob"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s/(NVG_BUILD)/\1;NVG_STB_IMAGE_IMPLEMENTATION/} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/CMakeLists.txt
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 16} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Reference: https://github.com/catchorg/Catch2/issues/1218#issuecomment-372105189
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|std::uncaught_exceptions() > 0|std::uncaught_exception()|" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/src/widget.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Add missing file nanovg/stb_image.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/Merge GLAD/i\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+\\ ${prefix}/include/nanovg/stb_image.h\\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/CMakeLists.txt
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append -DNANOGUI_BUILD_GLFW=NO \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DNANOGUI_BUILD_PYTHON=NO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append -DNANOGUI_BUILD_PYTHON=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$subport eq "nanogui"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DNANOGUI_BUILD_GLFW=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {$subport eq "nanogui-wjakob"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DNANOGUI_EIGEN_INCLUDE_DIR=${prefix}/include/eigen3
</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;'>+# BEGIN variants that are only applicable to the "new" NanoGUI
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$subport eq "nanogui"} {
</span>
variant opengl conflicts gles2 gles3 metal \
description {Build NanoGUI using OpenGL backend} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -137,22 +236,21 @@ variant gles3 conflicts opengl gles2 metal \
</span> # NanoGUI's Metal-related code requires at least Metal 2, which is
# only available starting in macOS 10.13 High Sierra and above.
if {${os.major} >= 17} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> variant metal conflicts opengl gles2 gles3 \
description {Build NanoGUI using Metal backend} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:metalnanovg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DNANOGUI_BACKEND="Metal"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- use_xcode yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:metalnanovg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DNANOGUI_BACKEND="Metal"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xcode yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
default_variants +metal
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> default_variants +opengl
<span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# END variants that are only applicable to the "new" NanoGUI
</span>
### The following code was adapted from the portfiles
### of ports such as openvdb and openimageio
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -179,8 +277,8 @@ foreach s ${pythons_suffixes} {
</span> depends_lib-append port:${p} \
port:pybind11
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace -DNANOGUI_BUILD_PYTHON=NO \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DNANOGUI_BUILD_PYTHON=YES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -DNANOGUI_BUILD_PYTHON=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNANOGUI_BUILD_PYTHON=ON
</span> configure.args-append -DNANOGUI_PYBIND11_DIR=${prefix}
post-patch {
</pre><pre style='margin:0'>
</pre>