CubicSDR: use cmake-wxWidgets-gtk3 build-helper

This commit is contained in:
Đoàn Trần Công Danh 2021-02-21 21:04:06 +07:00
parent c6629785fd
commit 2da917c8cb

View file

@ -3,6 +3,7 @@ pkgname=CubicSDR
version=0.2.5
revision=2
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
@ -18,12 +19,6 @@ checksum=5cb44c110fcbbb70a468b7fa402cf35f84d8901b3dd42d471a90ac3f5db00f4d
build_options="alsa pulseaudio jack"
build_options_default="alsa pulseaudio"
if [ "$CROSS_BUILD" ]; then
export WX_CONFIG=$XBPS_WRAPPERDIR/wx-config-gtk3
else
export WX_CONFIG=wx-config-gtk3
fi
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
configure_args+=" -DOTHER_LIBRARIES=atomic"