void-packages/srcpkgs/pulseview/template

22 lines
753 B
Bash

# Template file for 'pulseview'
pkgname=pulseview
version=0.4.1
revision=2
build_style=cmake
configure_args="-DDISABLE_WERROR=TRUE"
hostmakedepends="pkg-config qt5-qmake"
makedepends="glib-devel libzip-devel glibmm-devel qt5-devel
qt5-svg-devel boost-devel libsigrok-devel libsigrokdecode-devel"
depends="sigrok-firmware-fx2lafw qt5-svg"
short_desc="Qt-based LA/scope/MSO GUI for sigrok"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-3"
homepage="https://sigrok.org/"
distfiles="https://sigrok.org/download/source/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=9ee7ce3dd1457c6a5f5e4e9c2469903a1f070ba077ea68535cc29ef1dfac6f2f
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
CXXFLAGS+=" -fext-numeric-literals"