mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
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:
parent
d5a7d366e5
commit
a7c5647901
3 changed files with 13 additions and 12 deletions
|
@ -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.
|
||||
|
|
|
@ -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 ..
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue