mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
gis/OTB: Updated for version 7.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
22d983114e
commit
4c1d4fe46b
2 changed files with 9 additions and 7 deletions
|
@ -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 \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="OTB"
|
||||
VERSION="7.1.0"
|
||||
VERSION="7.2.0"
|
||||
HOMEPAGE="http://orfeo-toolbox.org/otb/"
|
||||
DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/7.1.0/OTB-7.1.0.tar.gz"
|
||||
MD5SUM="e8e01a9ef4fb77a44f4aa618cd51863f"
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue