blob: 5769602115a333d92a4d554c70d8a118c4e4ac27 [file] [log] [blame]
commit-bot@chromium.org0d317d32014-04-16 22:10:48 +00001#!/bin/sh
2# Copyright 2014 Google Inc.
3#
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
commit-bot@chromium.org3df4e952014-05-05 13:30:06 +00007# install_dependencies.sh will install system-specific Skia
8# dependencies using your system's package manager. If your system is
9# not supported, add logic here to support it.
10
commit-bot@chromium.org3056bdd2014-05-20 15:07:53 +000011set -e
12
commit-bot@chromium.org0d317d32014-04-16 22:10:48 +000013if command -v lsb_release > /dev/null ; then
14 case $(lsb_release -i -s) in
15 Ubuntu)
16 sudo apt-get install \
17 build-essential \
commit-bot@chromium.org3056bdd2014-05-20 15:07:53 +000018 libpoppler-cpp-dev \
commit-bot@chromium.org0d317d32014-04-16 22:10:48 +000019 libfreetype6-dev \
20 libfontconfig-dev \
21 libpng12-dev \
22 libgif-dev \
23 libqt4-dev \
24 clang
25 if [ $(lsb_release -r -s) = '14.04' ] ; then
26 sudo apt-get install \
27 ninja-build
28 fi
29 exit
30 ;;
31 esac
32fi
33
34echo 'unknown system'
35exit 1
36