summaryrefslogtreecommitdiff
path: root/graphics/LDView/LDView.SlackBuild
diff options
context:
space:
mode:
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