mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 12:23:46 +03:00
0ce396f305
Dependency names on Ubuntu and Debian are identical (only tested on stretch.)
37 lines
750 B
Bash
Executable File
37 lines
750 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 \
|
|
fontconfig-devel \
|
|
freetype-devel \
|
|
mesa-libEGL-devel \
|
|
harfbuzz-devel \
|
|
ragel
|
|
exit $?
|
|
fi
|
|
|
|
case `lsb_release -ds` in
|
|
Ubuntu*|Debian*)
|
|
apt-get install -y \
|
|
cmake \
|
|
bsdutils \
|
|
libxcb-icccm4-dev \
|
|
libxcb-ewmh-dev \
|
|
libxcb-keysyms1-dev \
|
|
libfontconfig1-dev \
|
|
libfreetype6-dev \
|
|
libegl1-mesa-dev \
|
|
libharfbuzz-dev \
|
|
ragel
|
|
;;
|
|
*)
|
|
echo "Please contribute the commands to install the deps"
|
|
echo "For `lsb_release -ds`"
|
|
;;
|
|
esac
|