1 # Maintainer: Anatol Pomozov
2 # Maintainer: Filipe LaĆns (FFY00) <lains@archlinux.org>
3 # Contributor: Thomas Krug <t.krug@elektronenpumpe.de>
8 pkgdesc='A Qt based logic analyzer GUI for sigrok'
10 url='https://sigrok.org/wiki/Main_Page'
12 depends=('libsigrok' 'libsigrokdecode' 'qt5-base' 'qt5-svg' 'boost-libs')
13 makedepends=('cmake' 'boost' 'qt5-tools')
14 source=("https://sigrok.org/download/source/pulseview/pulseview-$pkgver.tar.gz"
15 "qt5.15.patch::https://github.com/sigrokproject/pulseview/commit/ae726b70a7ada9a4be5808e00f0c951318479684.patch"
17 sha512sums=('79f653c9faad021c03b59b4a519b594190d5558dfb9be60cabcc2a35e991e66b733b337fec58a9248699e7aef0df3be1472c81f93274b25cec1fc6b73f8f033b'
18 'e115c29151474d5dc905042ee699542abdcc9db523d45595cf0386f0efb9523b292536972074536cb330ede90b41e1edd591888bceb5155b49657937f87e9087'
19 'b48b0ff4cc962a252cb8e1c21f9b0661d33399d99dae2fd7d0bb87da8c0e16cba66b4a8c1797dbb53dfa83eb7050b0248024aa013edaecf40183bad39d10e243')
24 patch -p1 < ../qt5.15.patch
26 # https://github.com/sigrokproject/pulseview/pull/39
27 patch -p1 < ../glib-2.68.patch
34 -DCMAKE_INSTALL_PREFIX:PATH=/usr \
35 -DCMAKE_CXX_FLAGS=-fext-numeric-literals \
36 -DDISABLE_WERROR=ON -DENABLE_TESTS=OFF
44 make DESTDIR="$pkgdir" install