mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 21:32:13 +03:00
48 lines
993 B
Bash
Executable File
48 lines
993 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 \
|
|
make \
|
|
g++ \
|
|
dbus-devel \
|
|
fontconfig-devel \
|
|
openssl-devel \
|
|
libxcb-devel \
|
|
libxkbcommon-devel \
|
|
libxkbcommon-x11-devel \
|
|
wayland-devel \
|
|
mesa-libEGL-devel \
|
|
xcb-util-keysyms-devel \
|
|
xcb-util-wm-devel \
|
|
rpm-build \
|
|
redhat-lsb-core
|
|
exit $?
|
|
fi
|
|
|
|
case `lsb_release -ds` in
|
|
Ubuntu*|Debian*|PureOS*)
|
|
apt-get install -y \
|
|
bsdutils \
|
|
cmake \
|
|
fakeroot \
|
|
libdbus-1-dev \
|
|
libegl1-mesa-dev \
|
|
libssl-dev \
|
|
libfontconfig1-dev \
|
|
libxcb-ewmh-dev \
|
|
libxcb-icccm4-dev \
|
|
libxcb-keysyms1-dev \
|
|
libxcb-shm0-dev \
|
|
libxcb-xkb-dev \
|
|
libxkbcommon-dev \
|
|
libxkbcommon-x11-dev \
|
|
xdg-utils \
|
|
xorg-dev
|
|
;;
|
|
*)
|
|
echo "Please contribute the commands to install the deps"
|
|
echo "For `lsb_release -ds`"
|
|
;;
|
|
esac
|