graphics/paraview: Updated for version 5.4.0

Signed-off-by: Christoph Willing <chris.willing@linux.com>
This commit is contained in:
Christoph Willing 2017-06-07 08:48:08 +10:00 committed by Willy Sudiarto Raharjo
parent 45844302b4
commit e818d80e57
2 changed files with 13 additions and 15 deletions

View file

@ -24,8 +24,8 @@
PRGNAM=paraview
SRCNAM=ParaView
VERSION=${VERSION:-5.3.0}
SHORT_VERSION=${SHORT_VERSION:-5.3}
VERSION=${VERSION:-5.4.0}
SHORT_VERSION=${SHORT_VERSION:-5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -75,7 +75,6 @@ tar xvf $CWD/$SRCNAM-v$VERSION.tar.gz
cd $SRCNAM-v$VERSION
patch -p0 < $CWD/010_doc_path.diff
patch -p0 < $CWD/020_vtkdocs.diff
patch -p1 < $CWD/1201.diff
sed -i -e 's/@PARAVIEW_VERSION_FULL@/1.0/' Applications/ParaView/paraview.desktop.in
echo "Exec=paraview" >> Applications/ParaView/paraview.desktop.in
echo "Categories=Development;Graphics" >> Applications/ParaView/paraview.desktop.in
@ -103,7 +102,6 @@ cd build
-DPARAVIEW_ENABLE_CATALYST=ON \
-DPARAVIEW_ENABLE_FFMPEG=ON \
-DPARAVIEW_ENABLE_PYTHON=ON \
-DPARAVIEW_USE_QTWEBKIT=ON \
-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON \
-DVTK_RENDERING_BACKEND="OpenGL2" \
-DBUILD_DOCUMENTATION=ON \
@ -152,8 +150,8 @@ cp -a \
CONTRIBUTING.* Copyright.* License_v1.2.txt README.* version.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cp $CWD/ParaViewTutorial.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Tutorial.pdf
cp $CWD/ParaViewGettingStarted-5.3.0.pdf $PKG/usr/doc/$PRGNAM-$VERSION/GettingStarted.pdf
cp $CWD/ParaViewGuide-5.3.0.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Guide.pdf
cp $CWD/ParaViewGettingStarted-${VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/GettingStarted.pdf
cp $CWD/ParaViewGuide-${VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Guide.pdf
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,18 +1,18 @@
PRGNAM="paraview"
VERSION="5.3.0"
VERSION="5.4.0"
HOMEPAGE="https://www.paraview.org"
DOWNLOAD="https://www.paraview.org/files/v5.3/ParaView-v5.3.0.tar.gz \
https://www.paraview.org/files/v5.3/ParaViewTutorial.pdf \
DOWNLOAD="https://www.paraview.org/files/v5.4/ParaView-v5.4.0.tar.gz \
https://www.paraview.org/files/v5.4/ParaViewTutorial.pdf \
https://www.paraview.org/Wiki/images/5/5d/ParaViewTutorialData.tar.gz \
https://www.paraview.org/files/v5.3/ParaViewGuide-5.3.0.pdf \
https://www.paraview.org/files/v5.3/ParaViewGettingStarted-5.3.0.pdf"
MD5SUM="68fbbbe733aa607ec13d1db1ab5eba71 \
https://www.paraview.org/files/v5.4/ParaViewGuide-5.4.0.pdf \
https://www.paraview.org/files/v5.4/ParaViewGettingStarted-5.4.0.pdf"
MD5SUM="b92847605bac9036414b644f33cb7163 \
1b3d975eac73bca412414efb2af9974c \
0a4c2a37b8e566ccdb3b1eaaa949477a \
08b1d0dafbe50f2241da7a4a4e2b0b75 \
7ce54ce8a8b36c746035c2b228713074"
f15e485941d26d4d804c5f8fa539465d \
1161cc4b4c2e6476449f6433bcc10120"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg hdf5 Sphinx matplotlib mpich"
REQUIRES="qt5 ffmpeg hdf5 Sphinx matplotlib mpich"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"