aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pulseview/APKBUILD
blob: c44bf2ed60cb19e828194d8b868012f25aa723f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>

pkgname=pulseview
pkgver=0.4.1
pkgrel=1
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"

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"