This repository was archived by the owner on Sep 2, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +30
-5
lines changed Expand file tree Collapse file tree 1 file changed +30
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- mkdir deps
4
3
zipname=" cef_binary_3.1271.889_linux"
5
4
6
- if [ ! -f deps/cef.zip ]; then
7
- wget -O deps/cef.zip https://github.com/downloads/pritambaral/brackets-shell/$zipname -32.zip
5
+ mkdir deps
6
+ pushd deps
7
+
8
+ # download CEF
9
+ if [ ! -f cef.zip ]; then
10
+ wget -O cef.zip https://github.com/downloads/pritambaral/brackets-shell/$zipname -32.zip
8
11
fi
9
12
10
- unzip deps/cef.zip -d deps
11
- mv deps/$zipname deps/cef
13
+ # extract CEF
14
+ rm -rf cef
15
+ unzip cef.zip
16
+ mv $zipname cef
17
+
18
+ # get libudev0 for Ubuntu 13.04
19
+ if egrep -q " 13\.04" /etc/issue; then
20
+ wget -O libudev0_175-0ubuntu19_i386.deb http://launchpadlibrarian.net/132294322/libudev0_175-0ubuntu19_i386.deb
21
+ dpkg -i * .deb
22
+ apt-get install -f
23
+ fi
24
+
25
+ # download chromium dependency script
26
+ if [ ! -f install-build-deps.sh ]; then
27
+ wget -O install-build-deps.sh http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh
28
+ chmod 755 install-build-deps.sh
29
+ fi
30
+
31
+ # install dependecies
32
+ install-build-deps.sh --no-chromeos-fonts
33
+
34
+ popd
12
35
36
+ # install and run gyp to create makefile
37
+ apt-get install gyp
13
38
gyp --depth .
You can’t perform that action at this time.
0 commit comments