28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# Template file for 'gqrx'
|
|
pkgname=gqrx
|
|
version=2.17.2
|
|
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 <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=8d5f70390d3935278527cc7aa6344d6ec0201bce156851c610e88acd6102c356
|
|
|
|
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
|
|
}
|