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 \
|
2019-11-10 06:46:37 +03:00
|
|
|
make \
|
|
|
|
g++ \
|
2019-12-05 05:33:36 +03:00
|
|
|
dbus-devel \
|
2019-06-17 00:11:15 +03:00
|
|
|
fontconfig-devel \
|
2019-06-17 00:11:36 +03:00
|
|
|
openssl-devel \
|
2018-02-27 09:17:05 +03:00
|
|
|
libxcb-devel \
|
2019-02-23 09:11:25 +03:00
|
|
|
libxkbcommon-devel \
|
|
|
|
libxkbcommon-x11-devel \
|
2019-11-29 18:47:43 +03:00
|
|
|
wayland-devel \
|
2018-02-27 09:17:05 +03:00
|
|
|
mesa-libEGL-devel \
|
2019-06-17 00:11:15 +03:00
|
|
|
xcb-util-keysyms-devel \
|
|
|
|
xcb-util-wm-devel
|
2018-02-27 09:17:05 +03:00
|
|
|
exit $?
|
|
|
|
fi
|
|
|
|
|
2018-02-25 20:22:19 +03:00
|
|
|
case `lsb_release -ds` in
|
2019-11-25 23:28:08 +03:00
|
|
|
Ubuntu*|Debian*|PureOS*)
|
2018-02-25 20:22:19 +03:00
|
|
|
apt-get install -y \
|
|
|
|
bsdutils \
|
2019-06-17 00:11:15 +03:00
|
|
|
cmake \
|
2019-06-23 09:45:58 +03:00
|
|
|
fakeroot \
|
2019-12-05 05:33:36 +03:00
|
|
|
libdbus-1-dev \
|
2019-06-17 00:11:15 +03:00
|
|
|
libegl1-mesa-dev \
|
2019-06-17 00:11:36 +03:00
|
|
|
libssl-dev \
|
2019-06-17 00:11:15 +03:00
|
|
|
libfontconfig1-dev \
|
2018-02-25 20:22:19 +03:00
|
|
|
libxcb-ewmh-dev \
|
2019-06-17 00:11:15 +03:00
|
|
|
libxcb-icccm4-dev \
|
2018-02-25 20:22:19 +03:00
|
|
|
libxcb-keysyms1-dev \
|
2019-08-09 21:15:09 +03:00
|
|
|
libxcb-shm0-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 \
|
2019-02-19 09:57:40 +03:00
|
|
|
xdg-utils \
|
2019-06-17 00:11:15 +03:00
|
|
|
xorg-dev
|
2018-02-25 20:22:19 +03:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "Please contribute the commands to install the deps"
|
|
|
|
echo "For `lsb_release -ds`"
|
|
|
|
;;
|
|
|
|
esac
|