32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Template file for 'welle-io'
|
|
pkgname=welle-io
|
|
version=2.1
|
|
revision=2
|
|
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"
|
|
depends="qt5-graphicaleffects"
|
|
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=ff7aa2e7f96b647ea8495209f483e726b7219c825a2699f4871986a7b0dd303a
|
|
|
|
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
|