This repository has been archived by the owner on Sep 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7f11bc
commit 76edb1e
Showing
1 changed file
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,38 @@ | ||
#!/bin/bash | ||
|
||
mkdir deps | ||
zipname="cef_binary_3.1271.889_linux" | ||
|
||
if [ ! -f deps/cef.zip ]; then | ||
wget -O deps/cef.zip https://github.com/downloads/pritambaral/brackets-shell/$zipname-32.zip | ||
mkdir deps | ||
pushd deps | ||
|
||
# download CEF | ||
if [ ! -f cef.zip ]; then | ||
wget -O cef.zip https://github.com/downloads/pritambaral/brackets-shell/$zipname-32.zip | ||
fi | ||
|
||
unzip deps/cef.zip -d deps | ||
mv deps/$zipname deps/cef | ||
# extract CEF | ||
rm -rf cef | ||
unzip cef.zip | ||
mv $zipname cef | ||
|
||
# get libudev0 for Ubuntu 13.04 | ||
if egrep -q "13\.04" /etc/issue; then | ||
wget -O libudev0_175-0ubuntu19_i386.deb http://launchpadlibrarian.net/132294322/libudev0_175-0ubuntu19_i386.deb | ||
dpkg -i *.deb | ||
apt-get install -f | ||
fi | ||
|
||
# download chromium dependency script | ||
if [ ! -f install-build-deps.sh ]; then | ||
wget -O install-build-deps.sh http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh | ||
chmod 755 install-build-deps.sh | ||
fi | ||
|
||
# install dependecies | ||
install-build-deps.sh --no-chromeos-fonts | ||
|
||
popd | ||
|
||
# install and run gyp to create makefile | ||
apt-get install gyp | ||
gyp --depth . |