1 # Maintainer: moostik <mooostik_at_gmail.com>
2 # Contributor: Knut Franke - Knut.Franke*gmx.de
3 # Contributor: Olaf Leidinger <leidola@newcon.de>
4 # Contributor: Robal <nigrantis.tigris*.gmail.com>
9 pkgdesc="Free application for Scientific Data Analysis and Visualization, started as a fork of QtiPlot"
10 arch=("i686" "x86_64")
11 depends=('qt-assistant-compat' 'qwtplot3d'
12 'gsl' 'muparser' 'python2-pyqt'
13 'mesa' 'shared-mime-info' 'qwt5')
15 url="http://scidavis.sourceforge.net/"
16 source=("http://prdownloads.sourceforge.net/sourceforge/scidavis/scidavis-$pkgver.tar.bz2"
19 "qt-assistant-compat.patch"
20 "scidavis-python2.patch"
22 install="scidavis.install"
25 cd $srcdir/scidavis-$pkgver/scidavis
27 patch < $srcdir/scidavis.pro.patch
28 patch < $srcdir/qwt5.patch
29 patch -p2 < $srcdir/qt-assistant-compat.patch
30 patch < $srcdir/scidavis-python2.patch
32 # There appears to be a problem with qmake not generating the install target for translation files,
33 # at least with Qt 4.4.3. Target is generated if .qm files exist at qmake run time, though.
34 (lupdate scidavis.pro && lrelease scidavis.pro)
41 cd $srcdir/scidavis-$pkgver/scidavis
42 make INSTALL_ROOT=$pkgdir install
44 _pydir=`python2 -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
45 python2 `dirname $_pydir`/py_compile.py $pkgdir/etc/scidavisrc.py
46 python2 `dirname $_pydir`/py_compile.py $pkgdir/usr/share/scidavis/scidavisUtil.py
50 md5sums=('c5650475c5e0b22f9ee5dc49630a0e89'
51 '5973f8d7e6af56bb3d50e6ac680ee3fb'
52 '6afcf9cffa82ab640711071e71f8f706'
53 '450b7139f913210dd8a0ffbde03e86be'
54 'ff0a7cb32e8ed439f008bfd114cbf611'
55 '159aad53f13328123d42bfb7a4adf1b8')