Browse Source

Second batch of new applications for v6.0.

pull/64/head
luigifcruz 2 years ago
parent
commit
6abdc6ae3a
5 changed files with 25 additions and 0 deletions
  1. +1
    -0
      stage4/07-pisdr-sdrplay/00-run.sh
  2. +5
    -0
      stage4/37-pisdr-nrsc5/00-packages-nr
  3. +19
    -0
      stage4/37-pisdr-nrsc5/00-run.sh
  4. +0
    -0
      stage4/38-pisdr-cleanup/00-run.sh
  5. +0
    -0
      stage4/38-pisdr-cleanup/01-run.sh

+ 1
- 0
stage4/07-pisdr-sdrplay/00-run.sh View File

@@ -13,6 +13,7 @@ chmod +x ./SDRplay_RSP_API-ARM32-3.07.2.run
./SDRplay_RSP_API-ARM32-3.07.2.run --check
./SDRplay_RSP_API-ARM32-3.07.2.run --noexec --target .
sed -i 's/more sdrplay_license.txt//g' install_lib.sh
sed -i 's/armv7l/armv8l/g' install_lib.sh
printf "\ny\ny\ny\n" | ./install_lib.sh
systemctl enable --now sdrplay
EOF

+ 5
- 0
stage4/37-pisdr-nrsc5/00-packages-nr View File

@@ -0,0 +1,5 @@
autoconf
libtool
libao-dev
libfftw3-dev
libfaad-dev

+ 19
- 0
stage4/37-pisdr-nrsc5/00-run.sh View File

@@ -0,0 +1,19 @@
#!/bin/bash -e

on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
cd "/home/${FIRST_USER_NAME}/PiSDR/Software"

if [ ! -d "nrsc5" ]; then
git clone --depth 1 https://github.com/theori-io/nrsc5.git
fi

cd nrsc5
mkdir -p build
cd build
cmake -DUSE_NEON=OFF -DUSE_FAAD2=OFF -GNinja ..
ninja install
ldconfig
cd ..
rm -fr build
EOF

stage4/37-pisdr-cleanup/00-run.sh → stage4/38-pisdr-cleanup/00-run.sh View File


stage4/37-pisdr-cleanup/01-run.sh → stage4/38-pisdr-cleanup/01-run.sh View File


Loading…
Cancel
Save