summaryrefslogtreecommitdiff
path: root/graphics/paraview/paraview.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/paraview/paraview.SlackBuild')
-rw-r--r--graphics/paraview/paraview.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/paraview/paraview.SlackBuild b/graphics/paraview/paraview.SlackBuild
index 77653cd943..45c2fbefaa 100644
--- a/graphics/paraview/paraview.SlackBuild
+++ b/graphics/paraview/paraview.SlackBuild
@@ -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