1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 02:25:28 +03:00
wezterm/get-deps
2019-06-16 14:25:31 -07:00

42 lines
864 B
Bash
Executable File

#!/bin/sh
# Centos may not have lsb_release installed
if test -e /etc/centos-release || test -e /etc/fedora-release; then
yum install -y \
cmake \
fontconfig-devel \
openssl-devel \
libxcb-devel \
libxkbcommon-devel \
libxkbcommon-x11-devel \
mesa-libEGL-devel \
ragel \
xcb-util-keysyms-devel \
xcb-util-wm-devel
exit $?
fi
case `lsb_release -ds` in
Ubuntu*|Debian*)
apt-get install -y \
bsdutils \
cmake \
libegl1-mesa-dev \
libssl-dev \
libfontconfig1-dev \
libxcb-ewmh-dev \
libxcb-icccm4-dev \
libxcb-keysyms1-dev \
libxcb-xkb-dev \
libxkbcommon-dev \
libxkbcommon-x11-dev \
ragel \
xdg-utils \
xorg-dev
;;
*)
echo "Please contribute the commands to install the deps"
echo "For `lsb_release -ds`"
;;
esac