summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Brunner2017-03-09 12:07:57 +0100
committerClemens Brunner2017-03-09 12:07:57 +0100
commitde13e88f52d2dd3ef4b3a55f7bbc5dcb16226b8a (patch)
tree92deb6da5b91057ed2635bb75ac44cf6bd1fdc7f
parentc4e3f5e25441bf69270820d713a43d3b2222c761 (diff)
downloadaur-de13e88f52d2dd3ef4b3a55f7bbc5dcb16226b8a.tar.gz
Update to 0.6.0
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD19
-rw-r--r--zoom_gui_command.patch13
3 files changed, 14 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2b4da15b9a3..f47febe335a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,16 @@
pkgbase = sigviewer
- pkgdesc = A biosignal viewer
- pkgver = 0.5.2
+ pkgdesc = A viewing application for biosignals
+ pkgver = 0.6.0
pkgrel = 1
url = https://github.com/cbrnr/sigviewer
arch = i686
arch = x86_64
license = GPL
- depends = qt4
+ depends = qt5-base
depends = libbiosig
- source = https://sourceforge.net/projects/sigviewer/files/0.5.2/sigviewer-0.5.2-src.tar.gz
- source = zoom_gui_command.patch
- sha1sums = bc4622c23d7fde98f24bd979b6c61e9f0a2d1627
- sha1sums = cb023fde0a4e87be137fad514990c966681e63ea
+ depends = libxdf
+ source = https://github.com/cbrnr/sigviewer/archive/v0.6.0.zip
+ sha1sums = 97d11343b0aadd3218cd36ce8a624b9af78dd614
pkgname = sigviewer
diff --git a/PKGBUILD b/PKGBUILD
index 0fcbeae67f1..739cb6cb05b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Clemens Brunner <clemens dot brunner at gmail dot com>
pkgname=sigviewer
-pkgver=0.5.2
+pkgver=0.6.0
pkgrel=1
-pkgdesc="A biosignal viewer"
+pkgdesc="A viewing application for biosignals"
arch=('i686' 'x86_64')
url="https://github.com/cbrnr/sigviewer"
license=('GPL')
groups=()
-depends=('qt4' 'libbiosig')
+depends=('qt5-base' 'libbiosig' 'libxdf')
makedepends=('')
optdepends=()
provides=()
@@ -17,20 +17,17 @@ backup=()
options=()
install=
changelog=
-source=(https://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$pkgver-src.tar.gz
- zoom_gui_command.patch)
+source=(https://github.com/cbrnr/sigviewer/archive/v$pkgver.zip)
noextract=()
-sha1sums=('bc4622c23d7fde98f24bd979b6c61e9f0a2d1627'
- 'cb023fde0a4e87be137fad514990c966681e63ea')
+sha1sums=('97d11343b0aadd3218cd36ce8a624b9af78dd614')
build() {
- cd "$srcdir/$pkgname-$pkgver-src"
- patch -p0 < ../../zoom_gui_command.patch
- qmake-qt4
+ cd "$srcdir/sigviewer-$pkgver"
+ qmake
make
}
package() {
mkdir -p "$pkgdir/usr/bin"
- cp "$srcdir/$pkgname-$pkgver-src/bin/release/sigviewer" "$pkgdir/usr/bin"
+ cp "$srcdir/sigviewer-$pkgver/bin/release/sigviewer" "$pkgdir/usr/bin"
}
diff --git a/zoom_gui_command.patch b/zoom_gui_command.patch
deleted file mode 100644
index c2b1ee726dd..00000000000
--- a/zoom_gui_command.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/gui_impl/commands/zoom_gui_command.h
-+++ src/gui_impl/commands/zoom_gui_command.h
-@@ -57,8 +57,8 @@
- //-------------------------------------------------------------------------
- float32 minPixelPerSample ();
-
-- static float const ZOOM_FACTOR_ = 2;
-- static float const MAX_HORIZONTAL_ZOOM_IN_ = 32;
-+ static int const ZOOM_FACTOR_ = 2;
-+ static int const MAX_HORIZONTAL_ZOOM_IN_ = 32;
-
- static QString const GOTO_;
- static QString const ZOOM_IN_VERTICAL_;