OLD | NEW |
(Empty) | |
| 1 #!/bin/sh |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. |
| 5 |
| 6 # This is a convenience for installing prerequisites that seem to be often |
| 7 # missing. |
| 8 |
| 9 PPATH=/usr/lib/pkgconfig |
| 10 LPATH="$(pwd)" |
| 11 export PKG_CONFIG_PATH="${PPATH}" |
| 12 |
| 13 function getxfromy() { |
| 14 if [ \! -f "${PPATH}"/"$1".pc ] ; then |
| 15 sudo apt-get install "$2" |
| 16 fi |
| 17 } |
| 18 |
| 19 getxfromy pixman-1 libpixman-1-dev |
| 20 getxfromy fixesproto x11proto-fixes-dev |
| 21 getxfromy damageproto x11proto-damage-dev |
| 22 getxfromy xcmiscproto x11proto-xcmisc-dev |
| 23 getxfromy bigreqsproto x11proto-bigreqs-dev |
| 24 getxfromy randrproto x11proto-randr-dev |
| 25 getxfromy renderproto x11proto-render-dev |
| 26 getxfromy fontsproto x11proto-fonts-dev |
| 27 getxfromy videoproto x11proto-video-dev |
| 28 getxfromy compositeproto x11proto-composite-dev |
| 29 getxfromy scrnsaverproto x11proto-scrnsaver-dev |
| 30 getxfromy resourceproto x11proto-resource-dev |
| 31 getxfromy xineramaproto x11proto-xinerama-dev |
| 32 getxfromy pciaccess libpciaccess-dev |
| 33 getxfromy gl libgl1-mesa-dev |
| 34 getxfromy glproto x11proto-gl-dev |
| 35 getxfromy xf86driproto x11proto-xf86dri-dev |
| 36 getxfromy fontenc libfontenc-dev |
| 37 getxfromy makedepend xutils-dev |
| 38 getxfromy talloc libfontenc-dev |
| 39 getxfromy autoconf autoconf |
| 40 getxfromy libtool libtool |
OLD | NEW |