1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 05:12:40 +03:00
wezterm/get-deps

40 lines
825 B
Plaintext
Raw Normal View History

#!/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 \
2019-06-17 00:11:15 +03:00
fontconfig-devel \
libxcb-devel \
2019-02-23 09:11:25 +03:00
libxkbcommon-devel \
libxkbcommon-x11-devel \
mesa-libEGL-devel \
2019-06-17 00:11:15 +03:00
ragel \
xcb-util-keysyms-devel \
xcb-util-wm-devel
exit $?
fi
case `lsb_release -ds` in
Ubuntu*|Debian*)
apt-get install -y \
bsdutils \
2019-06-17 00:11:15 +03:00
cmake \
libegl1-mesa-dev \
libfontconfig1-dev \
libxcb-ewmh-dev \
2019-06-17 00:11:15 +03:00
libxcb-icccm4-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 \
2019-06-17 00:11:15 +03:00
ragel \
2019-02-19 09:57:40 +03:00
xdg-utils \
2019-06-17 00:11:15 +03:00
xorg-dev
;;
*)
echo "Please contribute the commands to install the deps"
echo "For `lsb_release -ds`"
;;
esac