Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
update setup script for libudev0
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonsanjose committed May 3, 2013
1 parent c7f11bc commit 76edb1e
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions scripts/setup_linux_build.sh
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 .

0 comments on commit 76edb1e

Please sign in to comment.