summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Rosemann <heiko.rosemann@web.de>2017-07-20 07:22:53 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-22 06:56:14 +0700
commit281201fdb7c88d5bea733b12ce390b081d7c77a4 (patch)
treea00d3bb3a95aecc8c503aeae63568fe8ac08318c
parentf7c68d660a9395e259d1fb80bd0c6855649221b6 (diff)
downloadslackbuilds-281201fdb7c88d5bea733b12ce390b081d7c77a4.tar.gz
office/xtrkcad: Updated for version 4.3.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--office/xtrkcad/xtrkcad.SlackBuild10
-rw-r--r--office/xtrkcad/xtrkcad.info6
2 files changed, 7 insertions, 9 deletions
diff --git a/office/xtrkcad/xtrkcad.SlackBuild b/office/xtrkcad/xtrkcad.SlackBuild
index 98ceeee9b9..a4573cef5f 100644
--- a/office/xtrkcad/xtrkcad.SlackBuild
+++ b/office/xtrkcad/xtrkcad.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xtrkcad
-# Copyright 2013-2015 Heiko Rosemann Germany
+# Copyright 2013-2017 Heiko Rosemann Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xtrkcad
-VERSION=${VERSION:-4.2.4a}
+VERSION=${VERSION:-4.3.0}
SRCVERSION=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,9 +78,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DXTRKCAD_USE_GETTEXT=ON \
- -DXTRKCAD_USE_GTK=ON \
- -DXTRKCAD_USE_GTK_CAIRO=ON \
- -DXTRKCAD_USE_LAYOUTCONTROL=OFF ..
+ -DXTRKCAD_USE_GTK=ON ..
make
make install DESTDIR=$PKG
cd ..
@@ -92,7 +90,7 @@ mkdir -p $PKG/usr/share/applications
install -m644 app/lib/xtrkcad.desktop $PKG/usr/share/applications/xtrkcad.desktop
mkdir -p $PKG/usr/share/pixmaps
-install -m644 app/lib/icon.png $PKG/usr/share/pixmaps/xtrkcad.png
+install -m644 app/lib/icon.svg $PKG/usr/share/pixmaps/xtrkcad.svg
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
for i in COPYING Readme.txt $PRGNAM.tip
diff --git a/office/xtrkcad/xtrkcad.info b/office/xtrkcad/xtrkcad.info
index 381ff52d81..01d5ba0992 100644
--- a/office/xtrkcad/xtrkcad.info
+++ b/office/xtrkcad/xtrkcad.info
@@ -1,8 +1,8 @@
PRGNAM="xtrkcad"
-VERSION="4.2.4a"
+VERSION="4.3.0"
HOMEPAGE="http://sourceforge.net/projects/xtrkcad-fork"
-DOWNLOAD="http://sourceforge.net/projects/xtrkcad-fork/files/XTrackCad/Version%204.2.4/xtrkcad-source-4.2.4a.tar.gz"
-MD5SUM="03e1df8d7f80a0ba19b30f7368feb2a6"
+DOWNLOAD="http://sourceforge.net/projects/xtrkcad-fork/files/XTrackCad/Version%204.3.0/xtrkcad-source-4.3.0.tar.gz"
+MD5SUM="3b884cbc348c23a483a6761a97923393"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="webkitgtk"