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