void-packages/srcpkgs/welle-io/template

31 lines
1.1 KiB
Bash

# Template file for 'welle-io'
pkgname=welle-io
version=2.0
revision=1
wrksrc="welle.io-${version}"
build_style=cmake
configure_args="$(vopt_bool airspy AIRSPY) $(vopt_bool rtlsdr RTLSDR)
$(vopt_bool soapysdr SOAPYSDR)"
hostmakedepends="pkg-config"
makedepends="$(vopt_if airspy libairspy-devel) $(vopt_if rtlsdr librtlsdr-devel)
$(vopt_if soapysdr SoapySDR-devel) qt5-devel qt5-declarative-devel
qt5-quickcontrols2-devel qt5-multimedia-devel qt5-charts-devel fftw-devel
lame-devel alsa-lib-devel faad2-devel mpg123-devel"
short_desc="DAB/DAB+ Software Defined Radio (SDR)"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="GPL-2.0-or-later"
homepage="https://www.welle.io/"
distfiles="https://github.com/AlbrechtL/welle.io/archive/v${version}.tar.gz"
checksum=abfe999b6788ae57dfaaebea5e1db912565d60cc287c9eec4636b0e10eab4f9d
build_options="airspy rtlsdr soapysdr"
build_options_default="airspy rtlsdr soapysdr"
desc_option_airspy="Enable support for Airspy"
desc_option_rtlsdr="Enable support for RTL-SDR"
desc_option_soapysdr="Enable support for SoapySDR"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-qmake qt5-host-tools"
fi