2018-02-25 20:22:19 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-02-27 09:17:05 +03:00
|
|
|
# Centos may not have lsb_release installed
|
|
|
|
if test -e /etc/centos-release || test -e /etc/fedora-release; then
|
|
|
|
yum install -y \
|
|
|
|
cmake \
|
|
|
|
libxcb-devel \
|
|
|
|
xcb-util-keysyms-devel \
|
|
|
|
xcb-util-wm-devel \
|
2019-02-23 09:11:25 +03:00
|
|
|
libxkbcommon-devel \
|
|
|
|
libxkbcommon-x11-devel \
|
2018-02-27 09:17:05 +03:00
|
|
|
fontconfig-devel \
|
|
|
|
freetype-devel \
|
|
|
|
mesa-libEGL-devel \
|
|
|
|
harfbuzz-devel \
|
|
|
|
ragel
|
|
|
|
exit $?
|
|
|
|
fi
|
|
|
|
|
2018-02-25 20:22:19 +03:00
|
|
|
case `lsb_release -ds` in
|
2018-04-12 00:03:17 +03:00
|
|
|
Ubuntu*|Debian*)
|
2018-02-25 20:22:19 +03:00
|
|
|
apt-get install -y \
|
2018-02-27 09:14:47 +03:00
|
|
|
cmake \
|
2019-02-18 05:48:18 +03:00
|
|
|
xorg-dev \
|
2018-02-25 20:22:19 +03:00
|
|
|
bsdutils \
|
|
|
|
libxcb-icccm4-dev \
|
|
|
|
libxcb-ewmh-dev \
|
|
|
|
libxcb-keysyms1-dev \
|
2019-02-23 09:48:20 +03:00
|
|
|
libxcb-xkb-dev \
|
2019-02-23 09:11:25 +03:00
|
|
|
libxkbcommon-dev \
|
|
|
|
libxkbcommon-x11-dev \
|
2018-02-25 20:22:19 +03:00
|
|
|
libfontconfig1-dev \
|
|
|
|
libfreetype6-dev \
|
|
|
|
libegl1-mesa-dev \
|
|
|
|
libharfbuzz-dev \
|
2019-02-19 09:57:40 +03:00
|
|
|
xdg-utils \
|
2018-02-25 20:22:19 +03:00
|
|
|
ragel
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "Please contribute the commands to install the deps"
|
|
|
|
echo "For `lsb_release -ds`"
|
|
|
|
;;
|
|
|
|
esac
|