# Template file for 'gqrx' pkgname=gqrx version=2.17.4 revision=1 build_style=cmake configure_args="$(vopt_if gr_audio -DLINUX_AUDIO_BACKEND=Gr-audio) $(vopt_if portaudio -DLINUX_AUDIO_BACKEND=Portaudio)" hostmakedepends="pkg-config qt6-base qt6-tools python3 gnuradio" makedepends="gnuradio-devel gnuradio-osmosdr-devel pulseaudio-devel qt6-svg-devel alsa-lib-devel jack-devel qt6-tools $(vopt_if portaudio portaudio-devel)" depends="desktop-file-utils" short_desc="Software defined radio receiver powered by GNU Radio and Qt" maintainer="classabbyamp " license="GPL-3.0-or-later" homepage="https://gqrx.dk" changelog="https://raw.githubusercontent.com/gqrx-sdr/gqrx/master/resources/news.txt" distfiles="https://github.com/gqrx-sdr/gqrx/archive/v${version}.tar.gz" checksum=06be55cd8ccadd3cb08218a4234f94c5c2bcd9e7b63a775650e473115e93d4e7 build_options="gr_audio portaudio" vopt_conflict gr_audio portaudio desc_option_gr_audio="Enable support for GNU Radio audio (ALSA and JACK)" post_install() { vinstall dk.gqrx.gqrx.desktop 644 usr/share/applications vinstall resources/icons/gqrx.svg 644 usr/share/pixmaps }