diff options
author | Daniel Prosser <dpross1100@msn.com> | 2020-01-26 07:11:20 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-26 07:11:20 +0700 |
commit | f365d95b3598a22c2753feccdb359f0e37b0e661 (patch) | |
tree | 1d48d40a2524e5151922ae4e9e1773a55e60ece9 | |
parent | 89f65e847440b2c06d196be324652267db33f4da (diff) |
academic/xflr5: Updated for version 6.47.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | academic/xflr5/link_directly.patch | 13 | ||||
-rw-r--r-- | academic/xflr5/xflr5.SlackBuild | 9 | ||||
-rw-r--r-- | academic/xflr5/xflr5.info | 6 |
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 0000000000000..722a238556a07 --- /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 5f7bfa5ccfbee..48a6186c63125 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 c40fc1db96d5c..8fff4322ae9d5 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" |