void-packages/srcpkgs/pulseview/template

24 lines
770 B
Bash

# Template file for 'pulseview'
pkgname=pulseview
version=0.4.2
revision=1
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 qt5-tools-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=f042f77a3e1b35bf30666330e36ec38fab8d248c3693c37b7e35d401c3bfabcb
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
CXXFLAGS+=" -fext-numeric-literals"