28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# Template file for 'gqrx'
|
|
pkgname=gqrx
|
|
version=2.15.9
|
|
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 qt5-qmake qt5-host-tools python3 gnuradio"
|
|
makedepends="gnuradio-devel gnuradio-osmosdr-devel pulseaudio-devel qt5-svg-devel
|
|
alsa-lib-devel jack-devel qt5-tools $(vopt_if portaudio portaudio-devel)"
|
|
depends="desktop-file-utils"
|
|
short_desc="Software defined radio receiver powered by GNU Radio and Qt"
|
|
maintainer="classabbyamp <void@placeviolette.net>"
|
|
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=4a826b468b2fb38a59cbe1f1b566e62c3114509186a7a25ba27dc92833f3eb44
|
|
|
|
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
|
|
}
|