mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
academic/scidavis: Updated for version 1.18.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
70d98387cb
commit
c74ac33f6e
3 changed files with 6 additions and 25 deletions
|
@ -1,15 +0,0 @@
|
|||
--- config.pri 2016-07-28 22:17:44.000000000 -0300
|
||||
+++ config.pri.new 2016-12-12 16:43:50.000000000 -0200
|
||||
@@ -280,12 +280,8 @@
|
||||
|
||||
exists(/usr/include/qwt5) {
|
||||
INCLUDEPATH += /usr/include/qwt5
|
||||
- exists(/usr/lib*/libqwt5.*) {
|
||||
LIBS += -lqwt5
|
||||
} else {
|
||||
- LIBS += -lqwt
|
||||
- }
|
||||
- } else {
|
||||
INCLUDEPATH += /usr/include/qwt$${qwtsuff}
|
||||
LIBS += -lqwt$${qwtsuff}
|
||||
}
|
|
@ -24,7 +24,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=scidavis
|
||||
VERSION=${VERSION:-1.17}
|
||||
VERSION=${VERSION:-1.18}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -68,14 +68,10 @@ find -L . \
|
|||
# Correction needed in order to find qwtplot3d in its default path
|
||||
grep -rl "qwtplot3d/" libscidavis/src/ | xargs sed -i "s:<qwtplot3d/:<:"
|
||||
|
||||
# Correction needed in order to re-enable desktop integration
|
||||
# Correction needed in order to install system icons and desktop integration rightly
|
||||
cat $CWD/desktop_integration.txt >> scidavis/basic.pri
|
||||
|
||||
## Applying a patch in the config.pri file in order to build with the correct path for qwt5
|
||||
## See https://sourceforge.net/p/scidavis/scidavis-bugs/291/
|
||||
patch -p1 < $CWD/correction_to_use_qwt5.patch config.pri
|
||||
|
||||
## For some unknown reason, to build in Slackware we need to run qmake twice in order to get icons working properly
|
||||
## For some unknown reason, to build in Slackware we need to run qmake twice in order to get the app icons working properly
|
||||
## See https://sourceforge.net/p/scidavis/scidavis-bugs/259/
|
||||
qmake
|
||||
qmake \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="scidavis"
|
||||
VERSION="1.17"
|
||||
VERSION="1.18"
|
||||
HOMEPAGE="http://scidavis.sourceforge.net/"
|
||||
DOWNLOAD="https://downloads.sourceforge.net/project/scidavis/SciDAVis/1.17/scidavis-1.17.tar.gz"
|
||||
MD5SUM="4d5356c64bf103e4c1dd06f8a35b8a50"
|
||||
DOWNLOAD="https://downloads.sourceforge.net/project/scidavis/SciDAVis/1.18/scidavis-1.18.tar.gz"
|
||||
MD5SUM="3479b7805517630a9b5aeb6254adb9ed"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="muParser qwt5 qwtplot3d"
|
||||
|
|
Loading…
Reference in a new issue