git: 6c26b5198ba7 - main - comms/sdrangel: software-defined radio application
Diane Bruce <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by db: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c26b5198ba7388b2b86894dc936aeb1b4158a3f commit 6c26b5198ba7388b2b86894dc936aeb1b4158a3f Author: Diane Bruce <[email protected]> AuthorDate: 2026-07-31 17:26:50 +0000 Commit: Diane Bruce <[email protected]> CommitDate: 2026-07-31 17:30:33 +0000 comms/sdrangel: software-defined radio application Patch for new comms/sdrangel port Please find attached a new port for comms/sdrangel. SDRangel is an open-source software-defined radio application supporting receive and transmit operation with a wide range of SDR hardware. Features: - Qt6 GUI - HackRF support - RTL-SDR support - Airspy support - SoapySDR support - Audio and DSP plugins The port has been tested on: - FreeBSD 15.0-RELEASE amd64 Portlint/portfmt checks have been performed where applicable. - ran through poudriere added missing dependancies [db] PR: 297000 Reported by: [email protected] --- comms/Makefile | 1 + comms/sdrangel/Makefile | 61 +++++++++++++++++++++++ comms/sdrangel/distinfo | 3 ++ comms/sdrangel/pkg-descr | 3 ++ comms/sdrangel/pkg-message | 32 ++++++++++++ comms/sdrangel/pkg-plist | 119 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 219 insertions(+) diff --git a/comms/Makefile b/comms/Makefile index 1e9b816275c8..316c3187f970 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -184,6 +184,7 @@ SUBDIR += rxtx SUBDIR += scmxx SUBDIR += scrcpy + SUBDIR += sdrangel SUBDIR += sdr++ SUBDIR += ser2net SUBDIR += serialoverip diff --git a/comms/sdrangel/Makefile b/comms/sdrangel/Makefile new file mode 100644 index 000000000000..e628a5a74994 --- /dev/null +++ b/comms/sdrangel/Makefile @@ -0,0 +1,61 @@ +PORTNAME= sdrangel +DISTVERSION= 7.27.1 +CATEGORIES= comms hamradio + +MAINTAINER= [email protected] +COMMENT= Software defined radio application and signal analyzer +WWW= https://github.com/f4exb/sdrangel + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ + flac:audio/flac \ + airspyhf_rx:comms/airspyhf \ + opencv_version:graphics/opencv \ + vulkan-headers>=1.4:graphics/vulkan-headers + +LIB_DEPENDS= libcodec2.so:audio/codec2 \ + libfftw3f.so:math/fftw3-float \ + libhackrf.so:comms/hackrf \ + librtlsdr.so:comms/rtl-sdr \ + libairspy.so:comms/airspy \ + libairspyhf.so:comms/airspyhf \ + libSoapySDR.so:misc/soapysdr \ + libsndfile.so:audio/libsndfile \ + libfaad.so:audio/faad \ + libopencv_core.so:graphics/opencv \ + libopus.so:audio/opus \ + libhamlib.so:comms/hamlib \ + libhidapi.so:comms/hidapi \ + libavcodec.so:multimedia/ffmpeg \ + libFLAC.so:audio/flac +USES= cmake compiler:c++17-lang desktop-file-utils gl pkgconfig qt:6 +USE_GITHUB= yes +GH_ACCOUNT= f4exb +GH_TAGNAME= v${DISTVERSION} + +USE_QT= base charts declarative location multimedia positioning scxml \ + serialport speech svg tools webchannel webengine websockets +USE_GL= gl glu + +CMAKE_ARGS= -DENABLE_QT6=ON \ + -DBUILD_GUI=ON \ + -DBUILD_SERVER=OFF \ + -DBUILD_BENCH=OFF \ + -DENABLE_LIBUNWIND=OFF \ + -DENABLE_AIRSPY=ON \ + -DENABLE_HACKRF=ON \ + -DENABLE_RTLSDR=ON \ + -DENABLE_SOAPYSDR=ON \ + -DENABLE_BLADERF=OFF \ + -DENABLE_IIO=OFF \ + -DENABLE_LIMESUITE=OFF \ + -DENABLE_SDRPLAY=OFF \ + -DENABLE_USRP=OFF \ + -DENABLE_XTRX=OFF \ + -DENABLE_PERSEUS=OFF \ + -DENABLE_MIRISDR=OFF \ + -DENABLE_FOBOS=OFF + +.include <bsd.port.mk> diff --git a/comms/sdrangel/distinfo b/comms/sdrangel/distinfo new file mode 100644 index 000000000000..185c1028fb3e --- /dev/null +++ b/comms/sdrangel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1783620350 +SHA256 (f4exb-sdrangel-7.27.1-v7.27.1_GH0.tar.gz) = 4f3df4fb3d896c3632b39afb3f79a0b1d7715bdb83f6ca1b0051d70111e219cc +SIZE (f4exb-sdrangel-7.27.1-v7.27.1_GH0.tar.gz) = 137711784 diff --git a/comms/sdrangel/pkg-descr b/comms/sdrangel/pkg-descr new file mode 100644 index 000000000000..7e19089839c2 --- /dev/null +++ b/comms/sdrangel/pkg-descr @@ -0,0 +1,3 @@ +SDRangel is a Qt based software defined radio application. It supports +receiving, transmitting and analyzing radio signals through devices such +as HackRF, RTL-SDR, Airspy and SoapySDR compatible hardware. diff --git a/comms/sdrangel/pkg-message b/comms/sdrangel/pkg-message new file mode 100644 index 000000000000..e6af3f792c27 --- /dev/null +++ b/comms/sdrangel/pkg-message @@ -0,0 +1,32 @@ +[ +{ type: install +message: <<EOM +SDRangel has been installed. +Supported and tested SDR devices on FreeBSD include: + +- HackRF +- RTL-SDR +- Airspy + +Support for additional SDR devices may be available through SoapySDR. +To use SoapySDR devices, install the appropriate modules, for example: + +# pkg install SoapySDR SoapyHackRF SoapyRTLSDR + +To access USB SDR devices as a regular user, make sure your account has +permission to access USB devices. Depending on your system configuration, +you may need to configure devfs rules and add your user to the +appropriate group, for example: + +# pw groupmod operator -m <username> + +Log out and log back in after changing group membership. + +To verify that a HackRF device is detected correctly, run: +$ hackrf_info + +If SDRangel cannot detect an SDR device, first verify that the vendor +utility (such as hackrf_info or rtl_test) can access the hardware. +EOM +} +] diff --git a/comms/sdrangel/pkg-plist b/comms/sdrangel/pkg-plist new file mode 100644 index 000000000000..5fab85206c1a --- /dev/null +++ b/comms/sdrangel/pkg-plist @@ -0,0 +1,119 @@ +bin/sdrangel +lib/sdrangel/libfcdhid.so +lib/sdrangel/libfcdlib.so +lib/sdrangel/libft8.so +lib/sdrangel/libhackrfdevice.so +lib/sdrangel/libhttpserver.so +lib/sdrangel/liblogging.so +lib/sdrangel/libmetisdevice.so +lib/sdrangel/libmodemm17.so +lib/sdrangel/libmodemmeshcore.so +lib/sdrangel/libmodemmeshtastic.so +lib/sdrangel/libqrtplib.so +lib/sdrangel/libsdrbase.so +lib/sdrangel/libsdrgui.so +lib/sdrangel/libsoapysdrdevice.so +lib/sdrangel/libswagger.so +lib/sdrangel/libwdsp.so +lib/sdrangel/plugins/libantennatools.so +lib/sdrangel/plugins/libaprs.so +lib/sdrangel/plugins/libbeamsteeringcwmod.so +lib/sdrangel/plugins/libchanalyzer.so +lib/sdrangel/plugins/libchannelpower.so +lib/sdrangel/plugins/libdemodadsb.so +lib/sdrangel/plugins/libdemodais.so +lib/sdrangel/plugins/libdemodam.so +lib/sdrangel/plugins/libdemodatv.so +lib/sdrangel/plugins/libdemodbfm.so +lib/sdrangel/plugins/libdemodchirpchat.so +lib/sdrangel/plugins/libdemoddatv.so +lib/sdrangel/plugins/libdemoddsc.so +lib/sdrangel/plugins/libdemodendoftrain.so +lib/sdrangel/plugins/libdemodfreedv.so +lib/sdrangel/plugins/libdemodft8.so +lib/sdrangel/plugins/libdemodils.so +lib/sdrangel/plugins/libdemodm17.so +lib/sdrangel/plugins/libdemodmeshcore.so +lib/sdrangel/plugins/libdemodmeshtastic.so +lib/sdrangel/plugins/libdemodnavtex.so +lib/sdrangel/plugins/libdemodnfm.so +lib/sdrangel/plugins/libdemodpacket.so +lib/sdrangel/plugins/libdemodpager.so +lib/sdrangel/plugins/libdemodradiosonde.so +lib/sdrangel/plugins/libdemodrtty.so +lib/sdrangel/plugins/libdemodssb.so +lib/sdrangel/plugins/libdemodvor.so +lib/sdrangel/plugins/libdemodwfm.so +lib/sdrangel/plugins/libdoa2.so +lib/sdrangel/plugins/libfeatureafc.so +lib/sdrangel/plugins/libfeatureais.so +lib/sdrangel/plugins/libfeaturedemodanalyzer.so +lib/sdrangel/plugins/libfeaturefreqdisplay.so +lib/sdrangel/plugins/libfeaturegs232controller.so +lib/sdrangel/plugins/libfeaturepertester.so +lib/sdrangel/plugins/libfeatureradiosonde.so +lib/sdrangel/plugins/libfeatureremotecontrol.so +lib/sdrangel/plugins/libfeaturerigctlserver.so +lib/sdrangel/plugins/libfeaturesid.so +lib/sdrangel/plugins/libfeaturesimpleptt.so +lib/sdrangel/plugins/libfeatureskymap.so +lib/sdrangel/plugins/libfilesink.so +lib/sdrangel/plugins/libfilesource.so +lib/sdrangel/plugins/libfreqscanner.so +lib/sdrangel/plugins/libfreqtracker.so +lib/sdrangel/plugins/libheatmap.so +lib/sdrangel/plugins/libinputaaroniartsa.so +lib/sdrangel/plugins/libinputairspy.so +lib/sdrangel/plugins/libinputairspyhf.so +lib/sdrangel/plugins/libinputaudio.so +lib/sdrangel/plugins/libinputfcdpro.so +lib/sdrangel/plugins/libinputfcdproplus.so +lib/sdrangel/plugins/libinputfileinput.so +lib/sdrangel/plugins/libinputhackrf.so +lib/sdrangel/plugins/libinputkiwisdr.so +lib/sdrangel/plugins/libinputlocal.so +lib/sdrangel/plugins/libinputrtlsdr.so +lib/sdrangel/plugins/libinputsoapysdr.so +lib/sdrangel/plugins/libinputtcpremote.so +lib/sdrangel/plugins/libinputtestsource.so +lib/sdrangel/plugins/libinterferometer.so +lib/sdrangel/plugins/libjogdialcontroller.so +lib/sdrangel/plugins/liblocalsink.so +lib/sdrangel/plugins/liblocalsource.so +lib/sdrangel/plugins/libmap.so +lib/sdrangel/plugins/libmimoaudiocatsiso.so +lib/sdrangel/plugins/libmimometismiso.so +lib/sdrangel/plugins/libmimotestmi.so +lib/sdrangel/plugins/libmodais.so +lib/sdrangel/plugins/libmodam.so +lib/sdrangel/plugins/libmodatv.so +lib/sdrangel/plugins/libmodchirpchat.so +lib/sdrangel/plugins/libmoddatv.so +lib/sdrangel/plugins/libmodfreedv.so +lib/sdrangel/plugins/libmodieee_802_15_4.so +lib/sdrangel/plugins/libmodm17.so +lib/sdrangel/plugins/libmodmeshcore.so +lib/sdrangel/plugins/libmodmeshtastic.so +lib/sdrangel/plugins/libmodnfm.so +lib/sdrangel/plugins/libmodpacket.so +lib/sdrangel/plugins/libmodpsk31.so +lib/sdrangel/plugins/libmodrtty.so +lib/sdrangel/plugins/libmodssb.so +lib/sdrangel/plugins/libmodwfm.so +lib/sdrangel/plugins/libnoisefigure.so +lib/sdrangel/plugins/liboutputaaroniartsa.so +lib/sdrangel/plugins/liboutputaudio.so +lib/sdrangel/plugins/liboutputfileoutput.so +lib/sdrangel/plugins/liboutputhackrf.so +lib/sdrangel/plugins/liboutputlocal.so +lib/sdrangel/plugins/liboutputsoapysdr.so +lib/sdrangel/plugins/liboutputtestmosync.so +lib/sdrangel/plugins/liboutputtestsink.so +lib/sdrangel/plugins/libradioastronomy.so +lib/sdrangel/plugins/libradioclock.so +lib/sdrangel/plugins/libremotetcpsink.so +lib/sdrangel/plugins/libudpsink.so +lib/sdrangel/plugins/libudpsource.so +lib/sdrangel/plugins/libvorlocalizer.so +lib/sdrangel/plugins/libwdsprx.so +%%DATADIR%%/Readme.md