[arch-commits] Commit in pulseview/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Dec 12 16:09:21 UTC 2020
Date: Saturday, December 12, 2020 @ 16:09:19
Author: felixonmars
Revision: 773397
archrelease: copy trunk to community-staging-x86_64
Added:
pulseview/repos/community-staging-x86_64/
pulseview/repos/community-staging-x86_64/PKGBUILD
(from rev 773396, pulseview/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: pulseview/repos/community-staging-x86_64/PKGBUILD (from rev 773396, pulseview/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-12-12 16:09:19 UTC (rev 773397)
@@ -0,0 +1,40 @@
+# Maintainer: Anatol Pomozov
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Thomas Krug <t.krug at elektronenpumpe.de>
+
+pkgname=pulseview
+pkgver=0.4.2
+pkgrel=4
+pkgdesc='A Qt based logic analyzer GUI for sigrok'
+arch=('x86_64')
+url='https://sigrok.org/wiki/Main_Page'
+license=('GPL3')
+depends=('libsigrok' 'libsigrokdecode' 'qt5-base' 'qt5-svg' 'boost-libs')
+makedepends=('cmake' 'boost' 'qt5-tools')
+source=("https://sigrok.org/download/source/pulseview/pulseview-$pkgver.tar.gz"
+ "qt5.15.patch::https://github.com/sigrokproject/pulseview/commit/ae726b70a7ada9a4be5808e00f0c951318479684.patch")
+sha512sums=('79f653c9faad021c03b59b4a519b594190d5558dfb9be60cabcc2a35e991e66b733b337fec58a9248699e7aef0df3be1472c81f93274b25cec1fc6b73f8f033b'
+ 'e115c29151474d5dc905042ee699542abdcc9db523d45595cf0386f0efb9523b292536972074536cb330ede90b41e1edd591888bceb5155b49657937f87e9087')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ patch -p1 < ../qt5.15.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_CXX_FLAGS=-fext-numeric-literals \
+ -DDISABLE_WERROR=ON -DENABLE_TESTS=OFF
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list