diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2020-10-31 16:30:29 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-11-07 14:02:46 +0700 |
commit | 4c1d4fe46b3a7b31c1b3e9ce302b0dc3e981e508 (patch) | |
tree | 89a3fbda7283794014acfccf55628150c1e7c53b /gis/OTB/OTB.SlackBuild | |
parent | 22d983114e468f35efb2f699ccc2708d5df71936 (diff) |
gis/OTB: Updated for version 7.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/OTB/OTB.SlackBuild')
-rw-r--r-- | gis/OTB/OTB.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gis/OTB/OTB.SlackBuild b/gis/OTB/OTB.SlackBuild index cb23a31e93df2..54837333d5d33 100644 --- a/gis/OTB/OTB.SlackBuild +++ b/gis/OTB/OTB.SlackBuild @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=OTB -VERSION=${VERSION:-7.1.0} +VERSION=${VERSION:-7.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -83,6 +83,10 @@ sed -i '1i\using namespace std;' \ Modules/ThirdParty/OssimPlugins/src/ossim/*.{h,cpp} \ Modules/ThirdParty/OssimPlugins/src/ossim/otb/*.cpp \ Modules/Adapters/OSSIMAdapters/src/*.cxx +sed -i "s/[{]0.0[}]//" \ + Modules/{Learning,Segmentation,Filtering,Registration}/*/include/*.h \ + Modules/Core/Common/include/otbImageRegionAdaptativeSplitter.h \ + Modules/Core/Transform/include/otbImageToGenericRSOutputParameters.h MONTEVERDI=${MONTEVERDI:-OFF} BUILD_MONTEVERDI="-DOTB_USE_QWT=$MONTEVERDI -DOTB_USE_GLEW=$MONTEVERDI -DOTB_USE_OPENGL=$MONTEVERDI" @@ -104,10 +108,8 @@ cd build -DOTB_USE_OPENCV=${OPENCV:-OFF} \ -DOTB_USE_OPENMP=ON \ -DOTB_USE_SHARK=ON \ + -DOTB_INSTALL_PYTHON_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \ -DOTB_WRAP_PYTHON=OFF \ - -DOTB_INSTALL_PYTHON_DIR=$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \ - -DOTB_WRAP_PYTHON3=ON \ - -DOTB_INSTALL_PYTHON3_DIR=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \ -DOTB_INSTALL_DOC_DIR=doc/$PRGNAM-$VERSION \ -DGDAL_CONFIG_CHECKING:BOOL=OFF \ $BUILD_MONTEVERDI \ |