You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
654 lines
21 KiB
654 lines
21 KiB
# Tested with snapcraft 9.0.1 |
|
# |
|
# To install snapcraft on Ubuntu assuming snap is already installed: |
|
# |
|
# sudo snap install snapcraft |
|
# |
|
# If snapcraft fails due to network issues, might need to do: |
|
# |
|
# sudo iptables -I DOCKER-USER -i lxdbr0 -j ACCEPT && sudo iptables -I DOCKER-USER -o lxdbr0 -j ACCEPT |
|
# |
|
# To build (in sdrangel directory): |
|
# |
|
# snapcraft pack |
|
# |
|
# To install sdrangel local snap: |
|
# |
|
# sudo snap install sdrangel_7.22.1_amd64.snap --dangerous |
|
# |
|
# Users appear to need to grant h/w access manually from command line with: |
|
# |
|
# sudo snap connect sdrangel:raw-usb |
|
# sudo snap connect sdrangel:hardware-observe |
|
# sudo snap connect sdrangel:camera |
|
# sudo snap connect sdrangel:alsa |
|
# sudo snap connect sdrangel:audio-record |
|
# sudo snap connect sdrangel:pulseaudio |
|
# sudo snap connect sdrangel:joystick |
|
# sudo snap connect sdrangel:removable-media |
|
# sudo snap connect sdrangel:network-manager |
|
# sudo snap connect sdrangel:location-observe (This doesn't seem to be supported) |
|
# sudo snap connect sdrangel:jack1 |
|
# sudo snap connect sdrangel:avahi-control |
|
# |
|
# To uninstall: |
|
# |
|
# sudo snap remove sdrangel |
|
# |
|
# We can clean and build a specific package, and then open a shell after the build in the snap filesystem, with: |
|
# |
|
# snapcraft clean uhd |
|
# snapcraft stage uhd --shell-after |
|
# |
|
# |
|
# To publish to snap store: |
|
# |
|
# snapcraft login |
|
# snapcraft push sdrangel_7.22.1_amd64.snap --release=stable,edge,candidate,beta |
|
# |
|
# Can also manage/promote releases at: https://snapcraft.io/sdrangel/releases |
|
|
|
|
|
name: sdrangel |
|
base: core26 |
|
type: app |
|
adopt-info: sdrangel |
|
summary: SDRangel |
|
title: SDRangel |
|
description: SDRangel is an Open Source Qt 6 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware. SSE 4.2 required. |
|
confinement: strict |
|
grade: stable |
|
license: GPL-3.0 |
|
issues: https://github.com/f4exb/sdrangel/issues |
|
contact: https://github.com/f4exb/sdrangel/issues |
|
source-code: https://github.com/f4exb/sdrangel |
|
website: https://www.sdrangel.org/ |
|
icon: cmake/cpack/sdrangel_icon.svg |
|
|
|
# SDRangel and several staged frameworks load plugins dynamically, which the |
|
# library linter cannot detect. Continue checking every missing dependency. |
|
lint: |
|
ignore: |
|
- unused-library |
|
|
|
apps: |
|
sdrangel: |
|
command: bin/sdrangel_wrapper.sh |
|
extensions: [gpu] |
|
desktop: opt/install/sdrangel/share/applications/sdrangel.desktop |
|
plugs: |
|
- network |
|
- network-bind |
|
- network-manager |
|
- desktop |
|
- desktop-legacy |
|
- wayland |
|
- home |
|
- unity7 |
|
- opengl |
|
- raw-usb |
|
- hardware-observe |
|
- audio-playback |
|
- audio-record |
|
- joystick |
|
- camera |
|
- browser-support |
|
- pulseaudio |
|
- alsa |
|
- jack1 |
|
- removable-media |
|
- gsettings |
|
- location-observe |
|
- serial-port |
|
- avahi-control |
|
environment: |
|
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/opt/install/sdrangel/lib/sdrangel:$SNAP/opt/install/sdrangel/lib:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/blas:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/lapack:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/openblas-pthread |
|
PIPEWIRE_CONFIG_DIR: $SNAP/usr/share/pipewire |
|
PIPEWIRE_MODULE_DIR: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pipewire-0.3 |
|
SPA_PLUGIN_DIR: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/spa-0.2 |
|
QTWEBENGINE_DISABLE_SANDBOX: "1" |
|
QTWEBENGINEPROCESS_PATH: $SNAP/usr/lib/qt6/libexec/QtWebEngineProcess |
|
sdrangelsrv: |
|
command: opt/install/sdrangel/bin/sdrangelsrv |
|
plugs: |
|
- network |
|
- network-bind |
|
- network-manager |
|
- home |
|
- raw-usb |
|
- hardware-observe |
|
- removable-media |
|
environment: |
|
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/opt/install/sdrangel/lib/sdrangel:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/openblas-pthread |
|
PIPEWIRE_CONFIG_DIR: $SNAP/usr/share/pipewire |
|
PIPEWIRE_MODULE_DIR: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pipewire-0.3 |
|
SPA_PLUGIN_DIR: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/spa-0.2 |
|
|
|
|
|
layout: |
|
/usr/lib/x86_64-linux-gnu/libproxy: |
|
bind: $SNAP/usr/lib/x86_64-linux-gnu/libproxy |
|
/usr/lib/x86_64-linux-gnu/qt6: |
|
bind: $SNAP/usr/lib/x86_64-linux-gnu/qt6 |
|
/usr/share/qt6: |
|
bind: $SNAP/usr/share/qt6 |
|
|
|
parts: |
|
|
|
iconpath: |
|
after: |
|
- sdrangel |
|
plugin: nil |
|
override-prime: | |
|
sed -i.bak -e 's|Icon=sdrangel_icon|Icon=/opt/install/sdrangel/share/icons/hicolor/scalable/apps/sdrangel_icon.svg|g' $CRAFT_PRIME/opt/install/sdrangel/share/applications/sdrangel.desktop |
|
|
|
cleanup: |
|
after: |
|
- sdrangel |
|
plugin: nil |
|
build-snaps: # List all content-snaps and base snaps you're using here |
|
- core26 |
|
- mesa-2604 |
|
override-prime: | |
|
set -eux |
|
for snap in "core26" ; do # List all content-snaps and base snaps you're using here |
|
cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$CRAFT_PRIME/{}" \; |
|
done |
|
|
|
launcher: |
|
plugin: dump |
|
source: snap/local |
|
organize: |
|
sdrangel_wrapper.sh: bin/ |
|
locale-gen: bin/ |
|
|
|
sdrangel: |
|
plugin: cmake |
|
source: https://github.com/f4exb/sdrangel |
|
source-type: git |
|
override-pull: | |
|
craftctl default |
|
craftctl set version="$(git describe --tags --abbrev=0 | sed 's/v//')" |
|
after: [apt, libdab, mbelib, serialdv, dsdcc, codec2, sgp4, cspice, inmarsatc, cm265cc, airspy, rtlsdr, pluto, bladerf, hackrf, limesuite, airspyhf, uhd, uhdfpga, soapysdr, soapyremote] |
|
cmake-parameters: |
|
- -DDEBUG_OUTPUT=OFF |
|
- -DBUILD_TYPE=RELEASE |
|
- -DENABLE_QT6=ON |
|
- -DRX_SAMPLE_24BIT=ON |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
- -DMIRISDR_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DAIRSPY_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DAIRSPYHF_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DBLADERF_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DHACKRF_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DRTLSDR_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DLIMESUITE_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DIIO_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DPERSEUS_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DXTRX_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DSOAPYSDR_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DUHD_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DAPT_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DCM256CC_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DDSDCC_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DSERIALDV_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DMBE_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DCODEC2_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DSGP4_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DCSPICE_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DINMARSATC_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DLIBSIGMF_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DDAB_DIR=$CRAFT_STAGE/opt/install/sdrangel |
|
- -DARCH_OPT=nehalem |
|
build-packages: |
|
- libfftw3-dev |
|
- libusb-1.0-0-dev |
|
- libusb-dev |
|
- libhidapi-dev |
|
- qt6-base-dev |
|
- qt6-base-private-dev |
|
- qt6-scxml-dev |
|
- qt6-multimedia-dev |
|
- qt6-positioning-dev |
|
- qt6-location-dev |
|
- qt6-websockets-dev |
|
- qt6-webengine-dev |
|
- qt6-serialport-dev |
|
- qt6-speech-dev |
|
- qt6-charts-dev |
|
- qt6-svg-dev |
|
- qt6-declarative-dev |
|
- qtchooser |
|
- qt6-tools-dev |
|
- qt6-tools-dev-tools |
|
- libqt6quick6 |
|
- qt6-location-plugins |
|
- libfaad-dev |
|
- libflac-dev |
|
- zlib1g-dev |
|
- libboost-all-dev |
|
- libasound2-dev |
|
- pulseaudio |
|
- libopencv-dev |
|
- libxml2-dev |
|
- bison |
|
- flex |
|
- ffmpeg |
|
- libavcodec-dev |
|
- libavformat-dev |
|
- libavfilter-dev |
|
- libopus-dev |
|
- doxygen |
|
- graphviz |
|
stage-packages: |
|
- libgl1-mesa-dri |
|
- libglx-mesa0 |
|
- libqt6core6t64 |
|
- libqt6gui6 |
|
- libqt6network6 |
|
- libqt6widgets6 |
|
- libqt6waylandclient6 |
|
- libqt6wlshellintegration6 |
|
- libqt6multimedia6 |
|
- libqt6multimediawidgets6 |
|
- libqt6positioning6 |
|
- libqt6positioning6-plugins |
|
- libqt6location6 |
|
- qt6-location-plugins |
|
- libqt6websockets6 |
|
- libqt6qml6 |
|
- libqt6quick6 |
|
- libqt6quickwidgets6 |
|
- libqt6printsupport6 |
|
- libqt6webchannel6 |
|
- libqt6webenginecore6 |
|
- libqt6webenginewidgets6 |
|
- libqt6webenginequick6 |
|
- libqt6serialport6 |
|
- libqt6charts6 |
|
- libqt6texttospeech6 |
|
- qt6-speech-speechd-plugin |
|
- libqt6dbus6 |
|
- libqt6sql6 |
|
- libqt6sql6-mysql |
|
- libqt6sql6-sqlite |
|
- libqt6svg6 |
|
- libqt6svgwidgets6 |
|
- libqt6opengl6 |
|
- libqt6openglwidgets6 |
|
- libqt6statemachine6 |
|
- qt6-qpa-plugins |
|
- qml6-module-qtlocation |
|
- qml6-module-qtpositioning |
|
- qml6-module-qtquick-window |
|
- qml6-module-qtquick-dialogs |
|
- qml6-module-qtquick-controls |
|
- qml6-module-qtquick-effects |
|
- qml6-module-qtquick-layouts |
|
- qml6-module-qt5compat-graphicaleffects |
|
- libgraphite2-3 |
|
- libpcre2-16-0 |
|
- libicu78 |
|
- libxcb1 |
|
- libharfbuzz0b |
|
- libx11-6 |
|
- libxau6 |
|
- libglx0 |
|
- libmd4c0 |
|
- libusb-1.0-0 |
|
- libfaad2 |
|
- libfftw3-single3 |
|
- libhidapi-libusb0 |
|
- libasyncns0 |
|
- libogg0 |
|
- libopus0 |
|
- libpulse0 |
|
- libsndfile1 |
|
- libvorbis0a |
|
- libvorbisenc2 |
|
- ocl-icd-libopencl1 |
|
- libaom3 |
|
- libavcodec62 |
|
- libavformat62 |
|
- libavutil60 |
|
- libbluray3 |
|
- libcairo-gobject2 |
|
- libcairo2 |
|
- libchromaprint1 |
|
- libdatrie1 |
|
- libdav1d7 |
|
- libfribidi0 |
|
- libgme0 |
|
- libgomp1 |
|
- libgsm1 |
|
- libmp3lame0 |
|
- libmpg123-0t64 |
|
- libnorm1t64 |
|
- libopenjp2-7 |
|
- libopenmpt0t64 |
|
- libpangoft2-1.0-0 |
|
- libpgm-5.3-0t64 |
|
- libpixman-1-0 |
|
- librabbitmq4 |
|
- librsvg2-2 |
|
- libtheora1 |
|
- libswresample6 |
|
- libsrt1.5-gnutls |
|
- libtwolame0 |
|
- libva-drm2 |
|
- libva-x11-2 |
|
- libva2 |
|
- libvdpau1 |
|
- libwebp7 |
|
- libswscale9 |
|
- libxcomposite1 |
|
- libxdamage1 |
|
- libxrandr2 |
|
- libxtst6 |
|
- libasound2t64 |
|
- libevent-2.1-7t64 |
|
- liblcms2-2 |
|
- libminizip1t64 |
|
- libnspr4 |
|
- libnss3 |
|
- libre2-11 |
|
- libwebpdemux2 |
|
- libxslt1.1 |
|
- libxml2-16 |
|
- libarmadillo15 |
|
- libhdf4-0 |
|
- libgdal38 |
|
- libogdi4.1 |
|
- libimath-3-1-29t64 |
|
- libopenexr-3-1-30 |
|
- libaec0 |
|
- libarpack2t64 |
|
- libcfitsio10t64 |
|
- libcharls2 |
|
- libcurl3t64-gnutls |
|
- libcurl4t64 |
|
- libdc1394-25 |
|
- libde265-0 |
|
- libdw1t64 |
|
- libexif12 |
|
- libfreexl1 |
|
- libfyba0t64 |
|
- libgdcm3.0t64 |
|
- libgeos3.14.1 |
|
- libgeos-c1t64 |
|
- libgeotiff5 |
|
- libgfortran5 |
|
- libgif7 |
|
- libgphoto2-6t64 |
|
- libgphoto2-port12t64 |
|
- libgstreamer-plugins-base1.0-0 |
|
- libgstreamer1.0-0 |
|
- libhdf5-310 |
|
- libhdf5-hl-310 |
|
- libheif1 |
|
- libkmlbase1t64 |
|
- libkmldom1t64 |
|
- libkmlengine1t64 |
|
- liblapack3 |
|
- libopenblas0-pthread |
|
- pipewire-bin |
|
- libldap2 |
|
- libltdl7 |
|
- libmysqlclient24 |
|
- libnetcdf22 |
|
- libnghttp2-14 |
|
- libodbcinst2 |
|
- libopencv-core410 |
|
- libopencv-imgcodecs410 |
|
- libopencv-imgproc410 |
|
- libopencv-videoio410 |
|
- libpoppler156 |
|
- libproj25 |
|
- libpq5 |
|
- libpsl5t64 |
|
- libqhull-r8.0 |
|
- libquadmath0 |
|
- libraw1394-11 |
|
- librtmp1 |
|
- librttopo1 |
|
- libsasl2-2 |
|
- libspatialite8t64 |
|
- libsuperlu7 |
|
- libsz2 |
|
- libtbb12 |
|
- libunwind8 |
|
- liburiparser1 |
|
- libboost-chrono1.90.0 |
|
- libboost-filesystem1.90.0 |
|
- libboost-serialization1.90.0 |
|
- libboost-thread1.90.0 |
|
- libboost-program-options1.90.0 |
|
- libboost-test1.90.0 |
|
- libnotify-bin |
|
- libspeechd2 |
|
|
|
apt: |
|
plugin: cmake |
|
source: https://github.com/srcejon/aptdec.git |
|
source-type: git |
|
source-branch: libaptdec |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
libdab: |
|
plugin: cmake |
|
source: https://github.com/srcejon/dab-cmdline |
|
source-type: git |
|
source-branch: msvc |
|
source-subdir: library |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
mbelib: |
|
plugin: cmake |
|
source: https://github.com/srcejon/mbelib.git |
|
source-type: git |
|
source-branch: lib |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
serialdv: |
|
plugin: cmake |
|
source: https://github.com/f4exb/serialDV.git |
|
source-type: git |
|
source-tag: v1.1.5 |
|
cmake-parameters: |
|
- -DCMAKE_CXX_FLAGS="-std=c++11" |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
dsdcc: |
|
plugin: cmake |
|
source: https://github.com/f4exb/dsdcc.git |
|
source-type: git |
|
source-tag: v1.9.6 |
|
after: [mbelib, serialdv] |
|
cmake-parameters: |
|
- -DUSE_MBELIB=ON |
|
- -DCMAKE_CXX_FLAGS="-std=c++11" |
|
- -DCMAKE_INSTALL_PREFIX=/usr |
|
- -DLIBMBE_INCLUDE_DIR=$CRAFT_STAGE/opt/install/sdrangel/include |
|
- -DLIBMBE_LIBRARY=$CRAFT_STAGE/opt/install/sdrangel/lib/libmbe.so |
|
- -DLIBSERIALDV_INCLUDE_DIR=$CRAFT_STAGE/opt/install/sdrangel/include/serialdv |
|
- -DLIBSERIALDV_LIBRARY=$CRAFT_STAGE/opt/install/sdrangel/lib/libserialdv.so |
|
|
|
codec2: |
|
plugin: cmake |
|
source: https://github.com/drowe67/codec2-dev.git |
|
source-type: git |
|
source-tag: v1.1.1 |
|
build-packages: |
|
- libspeexdsp-dev |
|
- libsamplerate0-dev |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
sgp4: |
|
plugin: cmake |
|
source: https://github.com/dnwrnr/sgp4.git |
|
source-type: git |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
cspice: |
|
plugin: cmake |
|
source: https://github.com/srcejon/cspice-cmake |
|
source-type: git |
|
source-tag: msvc |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
- -DCSPICE_BUILD_STATIC_LIBRARY=OFF |
|
|
|
inmarsatc: |
|
plugin: cmake |
|
source: https://github.com/srcejon/inmarsatc.git |
|
source-type: git |
|
source-tag: msvc |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
cm265cc: |
|
plugin: cmake |
|
source: https://github.com/f4exb/cm256cc.git |
|
source-type: git |
|
source-tag: v1.1.2 |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
# libsigmf: |
|
# plugin: cmake |
|
# source: https://github.com/f4exb/libsigmf.git |
|
# source-type: git |
|
# source-branch: new-namespaces |
|
# cmake-parameters: |
|
# - -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
airspy: |
|
plugin: cmake |
|
source: https://github.com/srcejon/airspyone_host.git |
|
source-type: git |
|
source-tag: cmake4 |
|
build-packages: |
|
- libusb-1.0-0-dev |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
rtlsdr: |
|
plugin: cmake |
|
source: https://github.com/osmocom/rtl-sdr.git |
|
source-type: git |
|
source-tag: v2.0.3 |
|
build-packages: |
|
- libusb-1.0-0-dev |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
pluto: |
|
plugin: cmake |
|
source: https://github.com/analogdevicesinc/libiio.git |
|
source-type: git |
|
source-tag: v0.26 |
|
build-packages: |
|
- libaio-dev |
|
- libxml2-dev |
|
stage-packages: |
|
- libaio1t64 |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
- -DWITH_DOC=OFF |
|
- -DWITH_TESTS=OFF |
|
|
|
bladerf: |
|
plugin: cmake |
|
source: https://github.com/Nuand/bladeRF.git |
|
source-type: git |
|
source-tag: "2025.10" |
|
build-packages: |
|
- libcurl4-openssl-dev |
|
- libncurses-dev |
|
- libusb-1.0-0-dev |
|
stage-packages: |
|
- libncursesw6 |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
hackrf: |
|
plugin: cmake |
|
source: https://github.com/greatscottgadgets/hackrf.git |
|
source-type: git |
|
source-commit: adc537331c5bc3165f47648043c570063518ef79 |
|
source-subdir: host/libhackrf |
|
build-packages: |
|
- libusb-1.0-0-dev |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
limesuite: |
|
plugin: cmake |
|
source: https://github.com/myriadrf/LimeSuite.git |
|
source-commit: 524cd2e548b11084e6f739b2dfe0f958c2e30354 |
|
build-packages: |
|
- libusb-1.0-0-dev |
|
stage-packages: |
|
- libstdc++6 |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
- -DENABLE_SIMD_FLAGS=SSE4.2 |
|
|
|
airspyhf: |
|
plugin: cmake |
|
source: https://github.com/airspy/airspyhf.git |
|
source-type: git |
|
source-commit: 9b7ef82cf37e732b9d2b2adbdd9d9ce8fee446ca |
|
build-packages: |
|
- libusb-1.0-0-dev |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
uhd: |
|
plugin: cmake |
|
source: https://github.com/EttusResearch/uhd.git |
|
source-type: git |
|
source-commit: v4.9.0.1 |
|
source-subdir: host |
|
build-packages: |
|
- libusb-1.0-0-dev |
|
- libboost-all-dev |
|
- python3-mako |
|
stage-packages: |
|
- libncurses6 |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
uhdfpga: |
|
after: [uhd] |
|
plugin: nil |
|
build-packages: |
|
- python3-requests |
|
override-prime: # We only include b2* firmware to keep size down |
|
$CRAFT_STAGE/opt/install/sdrangel/lib/uhd/utils/uhd_images_downloader.py -i $CRAFT_PRIME/opt/install/sdrangel/share/uhd/images -t b2 |
|
|
|
soapysdr: |
|
plugin: cmake |
|
source: https://github.com/pothosware/SoapySDR.git |
|
source-type: git |
|
source-commit: 1667b4e6301d7ad47b340dcdcd6e9969bf57d843 |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
|
|
soapyremote: |
|
plugin: cmake |
|
source: https://github.com/pothosware/SoapyRemote.git |
|
source-type: git |
|
source-commit: 40c3ef9053b63885b7444ce7e9ef00d2c7964c9d |
|
after: [soapysdr] |
|
build-packages: |
|
- libavahi-client-dev |
|
- libavahi-core-dev |
|
cmake-parameters: |
|
- -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel |
|
- -DCMAKE_PREFIX_PATH=$CRAFT_STAGE/opt/install/sdrangel
|
|
|