void-packages/srcpkgs/gqrx/template

30 lines
1.2 KiB
Bash

# Template file for 'gqrx'
pkgname=gqrx
version=2.14.4
revision=3
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
qt5-tools $(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=aec35c77ebde9c71a5f973c509eec3d6aa2f18a6e052b180fcd9029d88273e5b
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 gqrx.desktop 644 usr/share/applications
vinstall resources/icons/gqrx.svg 644 usr/share/pixmaps
}