-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_audio.sh
41 lines (35 loc) · 967 Bytes
/
build_audio.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#! /bin/bash
# Today, we will be building the ALSA and Pulseaudio libraries from scratch.
# Sounds like a load of fun? Well that is because it is.
## Start variables
START_DIR=$(pwd)
SCRIPT_DIR="$START_DIR/build_scripts/audio"
PACKAGE_DIR="$START_DIR/packs/audio"
INSTALL=1
## End variables
## Start script
# End script when error occurs
set -o errexit
# Time to build!
# ALSA-lib
source "$SCRIPT_DIR/alsa_lib.sh" "1.1.1"
# ALSA-plugins
source "$SCRIPT_DIR/alsa_plugins.sh" "1.1.1"
# ALSA-utils
source "$SCRIPT_DIR/alsa_utils.sh" "1.1.1"
# Json-C
source "$SCRIPT_DIR/jsonc.sh" "0.12-20140410"
# libogg
source "$SCRIPT_DIR/libogg.sh" "1.3.2"
# libvorbis
source "$SCRIPT_DIR/libvorbis.sh" "1.3.5"
# FLAC
source "$SCRIPT_DIR/flac.sh" "1.3.1"
# LAME
source "$SCRIPT_DIR/lame.sh" "3.99.5"
# libsndfile
source "$SCRIPT_DIR/libsndfile.sh" "1.0.26"
# Pulseaudio
source "$SCRIPT_DIR/pulseaudio.sh" "8.0"
echo "Listen to all the audio your heart desires!"
## End script