academic/xflr5: Updated for version 6.47.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Daniel Prosser 2020-01-26 07:11:20 +07:00 committed by Willy Sudiarto Raharjo
parent 89f65e8474
commit f365d95b35
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 22 additions and 6 deletions

View file

@ -0,0 +1,13 @@
--- xflr5-gui/xflr5-gui.pro 2019-12-26 23:06:50.168628145 -0500
+++ xflr5-gui/xflr5-gui.pro.new 2019-12-26 23:07:01.925796901 -0500
@@ -128,8 +128,8 @@
QMAKE_CFLAGS_WARN_ON -= -W3
QMAKE_CFLAGS_WARN_ON += -W4
-LIBS += -L../xflr5-engine -lxflr5-engine
-LIBS += -L../XFoil-lib -lXFoil
+LIBS += ../xflr5-engine/libxflr5-engine.so
+LIBS += ../XFoil-lib/libXFoil.so
include(xflr5v6.pri)

View file

@ -2,7 +2,7 @@
# Slackware build script for xflr5
# Copyright 2019 Daniel Prosser, Lexington Park, MD, USA
# Copyright 2020 Daniel Prosser, Lexington Park, MD, USA
# 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=xflr5
VERSION=${VERSION:-6.43}
VERSION=${VERSION:-6.47}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
tar xvf $CWD/${PRGNAM}_${VERSION}_src.tar.gz
tar xvf $CWD/${PRGNAM}_v${VERSION}_src.tar.gz
cd $PRGNAM
chown -R root:root .
find -L . \
@ -75,6 +75,9 @@ sed -i "s/target\.path = \$\$PREFIX\/lib/target\.path = \$\$PREFIX\/lib${LIBDIRS
sed -i "s/target\.path = \$\$PREFIX\/lib/target\.path = \$\$PREFIX\/lib${LIBDIRSUFFIX}/g" \
xflr5-engine/xflr5-engine.pro
# Fix linking
patch -p0 < $CWD/link_directly.patch
qmake-qt5 \
PREFIX=/usr \
QMAKE_CFLAGS+="$SLKCFLAGS" \

View file

@ -1,8 +1,8 @@
PRGNAM="xflr5"
VERSION="6.43"
VERSION="6.47"
HOMEPAGE="http://www.xflr5.com/xflr5.htm"
DOWNLOAD="https://phoenixnap.dl.sourceforge.net/project/xflr5/6.43/xflr5_6.43_src.tar.gz"
MD5SUM="47c388f39f079cfc515655edce59e039"
DOWNLOAD="https://ayera.dl.sourceforge.net/project/xflr5/6.47/xflr5_v6.47_src.tar.gz"
MD5SUM="272484cc3fe077af31bbe2ad7ef4205b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5"