forked from googlearchive/androidtv-Leanback
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathupdate_dependencies.sh
More file actions
executable file
·38 lines (31 loc) · 855 Bytes
/
update_dependencies.sh
File metadata and controls
executable file
·38 lines (31 loc) · 855 Bytes
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
#!/bin/bash
# This script downloads or updates the dependencies for
# building leanfront
scriptname=`readlink -e "$0"`
scriptpath=`dirname "$scriptname"`
scriptname=`basename "$scriptname" .sh`
set -e
cd "$scriptpath"
cd ..
if [[ ! -d ffmpeg ]] ; then
git clone git@github.com:FFmpeg/FFmpeg.git ffmpeg
fi
git -C ffmpeg fetch
git -C ffmpeg checkout release/6.0 2>&1
git -C ffmpeg pull 2>&1
if [[ ! -d media ]] ; then
git clone git@github.com:bennettpeter/media.git
fi
git -C media fetch
git -C media checkout 1.9.1-lf 2>&1
git -C media pull 2>&1
if [[ ! -d leanfront-mobile ]] ; then
git clone git@github.com:bennettpeter/leanfront-mobile.git
fi
git -C leanfront-mobile fetch
if [[ ! -d libyuv ]] ; then
git clone git@github.com:bennettpeter/libyuv.git
fi
git -C libyuv fetch
git -C libyuv checkout main 2>&1
git -C libyuv pull 2>&1