git: bd657ee709f3 - main - comms/sdr++: Add options for all supported audio backends
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Jun 2022 07:20:54 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=bd657ee709f33c0bc0758bb72889b9f050373ac1 commit bd657ee709f33c0bc0758bb72889b9f050373ac1 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-06-24 07:19:52 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-06-24 07:20:47 +0000 comms/sdr++: Add options for all supported audio backends --- comms/sdr++/Makefile | 17 +++++++++++++++-- comms/sdr++/pkg-plist | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/comms/sdr++/Makefile b/comms/sdr++/Makefile index 70037a94159c..5258b7e738c7 100644 --- a/comms/sdr++/Makefile +++ b/comms/sdr++/Makefile @@ -1,6 +1,6 @@ PORTNAME= sdr++ DISTVERSION= 1.0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms hamradio MAINTAINER= yuri@FreeBSD.org @@ -16,7 +16,6 @@ LIB_DEPENDS= libad9361.so:misc/libad9361-iio \ libglfw.so:graphics/glfw \ libhackrf.so:comms/hackrf \ libiio.so:misc/libiio \ - librtaudio.so:audio/rtaudio \ librtlsdr.so:comms/rtl-sdr \ libSoapySDR.so:misc/soapysdr \ libvolk.so:devel/volk @@ -32,4 +31,18 @@ GH_PROJECT= SDRPlusPlus # Broken with clang 14 CMAKE_OFF= OPT_BUILD_DISCORD_PRESENCE +OPTIONS_MULTI= AUDIO_BACKEND +OPTIONS_MULTI_AUDIO_BACKEND= PORTAUDIO RTAUDIO +OPTIONS_DEFAULT= RTAUDIO +OPTIONS_SUB= yes + +AUDIO_BACKEND_DESC= Audio backend + +PORTAUDIO_CMAKE_BOOL= OPT_BUILD_AUDIO_SINK +PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio + +RTAUDIO_DESC= RtAudio support +RTAUDIO_CMAKE_BOOL= OPT_BUILD_AUDIO_SINK +RTAUDIO_LIB_DEPENDS= librtaudio.so:audio/rtaudio + .include <bsd.port.mk> diff --git a/comms/sdr++/pkg-plist b/comms/sdr++/pkg-plist index 282d33da157e..712d10834b52 100644 --- a/comms/sdr++/pkg-plist +++ b/comms/sdr++/pkg-plist @@ -6,7 +6,7 @@ lib/libcorrect.so lib/libsdrpp_core.so lib/sdrpp/plugins/airspy_source.so lib/sdrpp/plugins/airspyhf_source.so -lib/sdrpp/plugins/audio_sink.so +%%RTAUDIO%%lib/sdrpp/plugins/audio_sink.so lib/sdrpp/plugins/file_source.so lib/sdrpp/plugins/frequency_manager.so lib/sdrpp/plugins/hackrf_source.so