aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorDaniel Prosser <dpross1100@msn.com>2023-12-22 06:43:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-12-22 07:10:54 +0700
commit32d3e82f7c5663ed848c7e753846818c0f6cc5ec (patch)
tree4b24e1867d58f291adef935d6d55f6645ddc084d /academic
parentd918c40c51afb0176e25a5f4eb7b983711a0fb8e (diff)
academic/xflr5: Updated for version 6.61.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/xflr5/link_directly.patch10
-rw-r--r--academic/xflr5/xflr5.SlackBuild7
-rw-r--r--academic/xflr5/xflr5.info6
3 files changed, 12 insertions, 11 deletions
diff --git a/academic/xflr5/link_directly.patch b/academic/xflr5/link_directly.patch
index 722a238556a0..10259cc32653 100644
--- a/academic/xflr5/link_directly.patch
+++ b/academic/xflr5/link_directly.patch
@@ -1,13 +1,11 @@
---- 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 @@
+--- xflr5v6/xflr5v6.pro 2023-11-04 12:13:23.000000000 -0400
++++ xflr5v6/xflr5v6.pro.new 2023-12-21 03:12:21.572518974 -0500
+@@ -121,7 +121,7 @@
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)
+ include(xflr5v6.pri)
diff --git a/academic/xflr5/xflr5.SlackBuild b/academic/xflr5/xflr5.SlackBuild
index 18e430811567..0ab76f588cfc 100644
--- a/academic/xflr5/xflr5.SlackBuild
+++ b/academic/xflr5/xflr5.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xflr5
-# Copyright 2020-2022 Daniel Prosser, Lexington Park, MD, USA
+# Copyright 2020-2023 Daniel Prosser, Lexington Park, MD, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xflr5
-VERSION=${VERSION:-6.54}
+VERSION=${VERSION:-6.61}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -87,6 +87,9 @@ sed -i "s/target\.path = \$\$PREFIX\/lib/target\.path = \$\$PREFIX\/lib${LIBDIRS
sed -i "s/Exec=\/usr\/local\/bin\/xflr5/Exec=\/usr\/bin\/xflr5/g" linux/xflr5.desktop
sed -i "s/Icon=\/usr\/local\/share\/xflr5\/xflr5.png/Icon=xflr5/g" linux/xflr5.desktop
+# Fix linking XFoil-lib
+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 484e3aca9562..947ad8f4eac4 100644
--- a/academic/xflr5/xflr5.info
+++ b/academic/xflr5/xflr5.info
@@ -1,8 +1,8 @@
PRGNAM="xflr5"
-VERSION="6.54"
+VERSION="6.61"
HOMEPAGE="http://www.xflr5.com/xflr5.htm"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/xflr5/xflr5-6.54.tar.gz"
-MD5SUM="a005dabe15ff93bc441655228e10c291"
+DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/xflr5/xflr5-6.61.tar.gz"
+MD5SUM="ddedf9a123e67dfbf206901f6d6d59f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""