23 lines
949 B
Bash
23 lines
949 B
Bash
# Template file for 'CubicSDR'
|
|
pkgname=CubicSDR
|
|
version=0.2.5
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DUSE_HAMLIB=1 $(vopt_bool alsa USE_AUDIO_ALSA)
|
|
$(vopt_bool pulseaudio USE_AUDIO_PULSE) $(vopt_bool jack USE_AUDIO_JACK)"
|
|
makedepends="SoapySDR-devel wxWidgets-devel glu-devel liquid-dsp-devel hamlib-devel
|
|
$(vopt_if alsa alsa-lib-devel) $(vopt_if pulseaudio pulseaudio-devel)
|
|
$(vopt_if jack jack-devel)"
|
|
short_desc="Cross-Platform Software-Defined Radio (SDR) Application"
|
|
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://cubicsdr.com"
|
|
distfiles="https://github.com/cjcliffe/CubicSDR/archive/${version}.tar.gz"
|
|
checksum=5cb44c110fcbbb70a468b7fa402cf35f84d8901b3dd42d471a90ac3f5db00f4d
|
|
|
|
build_options="alsa pulseaudio jack"
|
|
build_options_default="alsa pulseaudio"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
armv[56]*) makedepends+=" libatomic-devel"; configure_args+=" -DOTHER_LIBRARIES=atomic" ;;
|
|
esac
|