-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path1_download_library.sh
executable file
·101 lines (73 loc) · 1.56 KB
/
1_download_library.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#!/bin/bash
# abort on errors
set -e
export WORKSPACE=$PWD
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $SCRIPT_DIR/../shared/import.sh
msg " [1] Checking devkitPPC"
test_dkp "devkitPPC"
msg " [2] Downloading generic libraries"
# zlib
rm -rf $ZLIB_DIR
download_and_extract $ZLIB_URL
# libpng
rm -rf $LIBPNG_DIR
download_and_extract $LIBPNG_URL
# freetype
rm -rf $FREETYPE_DIR
download_and_extract $FREETYPE_URL
# harfbuzz
#rm -rf $HARFBUZZ_DIR
#download_and_extract $HARFBUZZ_URL
# pixman
rm -rf $PIXMAN_DIR
download_and_extract $PIXMAN_URL
# expat
rm -rf $EXPAT_DIR
download_and_extract $EXPAT_URL
# libogg
rm -rf $LIBOGG_DIR
download_and_extract $LIBOGG_URL
# tremor
rm -rf $TREMOR_DIR
download_and_extract $TREMOR_URL
# mpg123
rm -rf $MPG123_DIR
download_and_extract $MPG123_URL
# libxmp-lite
rm -rf $LIBXMP_LITE_DIR
download_and_extract $LIBXMP_LITE_URL
# speexdsp
rm -rf $SPEEXDSP_DIR
download_and_extract $SPEEXDSP_URL
# wildmidi
rm -rf $WILDMIDI_DIR
download_and_extract $WILDMIDI_URL
# opus
rm -rf $OPUS_DIR
download_and_extract $OPUS_URL
# opusfile
rm -rf $OPUSFILE_DIR
download_and_extract $OPUSFILE_URL
# FluidLite
rm -rf $FLUIDLITE_DIR
download_and_extract $FLUIDLITE_URL
# inih
rm -rf $INIH_DIR
download_and_extract $INIH_URL
# lhasa
rm -rf $LHASA_DIR
download_and_extract $LHASA_URL
# fmt
rm -rf $FMT_DIR
download_and_extract $FMT_URL
# ICU
rm -rf $ICU_DIR
download_and_extract $ICU_URL
# icudata
rm -f $ICUDATA_FILES
download_and_extract $ICUDATA_URL
msg " [3] Downloading platform libraries"
# liblcf
rm -rf liblcf
download_liblcf