aboutsummaryrefslogtreecommitdiff
path: root/academic/avogadro/avogadro.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/avogadro/avogadro.SlackBuild')
-rw-r--r--academic/avogadro/avogadro.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/academic/avogadro/avogadro.SlackBuild b/academic/avogadro/avogadro.SlackBuild
index 009b66ccd8b1d..38ab7c26fb576 100644
--- a/academic/avogadro/avogadro.SlackBuild
+++ b/academic/avogadro/avogadro.SlackBuild
@@ -5,8 +5,8 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=avogadro
-VERSION=1.0.3
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.1.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,11 +52,7 @@ find . \
-exec chmod 644 {} \;
# Fix gcc-4.7.x build issues.
-patch -p1 < $CWD/patches/gcc-4.7.patch
-# Fix for newer boost.
-patch -p1 < $CWD/patches/boost-1.48.patch
-# Fix mkspecs directory.
-patch -p1 < $CWD/patches/avogadro-1.0.3-mkspecs-dir.patch
+patch -p1 < $CWD/gcc-4.7.patch
# Fix manpage directory.
sed -i 's|share/man|man|' doc/CMakeLists.txt
@@ -72,6 +68,7 @@ cd build
-DCMAKE_SKIP_RPATH=YES \
-DENABLE_GLSL:BOOL=ON \
-DENABLE_UPDATE_CHECKER=OFF \
+ -DQT_MKSPECS_RELATIVE=lib${LIBDIRSUFFIX}/qt/mkspecs \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
@@ -85,7 +82,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog COPYING INSTALL README avogadro/gl2ps/{COPYING*,*.txt} \
+ AUTHORS ChangeLog COPYING INSTALL README \
+ libavogadro/src/extensions/gl2ps/{COPYING*,*.txt,*.pdf} \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild