New package: gqrx-2.11.5

This commit is contained in:
bra1nwave 2018-06-18 12:00:39 +02:00 committed by maxice8
parent ad85cfdab8
commit 2d7920f9ed
1 changed files with 27 additions and 0 deletions

27
srcpkgs/gqrx/template Normal file
View File

@ -0,0 +1,27 @@
# Template file for 'gqrx'
pkgname=gqrx
version=2.11.5
revision=1
wrksrc="gqrx-sdr-${version}"
build_style=cmake
configure_args="$(vopt_if gr_audio -DLINUX_AUDIO_BACKEND=Gr-audio)
$(vopt_if portaudio -DLINUX_AUDIO_BACKEND=Portaudio)"
hostmakedepends="pkg-config"
makedepends="boost-devel gnuradio-devel gnuradio-osmosdr-devel pulseaudio-devel
qt5-svg-devel $(vopt_if portaudio portaudio-devel)"
short_desc="Software defined radio receiver powered by GNU Radio and Qt"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-3.0-or-later"
homepage="http://gqrx.dk/"
distfiles="https://github.com/csete/gqrx/releases/download/v${version}/gqrx-sdr-${version}-src.tar.xz"
checksum=793062ef7b49a3f986b82a255f949cdda42333107fc5fcea10fd13db74157744
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
}