diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2021-04-18 10:49:16 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-19 01:07:14 -0500 |
commit | 65168847b6c7b93ca1e14cdaae6502eec8823329 (patch) | |
tree | 9546b332135ca83ce4dee55f33200ce0b0465632 /gis | |
parent | 4af1f8c7d6ba48fa54565a7c4f52a13290e7270f (diff) |
gis/OTB: Updated for Slackware 15.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'gis')
-rw-r--r-- | gis/OTB/OTB.SlackBuild | 15 | ||||
-rw-r--r-- | gis/OTB/OTB.info | 2 |
2 files changed, 7 insertions, 10 deletions
diff --git a/gis/OTB/OTB.SlackBuild b/gis/OTB/OTB.SlackBuild index 54837333d5d33..d0c39f75978b3 100644 --- a/gis/OTB/OTB.SlackBuild +++ b/gis/OTB/OTB.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for OTB -# Copyright 2014-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2014-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -71,8 +71,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sed -i "s/VERSION 3.10.2/VERSION 2.5.2/" \ - CMakeLists.txt sed -i "s/lib\b/lib${LIBDIRSUFFIX}/" \ CMakeLists.txt \ CMake/OTBModuleExternal.cmake \ @@ -92,13 +90,12 @@ MONTEVERDI=${MONTEVERDI:-OFF} BUILD_MONTEVERDI="-DOTB_USE_QWT=$MONTEVERDI -DOTB_USE_GLEW=$MONTEVERDI -DOTB_USE_OPENGL=$MONTEVERDI" BUILD_QT="-DOTB_USE_QT=${QTGUI:-ON}" -# TODO: set WRAP_PYTHON=ON when cmake is upgraded mkdir -p build cd build cmake \ - -DCMAKE_BUILD_TYPE:STRING=Release \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_FLAGS="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_EXAMPLES=OFF \ -DBUILD_TESTING=OFF \ @@ -109,9 +106,9 @@ cd build -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_WRAP_PYTHON=ON \ -DOTB_INSTALL_DOC_DIR=doc/$PRGNAM-$VERSION \ - -DGDAL_CONFIG_CHECKING:BOOL=OFF \ + -DGDAL_CONFIG_CHECKING=OFF \ $BUILD_MONTEVERDI \ $BUILD_QT \ .. diff --git a/gis/OTB/OTB.info b/gis/OTB/OTB.info index 6d6fe8658470a..cc0685d204668 100644 --- a/gis/OTB/OTB.info +++ b/gis/OTB/OTB.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/7.2.0/OTB-7.2.0.tar.gz" MD5SUM="925a7bcf121c72a24dc99924c1a0c02a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="blas gdal ITK OpenSceneGraph muParser python3 ossim Shark tinyxml" +REQUIRES="blas gdal ITK OpenSceneGraph muParser ossim Shark tinyxml" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" |