From bb5c7447db54a0291240987fc954454621d27bea Mon Sep 17 00:00:00 2001 From: srcejon Date: Wed, 9 Oct 2024 09:08:48 +0100 Subject: [PATCH] Add libflac to snap. Set ARCH_OPT to nehalem. --- snap/snapcraft.yaml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 5e7b45b4c..ff20b5393 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -10,7 +10,7 @@ # # To install sdrangel local snap: # -# sudo snap install sdrangel_7.19.0_amd64.snap --dangerous +# sudo snap install sdrangel_7.22.1_amd64.snap --dangerous # # Users appear to need to grant h/w access manually from command line with: # @@ -36,11 +36,19 @@ # 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: core22 type: app -version: "7.19.0" +version: "7.22.1" summary: SDRangel description: SDRangel is an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware. SSE 4.2 required. confinement: strict @@ -139,7 +147,7 @@ parts: plugin: cmake source: https://github.com/f4exb/sdrangel source-type: git - source-tag: v7.19.0 + source-tag: v7.22.1 after: [apt, libdab, mbelib, serialdv, dsdcc, codec2, sgp4, cm265cc, libsigmf, airspy, rtlsdr, pluto, bladerf, hackrf, limesuite, airspyhf, uhd, uhdfpga, soapysdr, soapyremote] cmake-parameters: - -DDEBUG_OUTPUT=OFF @@ -167,6 +175,7 @@ parts: - -DSGP4_DIR=$SNAPCRAFT_STAGE/opt/install/sdrangel - -DLIBSIGMF_DIR=$SNAPCRAFT_STAGE/opt/install/sdrangel - -DDAB_DIR=$SNAPCRAFT_STAGE/opt/install/sdrangel + - -DARCH_OPT=nehalem #- -DQt5_DIR=/usr/lib/x86_64-linux-gnu/cmake/Qt5 build-packages: - libfftw3-dev @@ -192,6 +201,7 @@ parts: - libqt5texttospeech5-dev - libqt5gamepad5-dev - libfaad-dev + - libflac-dev - zlib1g-dev - libboost-all-dev - libasound2-dev