diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2019-11-10 18:48:34 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-11-23 16:01:56 +0700 |
commit | 8191cc531ee0a0c0b0cb42d8837ffdd2d7ee94ca (patch) | |
tree | f17543709d675dc23cc8803f83c64fbbfbd10f1e | |
parent | 7a2a4ef9c61bc2a55defe6bcd4400b0075dd9235 (diff) | |
download | slackbuilds-8191cc531ee0a0c0b0cb42d8837ffdd2d7ee94ca.tar.gz |
gis/OTB: Updated for version 7.0.0.
-rw-r--r-- | gis/OTB/OTB.SlackBuild | 10 | ||||
-rw-r--r-- | gis/OTB/OTB.info | 8 |
2 files changed, 10 insertions, 8 deletions
diff --git a/gis/OTB/OTB.SlackBuild b/gis/OTB/OTB.SlackBuild index a46f312b8b..b987864eb1 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:-6.6.2} +VERSION=${VERSION:-7.0.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} @@ -71,12 +71,13 @@ 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 \ CMake/OTBStandaloneModuleMacros.cmake \ - CMake/OTBApplicationMacros.cmake \ - CMake/CPackFunctions.cmake + CMake/OTBApplicationMacros.cmake sed -i '1i\using namespace std;' \ Modules/ThirdParty/OssimPlugins/src/gdal/*.cpp \ Modules/ThirdParty/OssimPlugins/src/ossim/*.{h,cpp} \ @@ -102,11 +103,12 @@ cd build -DOTB_USE_OPENCV=${OPENCV:-OFF} \ -DOTB_USE_OPENMP=ON \ -DOTB_USE_SHARK=ON \ - -DOTB_WRAP_PYTHON=ON \ + -DOTB_WRAP_PYTHON=OFF \ # needs newer cmake (?) -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 \ $BUILD_QT \ .. diff --git a/gis/OTB/OTB.info b/gis/OTB/OTB.info index 788b949ba5..892526332f 100644 --- a/gis/OTB/OTB.info +++ b/gis/OTB/OTB.info @@ -1,10 +1,10 @@ PRGNAM="OTB" -VERSION="6.6.2" +VERSION="7.0.0" HOMEPAGE="http://orfeo-toolbox.org/otb/" -DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/6.6.2/OTB-6.6.2.tar.gz" -MD5SUM="350eac8f03451066c97662e3eeb35771" +DOWNLOAD="https://github.com/orfeotoolbox/OTB/archive/7.0.0/OTB-7.0.0.tar.gz" +MD5SUM="3b0706f06ba1ebc145d5ced4c2a89e7a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="blas gdal ITK OpenSceneGraph muParser python3 ossim qt5 Shark tinyxml" +REQUIRES="blas gdal ITK OpenSceneGraph muParser python3 ossim Shark tinyxml" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" |