3056bdd236
The Ubuntu package needed is libpoppler-cpp-dev. iconv and fontconfig were only used as Poppler dependencies. bson_c is also unused. BUG=skia: R=reed@google.com, rmistry@google.com, borenet@google.com, halcanary@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/294683003 git-svn-id: http://skia.googlecode.com/svn/trunk@14802 2bbb7eff-a529-9590-31e7-b0007b416f81
37 lines
791 B
Bash
Executable File
37 lines
791 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright 2014 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# install_dependencies.sh will install system-specific Skia
|
|
# dependencies using your system's package manager. If your system is
|
|
# not supported, add logic here to support it.
|
|
|
|
set -e
|
|
|
|
if command -v lsb_release > /dev/null ; then
|
|
case $(lsb_release -i -s) in
|
|
Ubuntu)
|
|
sudo apt-get install \
|
|
build-essential \
|
|
libpoppler-cpp-dev \
|
|
libfreetype6-dev \
|
|
libfontconfig-dev \
|
|
libpng12-dev \
|
|
libgif-dev \
|
|
libqt4-dev \
|
|
clang
|
|
if [ $(lsb_release -r -s) = '14.04' ] ; then
|
|
sudo apt-get install \
|
|
ninja-build
|
|
fi
|
|
exit
|
|
;;
|
|
esac
|
|
fi
|
|
|
|
echo 'unknown system'
|
|
exit 1
|
|
|