summaryrefslogtreecommitdiff
path: root/graphics/LDView/LDView.SlackBuild
diff options
context:
space:
mode:
authorPhilip van der Hoeven <philip@vd-hoeven.nl>2015-02-05 06:22:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-05 06:47:45 +0700
commit2a0ade82ff59e8443084085a84edf8f654e7ac6c (patch)
tree3dbca37ea0b8622b9de4530909abe548e6600bb1 /graphics/LDView/LDView.SlackBuild
parent93f4c57e9ee875d16484b6437bb615049b8d6cd0 (diff)
downloadslackbuilds-2a0ade82ff59e8443084085a84edf8f654e7ac6c.tar.gz
graphics/LDView: Updated for version 4.2beta1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/LDView/LDView.SlackBuild')
-rw-r--r--graphics/LDView/LDView.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/graphics/LDView/LDView.SlackBuild b/graphics/LDView/LDView.SlackBuild
index e14fa44f4f..9b835bde73 100644
--- a/graphics/LDView/LDView.SlackBuild
+++ b/graphics/LDView/LDView.SlackBuild
@@ -4,6 +4,7 @@
# a program to visualize LDraw files
# Copyright 2009-2010, 2012-2013 Niels Horn, Rio de Janeiro, Brazil
+# Copyright 2015 Philip van der Hoeven, Almere, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +24,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# revision date 2013/11/20
-
PRGNAM=LDView
-VERSION=4.1
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-4.2beta1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -63,11 +62,11 @@ fi
set -e
-rm -rf $TMP/$PRGNAM-$VERSION $PKG
+rm -rf $TMP/$PRGNAM $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -75,9 +74,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 {} \;
-# Patch for a bug in QT, solves problems on NVIDIA cards
-patch -p1 < $CWD/opengl.patch
-
# Patch for gcc-4.7
patch -p1 < $CWD/LDView_gcc47.patch