mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 23:21:08 +03:00
45fa44e0c8
We no longer need freetype or harfbuzz from the system
40 lines
825 B
Bash
Executable File
40 lines
825 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 \
|
|
libxcb-devel \
|
|
xcb-util-keysyms-devel \
|
|
xcb-util-wm-devel \
|
|
libxkbcommon-devel \
|
|
libxkbcommon-x11-devel \
|
|
fontconfig-devel \
|
|
mesa-libEGL-devel \
|
|
ragel
|
|
exit $?
|
|
fi
|
|
|
|
case `lsb_release -ds` in
|
|
Ubuntu*|Debian*)
|
|
apt-get install -y \
|
|
cmake \
|
|
xorg-dev \
|
|
bsdutils \
|
|
libxcb-icccm4-dev \
|
|
libxcb-ewmh-dev \
|
|
libxcb-keysyms1-dev \
|
|
libxcb-xkb-dev \
|
|
libxkbcommon-dev \
|
|
libxkbcommon-x11-dev \
|
|
libfontconfig1-dev \
|
|
libegl1-mesa-dev \
|
|
xdg-utils \
|
|
ragel
|
|
;;
|
|
*)
|
|
echo "Please contribute the commands to install the deps"
|
|
echo "For `lsb_release -ds`"
|
|
;;
|
|
esac
|