New package: welle-io-2.0

This commit is contained in:
bra1nwave 2019-11-10 15:02:38 +01:00 committed by Helmut Pozimski
parent f77e7446f0
commit 162bfb716d
1 changed files with 30 additions and 0 deletions

30
srcpkgs/welle-io/template Normal file
View File

@ -0,0 +1,30 @@
# 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