31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
# Template file for 'gqrx'
|
|
pkgname=gqrx
|
|
version=2.12.1
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="$(vopt_if gr_audio -DLINUX_AUDIO_BACKEND=Gr-audio)
|
|
$(vopt_if portaudio -DLINUX_AUDIO_BACKEND=Portaudio)"
|
|
hostmakedepends="pkg-config qt5-qmake qt5-host-tools python3
|
|
gnuradio"
|
|
makedepends="boost-devel gnuradio-devel gnuradio-osmosdr-devel
|
|
pulseaudio-devel qt5-svg-devel log4cpp-devel mpir-devel volk-devel
|
|
fftw-devel python3-devel alsa-lib-devel jack-devel gmpxx-devel
|
|
$(vopt_if portaudio portaudio-devel)"
|
|
short_desc="Software defined radio receiver powered by GNU Radio and Qt"
|
|
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://gqrx.dk/"
|
|
changelog="https://raw.githubusercontent.com/csete/gqrx/master/resources/news.txt"
|
|
distfiles="https://github.com/csete/gqrx/archive/v${version}.tar.gz"
|
|
checksum=7c626db9f22c3edbe30299a08f7f549b4f30dd83c883595468029a27c3e8fda9
|
|
|
|
build_options="gr_audio portaudio"
|
|
vopt_conflict gr_audio portaudio
|
|
desc_option_gr_audio="Enable support for GNU Radio audio (ALSA and JACK)"
|
|
desc_option_portaudio="Enable support for Portaudio"
|
|
|
|
post_install() {
|
|
vinstall gqrx.desktop 644 usr/share/applications
|
|
vinstall resources/icons/gqrx.svg 644 usr/share/pixmaps
|
|
}
|