diff --git a/srcpkgs/pulseview/template b/srcpkgs/pulseview/template new file mode 100644 index 0000000000..52593413f3 --- /dev/null +++ b/srcpkgs/pulseview/template @@ -0,0 +1,22 @@ +# Template file for 'pulseview' +pkgname=pulseview +version=0.3.0 +revision=1 +build_style=cmake +configure_args="-DDISABLE_WERROR=TRUE" +hostmakedepends="pkg-config qt5-qmake" +makedepends="glib-devel libzip-devel glibmm-devel python3-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 " +license="GPL-3" +homepage="https://sigrok.org/" +distfiles="https://sigrok.org/download/source/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=5ffe2cb7a602fcdc60933d400c77bcd66e6ce529bc4f6e97d6a5e5a86f2f530e + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-host-tools qt5-devel" +fi + +CXXFLAGS+=" -fext-numeric-literals"