1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 22:42:48 +03:00
wezterm/get-deps
Wez Furlong ba804589fd Generate builds for more platforms
tweak some container names

fixup container names and regenerate the config

Ensure that curl is installed

the rust toolchain stuff wants curl

run apt update before apt install

centralize updating apt, and install sudo

revise get-deps script for slimmer debian images

more container related tweaks

get-deps: Don't require lsb-release on debianish systems

more get-deps improvements

Explicitly ask GH actions to recursively checkout the repo

Explicitly install git

fetch tags and tweak git build for debian systems

moar adjustments

remove deb8 (its wayland is too old), fixup debian publish

Ensure git build deps are installed always, tidy up sudo usage
2020-05-03 15:11:35 -07:00

62 lines
1.1 KiB
Bash
Executable File

#!/bin/bash
# Centos may not have lsb_release installed
if test -e /etc/centos-release || test -e /etc/fedora-release; then
yum install -y \
make \
gcc \
g++ \
gcc-c++ \
dbus-devel \
fontconfig-devel \
openssl-devel \
python3 \
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
if test -e /etc/debian_version ; then
apt-get install -y \
bsdutils \
cmake \
fakeroot \
gcc \
g++ \
libdbus-1-dev \
libegl1-mesa-dev \
libssl-dev \
libfontconfig1-dev \
libwayland-dev \
libxcb-ewmh-dev \
libxcb-icccm4-dev \
libxcb-keysyms1-dev \
libxcb-shm0-dev \
libxcb-xkb-dev \
libxkbcommon-dev \
libxkbcommon-x11-dev \
lsb-release \
python3 \
xdg-utils \
xorg-dev
exit $?
fi
case $OSTYPE in
darwin*|msys)
exit 0
;;
*)
echo "Please contribute the commands to install the deps"
echo "For `lsb_release -ds`"
exit 1
;;
esac