diff options
author | newHeiko <35038740+newHeiko@users.noreply.github.com> | 2024-04-27 23:01:56 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-05-04 21:44:54 +0700 |
commit | a7c56479014cebdb1fc103d12033249e1a0e1f27 (patch) | |
tree | bcda49724524f29f704644a75babe91d8bfa3c36 | |
parent | d5a7d366e59c6b617b72f3499ad0137dd1b52ccf (diff) |
office/xtrkcad: Updated for version 5.3.0GA.
- new build-time dependency FreeImage
- Removed reference to Yahoo! Group, replaced with groups.io link
- Updated copyright year
- Removed unused LIBDIRSUFFIX
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | office/xtrkcad/slack-desc | 2 | ||||
-rw-r--r-- | office/xtrkcad/xtrkcad.SlackBuild | 15 | ||||
-rw-r--r-- | office/xtrkcad/xtrkcad.info | 8 |
3 files changed, 13 insertions, 12 deletions
diff --git a/office/xtrkcad/slack-desc b/office/xtrkcad/slack-desc index 0d5c1a3b591c3..d6ce431c398b6 100644 --- a/office/xtrkcad/slack-desc +++ b/office/xtrkcad/slack-desc @@ -15,5 +15,5 @@ xtrkcad: is easy with the built-in editor. xtrkcad: xtrkcad: The website is located at http://www.xtrkcad.org and files at xtrkcad: http://sourceforge.net/projects/xtrkcad-fork -xtrkcad: Also check the Yahoo! Group [XtrkCAD]. +xtrkcad: Also check the groups.io-group https://xtrackcad.groups.io. xtrkcad: Note the spelling and CamelCase are inconsistent throughout the app. diff --git a/office/xtrkcad/xtrkcad.SlackBuild b/office/xtrkcad/xtrkcad.SlackBuild index 33804d3c700f1..c0f98a282b948 100644 --- a/office/xtrkcad/xtrkcad.SlackBuild +++ b/office/xtrkcad/xtrkcad.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xtrkcad -# Copyright 2013-2022 Heiko Rosemann Germany +# Copyright 2013-2024 Heiko Rosemann Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xtrkcad -VERSION=${VERSION:-5.2.2GA} +VERSION=${VERSION:-5.3.0GA} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -53,16 +53,12 @@ SRCNAM=${PRGNAM}-source-$VERSION if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -80,6 +76,10 @@ 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 {} \; +# Remove libzip.a bundled with xtrkcad to make cmake find the system version +# Required for supporting platforms other than x86_64 +rm -rf app/tools/lib + mkdir -p build cd build cmake \ @@ -89,7 +89,8 @@ cd build -DCMAKE_BUILD_TYPE=Release \ -DXTRKCAD_USE_GETTEXT=ON \ -DXTRKCAD_USE_GTK=ON .. - make + # Remove DBUS access from make to avoid parallel inkscape crashing + DBUS_SESSION_BUS_ADDRESS="" make make install DESTDIR=$PKG cd .. diff --git a/office/xtrkcad/xtrkcad.info b/office/xtrkcad/xtrkcad.info index 24b3c50293942..e3ef590bc9c4a 100644 --- a/office/xtrkcad/xtrkcad.info +++ b/office/xtrkcad/xtrkcad.info @@ -1,10 +1,10 @@ PRGNAM="xtrkcad" -VERSION="5.2.2GA" +VERSION="5.3.0GA" HOMEPAGE="http://www.xtrkcad.org" -DOWNLOAD="http://sourceforge.net/projects/xtrkcad-fork/files/XTrackCad/Version%205.2.2/xtrkcad-source-5.2.2GA.tar.gz" -MD5SUM="a91da56b9e509eab1ceab0b8fee92b2f" +DOWNLOAD="http://sourceforge.net/projects/xtrkcad-fork/files/XTrackCad/Version%205.3.0/xtrkcad-source-5.3.0GA.tar.gz" +MD5SUM="d9ea03fcd396a3ff7d1592abd98c3aa3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="FreeImage inkscape" MAINTAINER="Heiko Rosemann" EMAIL="heiko.rosemann@web.de" |