diff options
author | Erich Eckner <git@eckner.net> | 2016-10-06 11:10:35 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-10-06 11:10:35 +0200 |
commit | 45d7191ebe9a4416f77523b85ec16723e9b7e48d (patch) | |
tree | 6887beb40c6aa011489575fe897f4b77da9b083b /scidavis | |
parent | 4ad43afc7055e74fbec336d49e154ebeaa4a5657 (diff) | |
download | archlinuxewe-45d7191ebe9a4416f77523b85ec16723e9b7e48d.tar.xz |
scidavis neu
Diffstat (limited to 'scidavis')
-rw-r--r-- | scidavis/PKGBUILD | 43 | ||||
-rw-r--r-- | scidavis/scidavis-qwt5.patch | 12 | ||||
-rw-r--r-- | scidavis/scidavis.install | 11 |
3 files changed, 66 insertions, 0 deletions
diff --git a/scidavis/PKGBUILD b/scidavis/PKGBUILD new file mode 100644 index 000000000..c802c43ed --- /dev/null +++ b/scidavis/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org> +# Contributor: Knut Franke <Knut.Franke ad gmx dot de> +# Contributor: Olaf Leidinger <leidola at newcon dot de> +# Contributor: Robal <nigrantis.tigris at gmail dot com> +# Contributor: Alexander <chronischzuspaet at gmail dot com> Kempen + +pkgname=scidavis +pkgver=1.14 +pkgrel=1 +pkgdesc="Application for Scientific Data Analysis and Visualization, fork of QtiPlot" +arch=('i686' 'x86_64') +url="http://scidavis.sourceforge.net/" +license=('GPL') +makedepends=('boost' 'cmake') +depends=('gsl' 'glu' 'mesa' 'muparser' 'python2-pyqt4' 'shared-mime-info' + 'qt-assistant-compat' 'qwt5' 'qwtplot3d') +source=(http://prdownloads.sourceforge.net/sourceforge/scidavis/${pkgname}-${pkgver}.tar.gz + scidavis-qwt5.patch) +md5sums=('6b5fd39c17ed67cd64c77ac214099b2e' + '28877fda6842869aa07d0bec50c49fa5') +install=${pkgname}.install + +prepare() { + # fix qwt + patch -p0 -i "scidavis-qwt5.patch" +} + +build() { + cd "${pkgname}-${pkgver}" + qmake-qt4 + make +} + +package() { + cd "${pkgname}-${pkgver}" + make INSTALL_ROOT="${pkgdir}" DESTDIR="${pkgdir}" install + + # remove liborigin files since it uses static library + rm -rf "${pkgdir}/usr/local" +} + + diff --git a/scidavis/scidavis-qwt5.patch b/scidavis/scidavis-qwt5.patch new file mode 100644 index 000000000..50a5e505c --- /dev/null +++ b/scidavis/scidavis-qwt5.patch @@ -0,0 +1,12 @@ +diff -ruN scidavis-1.14.orig/config.pri scidavis-1.14/config.pri +--- scidavis-1.14.orig/config.pri 2016-07-04 13:34:25.366655195 +0300 ++++ scidavis-1.14/config.pri 2016-07-04 13:35:36.194158360 +0300 +@@ -295,7 +295,7 @@ + INCLUDEPATH += /usr/include/qwtplot3d + LIBS += -lqwtplot3d$${qwtsuff} + +- LIBS += -lz -lGLU ++ LIBS += -lz -lGLU -lqwt5 + + INCLUDEPATH += /usr/include/muParser + LIBS += -lgsl -lgslcblas diff --git a/scidavis/scidavis.install b/scidavis/scidavis.install new file mode 100644 index 000000000..83c6997c5 --- /dev/null +++ b/scidavis/scidavis.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor 2> /dev/null + update-desktop-database -q + update-mime-database /usr/share/mime/ > /dev/null +} + +post_remove() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: |