commit a0fb807bc66d442de9dbc33135a09b7959af97df parent 7ffd16c1ba4e34a000d0b1817e346fb199831d2b Author: umhau <um.hau@outlook.com> Date: Wed, 23 Jul 2025 11:15:44 -0400 Add files via upload Diffstat:
| A | dependencies.sh | | | 31 | +++++++++++++++++++++++++++++++ |
| A | install.sh | | | 11 | +++++++++++ |
2 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/dependencies.sh b/dependencies.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +venv=/opt/reverberation/venv + +packages=( + + python3 + python3-tkinter + portaudio-devel + xdotool + xclip + +) + +pipages=( + + faster-whisper + pyaudio + numpy + +) + +[ `whoami` != 'root' ] && echo 'must be root' && exit + +xbps-install -ySu ${packages[@]} + +python3 -m venv --clear --upgrade-deps $venv +source $venv/bin/activate +pip3 install ${pipages[@]} + +echo 'done' diff --git a/install.sh b/install.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +find src -type f -printf '%P\n' | while read path ; do + + install -v -D "src/$path" "/$path" + +done + +echo "done"