aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-03-06 23:33:28 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:50:38 -0500
commit717f6c2a1d0e3f5b60655578aa7ba888465e2078 (patch)
tree40c6f584de6dcd31252436d53a310e09e1d8dd18 /graphics
parentf8ba7ee371f1ec9150ba6ba0a521b5c2a0dbf618 (diff)
graphics/openscad: Updated for version 2021.01.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/openscad/openscad.SlackBuild20
-rw-r--r--graphics/openscad/openscad.info8
2 files changed, 14 insertions, 14 deletions
diff --git a/graphics/openscad/openscad.SlackBuild b/graphics/openscad/openscad.SlackBuild
index b49eeb8accfd3..8554e46a1f64e 100644
--- a/graphics/openscad/openscad.SlackBuild
+++ b/graphics/openscad/openscad.SlackBuild
@@ -23,14 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openscad
-VERSION=${VERSION:-2015.03.3}
-SRCVER=${SRCVER:-$(echo $VERSION | sed 's/\./-/2')}
+VERSION=${VERSION:-2021.01}
+#SRCVER=${SRCVER:-$(echo $VERSION | sed 's/\./-/2')}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.src.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.src.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 -o -perm 511 \) \
@@ -70,7 +70,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-qmake -recursive openscad.pro \
+qmake-qt5 -recursive openscad.pro \
PREFIX=/usr \
QMAKE_CFLAGS="$SLKCFLAGS" \
QMAKE_CXXFLAGS="$SLKCFLAGS"
@@ -86,7 +86,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING README.md RELEASE_NOTES doc/*.pdf doc/TODO.txt \
+ COPYING README.md RELEASE_NOTES.md doc/*.pdf doc/TODO.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/openscad/openscad.info b/graphics/openscad/openscad.info
index 1cbdbf06e5f6c..753a847121a5f 100644
--- a/graphics/openscad/openscad.info
+++ b/graphics/openscad/openscad.info
@@ -1,10 +1,10 @@
PRGNAM="openscad"
-VERSION="2015.03.3"
+VERSION="2021.01"
HOMEPAGE="http://www.openscad.org/"
-DOWNLOAD="http://files.openscad.org/openscad-2015.03-3.src.tar.gz"
-MD5SUM="a498a218a247468eee140ccc44c73afa"
+DOWNLOAD="https://files.openscad.org/openscad-2021.01.src.tar.gz"
+MD5SUM="79f8e3a42bcfeeb3ddde9e5bc2311f76"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="CGAL OpenCSG"
+REQUIRES="CGAL OpenCSG double-conversion"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"