-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a70e673
commit ecc4442
Showing
2 changed files
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ -f /etc/os-release ] | ||
. /etc/os-release | ||
INSTALL= | ||
SPEECH_DISPATCHER= | ||
if [ "$NAME" = "Debian GNU/Linux" ]; then | ||
INSTALL="apt install clang cmake speech-dispatcher libspeechd-dev pkg-config libssl-dev librust-alsa-sys-dev" | ||
if [ "$VERSION_ID" = "11" ]; then | ||
SPEECH_DISPATCHER="9" | ||
elif [ "$VERSION_ID" = "12" ]; then | ||
SPEECH_DISPATCHER="11" | ||
else | ||
echo "Invalid version: Debian $VERSION_ID" | ||
fi | ||
fi | ||
sudo $INSTALL | ||
cargo build --release --features speech_dispatcher_0_$SPEECH_DISPATCHER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters