Install pivumeter.

This commit is contained in:
piradio 2019-05-22 03:01:52 +02:00
parent c3ac379d19
commit 7d35c7b272
6 changed files with 22 additions and 1 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "stage2/04-pirate-radio/files/pivumeter"]
path = stage2/04-pirate-radio/files/pivumeter
url = https://github.com//pivumeter

View File

@ -5,3 +5,8 @@ wiringpi
python-phatbeat
python3-phatbeat
pulseaudio
autoconf
automake
libtool
libasound2-dev
libfftw3-dev

View File

@ -1,5 +1,8 @@
#!/bin/bash -e
install -v -m 644 files/pusleaudio.service "${ROOTFS_DIR}/etc/systemd/system/"
install -v -m 644 files/pulseaudio.service "${ROOTFS_DIR}/etc/systemd/system/"
install -v -m 644 files/client.conf "${ROOTFS_DIR}/etc/pulse/"
install -v -m 644 files/default.pa "${ROOTFS_DIR}/etc/pulse/"
cp -rf files/pivumeter "${ROOTFS_DIR}/root/"
install -v -m 644 files/pivumeter/dependencies/etc/asound.conf "${ROOTFS_DIR}/etc/"

View File

@ -1,3 +1,9 @@
#!/bin/bash -e
systemctl enable pulseaudio
cd /root/pivumeter
aclocal && libtoolize
autoconf && automake --add-missing
./configure && make
make install

View File

@ -0,0 +1,3 @@
#!/bin/bash -e
rm -rf "${ROOTFS_DIR}/root/pivumeter"

@ -0,0 +1 @@
Subproject commit 5e4afea8813beeec2f81d877f3ddc9a84eaa177e