# Template file for 'pulseview'
pkgname=pulseview
version=0.4.0
revision=4
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=78f8291045c6f65b4827b12e83c8e68cea2d5e7268b15a51aaca9726c8100eb9

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-host-tools qt5-devel"
fi

CXXFLAGS+=" -fext-numeric-literals"
