summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-26 11:15:39 +0100
committerErich Eckner <git@eckner.net>2021-03-26 11:15:39 +0100
commit41c9bc6c0ae4756611954bbebb8ea953bd0ce9a9 (patch)
tree7efb07cb7e9667e2a5305e51f9f84e319c4ea2b8
parent38a5d3921d0539fc904819622455b6e1ac8bf626 (diff)
downloadarchlinuxewe-41c9bc6c0ae4756611954bbebb8ea953bd0ce9a9.tar.xz
Revert "scidavis: removed, was not updateable"
This reverts commit 3f9c7625f58ed9b20cdd007fce66b70bdc43c8ea.
-rw-r--r--scidavis/.gitignore1
-rw-r--r--scidavis/PKGBUILD54
-rw-r--r--scidavis/scidavis.install11
3 files changed, 66 insertions, 0 deletions
diff --git a/scidavis/.gitignore b/scidavis/.gitignore
new file mode 100644
index 000000000..1d45c0a40
--- /dev/null
+++ b/scidavis/.gitignore
@@ -0,0 +1 @@
+*.patch
diff --git a/scidavis/PKGBUILD b/scidavis/PKGBUILD
new file mode 100644
index 000000000..940efebac
--- /dev/null
+++ b/scidavis/PKGBUILD
@@ -0,0 +1,54 @@
+# 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.26
+_commit=${pkgver}
+pkgrel=9
+pkgdesc="Application for Scientific Data Analysis and Visualization, fork of QtiPlot"
+arch=('i686' 'pentium4' 'x86_64')
+url="http://scidavis.sourceforge.net/"
+license=('GPL')
+makedepends=('boost' 'cmake')
+_pinned_dependencies=(
+ 'gcc-libs=10.2.0'
+ 'glibc>=2.31'
+ 'glu=9.0.1'
+ 'gsl=2.6'
+ 'libglvnd=1.3.2'
+ 'libQtCore.so=4'
+ 'libQtGui.so=4'
+ 'libQtOpenGL.so=4'
+ 'libQtSvg.so=4'
+ 'libqwt5.so=1'
+ 'libqwtplot3d.so=0'
+ 'muparser=2.3.2'
+ 'zlib=1:1.2.11'
+)
+depends=('mesa' 'python-qtpy' 'shared-mime-info' "${_pinned_dependencies[@]}")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/highperformancecoder/scidavis/archive/${_commit}.tar.gz")
+sha512sums=('5f2ca9853a1f4b777520655caf07910e279e804a11569eef8ceee4d29e217f1b93d069d2d290ee9e0867fbeddbdd36969a2de43a9fad6ef5789abdae08f2a2cd')
+install="${pkgname}.install"
+
+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"
+
+ # install desktop file and icon
+ install -Dm644 "scidavis/scidavis.desktop" "${pkgdir}/usr/share/applications/scidavis.desktop"
+ install -Dm644 "scidavis/icons/scidavis.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/scidavis.svg"
+}
+
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: