Skip to content

Commit

Permalink
add dependencies for chromium to script (#4)
Browse files Browse the repository at this point in the history
* add 3 dependencies for chromium to script

* 1. add full list of dependencies needed for debian.

* 1.remove stack check and just load all packages
  • Loading branch information
Ian Otieno authored and jontewks committed Nov 28, 2017
1 parent 5e9e6c2 commit 5da90b2
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,7 @@ function indent() {
esac
}

stack=${STACK:-heroku-16}

# Install correct dependencies according to $STACK
case "$stack" in
"cedar-14")
PACKAGES="libxss1"
;;
"heroku-16")
PACKAGES="libxss1 libx11-xcb1 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxi6 libxtst6 libnss3 libgconf-2-4 libxrandr2 libasound2 libatk1.0-0 libgtk2.0-0 libgtk-3-0 libxinerama1 libcairo-gobject2"
;;
*)
error "STACK must be 'cedar-14' or 'heroku-16', not '$stack.'"
esac
PACKAGES="gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget"

APT_CACHE_DIR="$CACHE_DIR/apt/cache"
APT_STATE_DIR="$CACHE_DIR/apt/state"
Expand Down

0 comments on commit 5da90b2

Please sign in to comment.