summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
Diffstat (limited to 'academic')
-rw-r--r--academic/xflr5/link_directly.patch13
-rw-r--r--academic/xflr5/xflr5.SlackBuild9
-rw-r--r--academic/xflr5/xflr5.info6
3 files changed, 22 insertions, 6 deletions
diff --git a/academic/xflr5/link_directly.patch b/academic/xflr5/link_directly.patch
new file mode 100644
index 0000000000..722a238556
--- /dev/null
+++ b/academic/xflr5/link_directly.patch
@@ -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)
+
diff --git a/academic/xflr5/xflr5.SlackBuild b/academic/xflr5/xflr5.SlackBuild
index 5f7bfa5ccf..48a6186c63 100644
--- a/academic/xflr5/xflr5.SlackBuild
+++ b/academic/xflr5/xflr5.SlackBuild
@@ -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" \
diff --git a/academic/xflr5/xflr5.info b/academic/xflr5/xflr5.info
index c40fc1db96..8fff4322ae 100644
--- a/academic/xflr5/xflr5.info
+++ b/academic/xflr5/xflr5.info
@@ -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"