void-packages/srcpkgs/CubicSDR/template

27 lines
1004 B
Bash

# Template file for 'CubicSDR'
pkgname=CubicSDR
version=0.2.7
revision=3
build_style=cmake
build_helper="cmake-wxWidgets-gtk3"
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-gtk3-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="classabbyamp <void@placeviolette.net>"
license="GPL-2.0-or-later"
homepage="https://cubicsdr.com"
distfiles="https://github.com/cjcliffe/CubicSDR/archive/${version}.tar.gz"
checksum=790f851e08f1068081a8593dfd4a149c7414e7d70c1f5cafd287331df493b811
build_options="alsa pulseaudio jack"
build_options_default="alsa pulseaudio"
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
configure_args+=" -DOTHER_LIBRARIES=atomic"
fi
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"