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>
This commit is contained in:
newHeiko 2024-04-27 23:01:56 +02:00 committed by Willy Sudiarto Raharjo
parent d5a7d366e5
commit a7c5647901
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 13 additions and 12 deletions

View file

@ -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.

View file

@ -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 ..

View file

@ -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"