Skip to content

Commit

Permalink
Adding LibreVNA + xnec2c
Browse files Browse the repository at this point in the history
  • Loading branch information
FlUxIuS committed Jan 6, 2025
1 parent 78a1052 commit 0164800
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfiles/SDR/sdr_light.docker
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ RUN ./entrypoint.sh jupyter_soft_install && \
./entrypoint.sh KCSDI_cal_device && \
./entrypoint.sh NanoVNASaver_cal_device_call && \
./entrypoint.sh NanoVNA_QT_cal_device && \
./entrypoint.sh gnsslogger_cal_device
./entrypoint.sh gnsslogger_cal_device && \
./entrypoint.sh librevna_cal_device && \
./entrypoint.sh xnec2c_cal_device

RUN ./entrypoint.sh artemis_soft_install && \
./entrypoint.sh gqrxscanner_sdr_soft_install
Expand Down
3 changes: 3 additions & 0 deletions rules/51-vna.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="564e", MODE:="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="4121", MODE:="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="4121", MODE:="0666"
26 changes: 25 additions & 1 deletion scripts/cal_devices.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function leobodnarv2_cal_device() {
}

function gnsslogger_cal_device() {
goodecho "[+] Installing dependencies for gnsslogger"
goodecho "[+] Installing gnsslogger"
[ -d /rftools/calibration ] || mkdir -p /rftools/calibration
cd /rftools/calibration
gitinstall "https://github.com/bvernoux/gnsslogger.git" "gnsslogger_cal_device"
Expand Down Expand Up @@ -118,4 +118,28 @@ function pocketvna_sa_device() {
else
criticalecho-noexit "[!] Architecture is not amd64 or x86_64. Skipping installation."
fi
}

function librevna_cal_device() {
goodecho "[+] Installing dependencies for LibreVNA"
install_dependencies "qt6-base-dev libqt6svg6 libusb-1.0-0-dev"
[ -d /rftools/calibration ] || mkdir -p /rftools/calibration
cd /rftools/calibration
gitinstall "https://github.com/jankae/LibreVNA.git" "librevna_cal_device"
cd LibreVNA
cd Software/PC_Application/LibreVNA-GUI
qmake6 LibreVNA-GUI.pro
make -j$(nproc)
ln -s "$(pwd)/LibreVNA-GUI" /usr/bin/LibreVNA-GUI
}

function xnec2c_cal_device() {
goodecho "[+] Installing dependencies for xnec2c"
install_dependencies "gettext autopoint"
[ -d /rftools/calibration ] || mkdir -p /rftools/calibration
cd /rftools/calibration
gitinstall "https://github.com/KJ7LNW/xnec2c.git" "xnec2c_cal_device"
cd xnec2c
./autogen.sh
make && make install
}

0 comments on commit 0164800

Please sign in to comment.