diff options
author | Philip van der Hoeven <philip@vd-hoeven.nl> | 2017-12-05 22:22:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-12-05 22:22:58 +0700 |
commit | 569e1d9033c1ba9852ea5850a1dbbf44636b56a4 (patch) | |
tree | cd0f12a5de3c2af787d1f5975387f583bb1aafdc /graphics | |
parent | 09f8b4d52a76c5119a14965aa9176393f161095c (diff) |
graphics/leocad: Updated for version 17.07.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/leocad/leocad.SlackBuild | 18 | ||||
-rw-r--r-- | graphics/leocad/leocad.info | 6 |
2 files changed, 7 insertions, 17 deletions
diff --git a/graphics/leocad/leocad.SlackBuild b/graphics/leocad/leocad.SlackBuild index 540f0f5a47ef..104ab6719e78 100644 --- a/graphics/leocad/leocad.SlackBuild +++ b/graphics/leocad/leocad.SlackBuild @@ -4,7 +4,7 @@ # 3D design program for bricks # Copyright 2009-2013 Niels Horn, Rio de Janeiro, Brazil -# Copyright 2015-2016 Philip van der Hoeven, Almere, The Netherlands +# Copyright 2015-2017 Philip van der Hoeven, Almere, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=leocad -VERSION=${VERSION:-0.83.1} +VERSION=${VERSION:-17.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,8 +62,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM -tar xvf $CWD/LeoCAD-Source-$VERSION.tgz -cd $PRGNAM +tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -71,11 +71,6 @@ 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 -e 's/isnan/std::isnan/g' common/camera.cpp - -# This seems to be an error in de qrc file -sed -i 's/leocad_pt.qm/leocad_pt.ts/' leocad.qrc - qmake DISABLE_UPDATE_CHECK=1 DOCS_DIR=/usr/doc/$PRGNAM-$VERSION MAN_DIR=/usr/man/man1 leocad.pro CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -85,11 +80,6 @@ make INSTALL_ROOT="$PKG" install find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Fix icon -mkdir -p $PKG/usr/share/pixmaps -ln -s /usr/share/icons/hicolor/scalable/mimetypes/application-vnd.leocad.svg $PKG/usr/share/pixmaps/leocad.svg -sed -i 's%Icon=leocad.svg%Icon=leocad%' $PKG/usr/share/applications/leocad.desktop - mkdir -p $PKG/usr/man/man1 cp -a docs/leocad.1 $PKG/usr/man/man1 find $PKG/usr/man -type f -exec gzip -9 {} \; diff --git a/graphics/leocad/leocad.info b/graphics/leocad/leocad.info index 1f9d5b7a8553..90d0ceda5cb0 100644 --- a/graphics/leocad/leocad.info +++ b/graphics/leocad/leocad.info @@ -1,8 +1,8 @@ PRGNAM="leocad" -VERSION="0.83.1" +VERSION="17.07" HOMEPAGE="http://www.leocad.org/" -DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/leocad/LeoCAD-Source-0.83.1.tgz" -MD5SUM="352f6120968f45bf5fd892afa292c6fb" +DOWNLOAD="https://github.com/leozide/leocad/archive/v17.07/leocad-17.07.tar.gz" +MD5SUM="b31aa9169dbc86fa5a31d0a8e0a73831" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="leocad_pieces" |