summaryrefslogtreecommitdiff
path: root/gis/OTB
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2019-11-06 19:15:00 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-11-09 12:51:16 +0700
commit281c6f1f84969601efda9a27e76ec4d6d07651a1 (patch)
tree35eb925e5d8c229f1a0bbb2290ca86f8541fccce /gis/OTB
parentd7090aa74910aa216154db9430d76e4ac3fdb08b (diff)
downloadslackbuilds-281c6f1f84969601efda9a27e76ec4d6d07651a1.tar.gz
gis/OTB: Updated for version 6.6.2.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'gis/OTB')
-rw-r--r--gis/OTB/OTB.SlackBuild9
-rw-r--r--gis/OTB/OTB.info8
2 files changed, 11 insertions, 6 deletions
diff --git a/gis/OTB/OTB.SlackBuild b/gis/OTB/OTB.SlackBuild
index 848838672d..a46f312b8b 100644
--- a/gis/OTB/OTB.SlackBuild
+++ b/gis/OTB/OTB.SlackBuild
@@ -2,7 +2,7 @@
# SlackBuild script for OTB
-# Copyright 2014-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2014-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=OTB
-VERSION=${VERSION:-6.6.1}
+VERSION=${VERSION:-6.6.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -77,6 +77,11 @@ sed -i "s/lib\b/lib${LIBDIRSUFFIX}/" \
CMake/OTBStandaloneModuleMacros.cmake \
CMake/OTBApplicationMacros.cmake \
CMake/CPackFunctions.cmake
+sed -i '1i\using namespace std;' \
+ Modules/ThirdParty/OssimPlugins/src/gdal/*.cpp \
+ Modules/ThirdParty/OssimPlugins/src/ossim/*.{h,cpp} \
+ Modules/ThirdParty/OssimPlugins/src/ossim/otb/*.cpp \
+ Modules/Adapters/OSSIMAdapters/src/*.cxx
MONTEVERDI=${MONTEVERDI:-OFF}
BUILD_MONTEVERDI="-DOTB_USE_QWT=$MONTEVERDI -DOTB_USE_GLEW=$MONTEVERDI -DOTB_USE_OPENGL=$MONTEVERDI"
diff --git a/gis/OTB/OTB.info b/gis/OTB/OTB.info
index cdd2fb5c32..788b949ba5 100644
--- a/gis/OTB/OTB.info
+++ b/gis/OTB/OTB.info
@@ -1,10 +1,10 @@
PRGNAM="OTB"
-VERSION="6.6.1"
+VERSION="6.6.2"
HOMEPAGE="http://orfeo-toolbox.org/otb/"
-DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/6.6.1/OTB-6.6.1.tar.gz"
-MD5SUM="caea3ee13ba1252045fd7be002defe18"
+DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/6.6.2/OTB-6.6.2.tar.gz"
+MD5SUM="350eac8f03451066c97662e3eeb35771"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="blas gdal ITK OpenSceneGraph muParser python3 ossim Shark tinyxml"
+REQUIRES="blas gdal ITK OpenSceneGraph muParser python3 ossim qt5 Shark tinyxml"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"