diff options
author | Marian Buschsieweke <marian.buschsieweke@ovgu.de> | 2019-06-03 21:12:42 +0200 |
---|---|---|
committer | Milan P. Stanić <mps@arvanta.net> | 2019-06-04 23:33:44 +0200 |
commit | a910bb8413b762c71f0add0b32f056e0f428d472 (patch) | |
tree | 3a451635e45a1f5ea58cbd3d3f4415abc3aa9118 /testing | |
parent | 148087ee5b8355b97146ab7b4e46a28351949413 (diff) | |
download | aports-a910bb8413b762c71f0add0b32f056e0f428d472.tar.bz2 aports-a910bb8413b762c71f0add0b32f056e0f428d472.tar.xz |
testing/pulseview: New aport
A QT-based GUI frontend for sigrok
https://sigrok.org/wiki/PulseView
Diffstat (limited to 'testing')
-rw-r--r-- | testing/pulseview/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/pulseview/APKBUILD b/testing/pulseview/APKBUILD new file mode 100644 index 0000000000..8919272e11 --- /dev/null +++ b/testing/pulseview/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de> + +pkgname="pulseview" +pkgver=0.4.1 +pkgrel=0 +pkgdesc="A QT-based GUI frontend for sigrok" +url="https://sigrok.org/wiki/PulseView" +makedepends="libserialport-dev libsigrok-dev libsigrokdecode-dev glibmm-dev + qt5-qtbase-dev qt5-qtsvg-dev boost-dev cmake" +# Without qt5-qtsvg some icons in the GUI are missing +depends="qt5-qtsvg" +arch="all" +license="GPL-3.0-only" +source="http://sigrok.org/download/source/$pkgname/$pkgname-$pkgver.tar.gz" +subpackages="$pkgname-doc" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cmake . -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_BINDIR=/usr/bin \ + -DCMAKE_INSTALL_SBINDIR=/usr/sbin \ + -DCMAKE_INSTALL_SYSCONFDIR=/etc/hiawatha \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DCMAKE_INSTALL_MANDIR=/usr/share/man \ + -DENABLE_TESTS=y \ + -DENABLE_DECODE=y + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="0bae4357be312bf6e997885270887a5bcc0a8dfb6914e63bb0d5abb35389b6681748e0e4667556ad432c5432c861185bcdd8da7815fb570fc8a2fbbf5eed3801 pulseview-0.4.1.tar.gz" |