forked from adobe/brackets-shell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_linux_build.sh
More file actions
executable file
·41 lines (31 loc) · 854 Bytes
/
Copy pathsetup_linux_build.sh
File metadata and controls
executable file
·41 lines (31 loc) · 854 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
39
40
41
#!/bin/bash
# SYSTEM DEPENDENCIES
# install development dependencies
sudo apt-get install --assume-yes p7zip-full libnss3-1d libnspr4-0d gyp gtk+-2.0
# BUILD DEPENDENCIES
# download CEF
zipname="cef_binary_3.1453.1255_linux32"
mkdir deps
pushd deps
if [ ! -f cef.zip ]; then
wget -O cef.7z "https://drive.google.com/uc?export=download&id=0B7as0diokeHxMVpTOTM5NUJwemM"
fi
# extract CEF
rm -rf cef
7za x cef.7z
mv $zipname cef
popd
# make symlinks to CEF
# Remove existing links
rm -f Debug include libcef_dll Release Resources tools
# Make new links
# ln -s deps/cef/Debug/ Debug
ln -s deps/cef/include/ include
ln -s deps/cef/libcef_dll/ libcef_dll
ln -s deps/cef/Release/ Release
ln -s deps/cef/Resources/ Resources
# ln -s deps/cef/tools/ tools
# CREATE MAKEFILE AND BUILD
# copy appshell.gyp
cp appshell.gyp.txt appshell.gyp
gyp --depth .