CubicSDR: build with gtk3
This commit is contained in:
parent
c70b8a5d44
commit
d8e206e538
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'CubicSDR'
|
||||
pkgname=CubicSDR
|
||||
version=0.2.5
|
||||
revision=1
|
||||
revision=2
|
||||
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
|
||||
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"
|
||||
|
@ -18,6 +18,12 @@ 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"
|
||||
|
|
Loading…
Reference in New Issue