Skip to content

Instantly share code, notes, and snippets.

@xerpi
Last active February 20, 2017 18:56
Show Gist options
  • Save xerpi/b5df122725040ab21cbd911e1bfa7135 to your computer and use it in GitHub Desktop.
Save xerpi/b5df122725040ab21cbd911e1bfa7135 to your computer and use it in GitHub Desktop.
#!/bin/bash
JOBS=4
sudo pacman --needed -S base-devel gcc git make autoconf automake pkgconfig libxml2 \
libinput libunwind mesa mesa-libgl libxcursor cairo-xcb libxkbcommon
git clone git://anongit.freedesktop.org/wayland/wayland
pushd wayland
./autogen.sh --prefix=$WLD --disable-documentation
make -j$JOBS
make install
popd
git clone git://anongit.freedesktop.org/wayland/wayland-protocols
pushd wayland-protocols
./autogen.sh --prefix=$WLD
make -j$JOBS
make install
popd
git clone git://anongit.freedesktop.org/wayland/weston
pushd weston
./autogen.sh --prefix=$WLD --enable-systemd-login --enable-systemd-notify --enable-demo-clients-install
make -j$JOBS
sudo make install
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment