Install pivumeter.
This commit is contained in:
parent
c3ac379d19
commit
7d35c7b272
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "stage2/04-pirate-radio/files/pivumeter"]
|
||||||
|
path = stage2/04-pirate-radio/files/pivumeter
|
||||||
|
url = https://github.com//pivumeter
|
|
@ -5,3 +5,8 @@ wiringpi
|
||||||
python-phatbeat
|
python-phatbeat
|
||||||
python3-phatbeat
|
python3-phatbeat
|
||||||
pulseaudio
|
pulseaudio
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
libtool
|
||||||
|
libasound2-dev
|
||||||
|
libfftw3-dev
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash -e
|
#!/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/client.conf "${ROOTFS_DIR}/etc/pulse/"
|
||||||
install -v -m 644 files/default.pa "${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/"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
systemctl enable pulseaudio
|
systemctl enable pulseaudio
|
||||||
|
|
||||||
|
cd /root/pivumeter
|
||||||
|
aclocal && libtoolize
|
||||||
|
autoconf && automake --add-missing
|
||||||
|
./configure && make
|
||||||
|
make install
|
||||||
|
|
3
stage2/04-pirate-radio/03-run.sh
Executable file
3
stage2/04-pirate-radio/03-run.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
rm -rf "${ROOTFS_DIR}/root/pivumeter"
|
1
stage2/04-pirate-radio/files/pivumeter
Submodule
1
stage2/04-pirate-radio/files/pivumeter
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 5e4afea8813beeec2f81d877f3ddc9a84eaa177e
|
Loading…
Reference in New Issue
Block a user