summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiancarlo Dessì <slack@giand.it>2022-08-12 20:51:35 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-13 10:40:39 +0700
commit6aec6d2a311eaaf20d67457cf22a5cfaf28a6736 (patch)
tree6173b3ce7fa66aaa29f49fec481e364f0b90b52f
parent8b9f4895beaefbbbddda6b02f9d8db39febe5b04 (diff)
downloadslackbuilds-6aec6d2a311eaaf20d67457cf22a5cfaf28a6736.tar.gz
academic/avogadroapp: Updated for version 1.97.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/avogadroapp/README15
-rw-r--r--academic/avogadroapp/avogadroapp.SlackBuild10
-rw-r--r--academic/avogadroapp/avogadroapp.info12
3 files changed, 19 insertions, 18 deletions
diff --git a/academic/avogadroapp/README b/academic/avogadroapp/README
index 690df5da4f..dff2a31cc7 100644
--- a/academic/avogadroapp/README
+++ b/academic/avogadroapp/README
@@ -8,15 +8,16 @@ a powerful plugin architecture.
Managed by OpenChemistry, Avogadro 2 it is based on QT5 libraries and
it is a rewrite of the old Avogadro 1.x.
-By default avogadroapp is built with static libraries. If you
-want to enable the building with shared libraries, pass the variable
-SHARED=yes to the script:
+By default the script builds avogadroapp with shared libraries. If you
+want to enable the building with static libraries, pass the variable
+SHARED=no to the script:
- SHARED=yes ./avogadroapp.SlackBuild
-
-Note that if you build avogadroapp with shared libraries, hdf5 is
-not required as needed dependency.
+ SHARED=no ./avogadroapp.SlackBuild (hdf5 required)
Warning: the computational settings made through the Input Generator
require the MoleQueue server running to submit jobs to local
applications or remote HPC clusters.
+
+OPTIONAL:
+
+hdf5 for a static build.
diff --git a/academic/avogadroapp/avogadroapp.SlackBuild b/academic/avogadroapp/avogadroapp.SlackBuild
index 976252b668..e8b6905bd1 100644
--- a/academic/avogadroapp/avogadroapp.SlackBuild
+++ b/academic/avogadroapp/avogadroapp.SlackBuild
@@ -25,11 +25,10 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=avogadroapp
-VERSION=${VERSION:-1.96.0}
+VERSION=${VERSION:-1.97.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-LOCVERSION=${LOCVERSION:-20220620}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,7 +43,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-SHAREDLIBS="" ; [ "${SHARED:-no}" = "yes" ] && SHAREDLIBS="-DBUILD_SHARED_LIBS=ON"
+SHAREDLIBS="" ; [ "${SHARED:-yes}" = "yes" ] && SHAREDLIBS="-DBUILD_SHARED_LIBS=ON"
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -69,12 +68,13 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION avogadro-i18n
+rm -rf $PRGNAM-$VERSION avogadro-i18n*
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
# Following archive must be unpacked in /tmp since the build process
# searches it as parallel directory and tries to connect to github if
# not found
-tar xvf $CWD/avogadro-i18n-$LOCVERSION.tar.gz
+tar xvf $CWD/avogadro-i18n-$VERSION.tar.gz
+mv avogadro-i18n-$VERSION avogadro-i18n
# Now we can change directory to $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
diff --git a/academic/avogadroapp/avogadroapp.info b/academic/avogadroapp/avogadroapp.info
index 939fbd8d08..e98567822d 100644
--- a/academic/avogadroapp/avogadroapp.info
+++ b/academic/avogadroapp/avogadroapp.info
@@ -1,12 +1,12 @@
PRGNAM="avogadroapp"
-VERSION="1.96.0"
+VERSION="1.97.0"
HOMEPAGE="https://github.com/OpenChemistry/avogadroapp"
-DOWNLOAD="https://github.com/OpenChemistry/avogadroapp/archive/1.96.0/avogadroapp-1.96.0.tar.gz \
- https://github.com/giandex/misc/raw/main/avogadro-i18n-20220620.tar.gz"
-MD5SUM="e3f5c1749230e38044fe2d2d2b24dada \
- b503d2034e0463f702584c706af8b27d"
+DOWNLOAD="https://github.com/OpenChemistry/avogadroapp/archive/1.97.0/avogadroapp-1.97.0.tar.gz \
+ https://github.com/OpenChemistry/avogadro-i18n/archive/1.97.0/avogadro-i18n-1.97.0.tar.gz"
+MD5SUM="748afd9c2af5d7e193fbbb7c939223a3 \
+ 58b31e2047e4467befb2e63eff59672b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="avogadrolibs hdf5"
+REQUIRES="avogadrolibs"
MAINTAINER="Giancarlo Dessì"
EMAIL="slack@giand.it"