Move gentoo install instructions, add windows to table of contents

This commit is contained in:
Zac Pullar-Strecker 2018-10-27 13:49:55 +13:00 committed by Zac Pullar-Strecker
parent 04127ed31f
commit 8f2a4b89df
2 changed files with 24 additions and 27 deletions

View File

@ -16,7 +16,8 @@
10. [Solus](#solus)
11. [NixOS/Nixpkgs](#nixosnixpkgs)
12. [Gentoo](#gentoo)
13. [Other](#other)
13. [Windows](#windows)
14. [Other](#other)
2. [Building](#building)
1. [Linux](#linux)
1. [Desktop Entry](#desktop-entry)
@ -66,10 +67,6 @@ them. If something is still found to be missing, please open an issue.
apt-get install cmake libfreetype6-dev libfontconfig1-dev xclip
```
#### Windows
On windows you will need to have the `{architecture}-pc-windows-msvc` toolchain installed as well as [Clang 3.9 or greater](http://releases.llvm.org/download.html).
#### Arch Linux
On Arch Linux, you need a few extra libraries to build Alacritty. Here's a
@ -166,29 +163,9 @@ dependencies on [NixOS](https://nixos.org).
nix-shell -A alacritty '<nixpkgs>'
```
#### Gentoo
#### Windows
On Gentoo, there's a portage overlay available. Make sure `layman` is installed
and run:
```sh
sudo layman -a slyfox
```
Then, add `x11-terms/alacritty **` to `/etc/portage/package.accept_keywords` and
emerge alacritty:
```sh
sudo emerge alacritty
```
It might be handy to mask all other packages provided in the `slyfox` overlay by
adding `*/*::slyfox` to `/etc/portage/package.mask` and adding
`x11-terms/alacritty::slyfox` to `/etc/portage/package.unmask`.
Note that you still need to download system build dependencies via your package
manager as mentioned above. The binary `alacritty` will be placed into `$HOME/.cargo/bin`.
Make sure it is in your path (default if you use `rustup`).
On windows you will need to have the `{architecture}-pc-windows-msvc` toolchain installed as well as [Clang 3.9 or greater](http://releases.llvm.org/download.html).
#### Other

View File

@ -68,6 +68,26 @@ zypper in alacritty
xbps-install alacritty
```
### Gentoo
On Gentoo, there's a portage overlay available. Make sure `layman` is installed
and run:
```sh
sudo layman -a slyfox
```
Then, add `x11-terms/alacritty **` to `/etc/portage/package.accept_keywords` and
emerge alacritty:
```sh
sudo emerge alacritty
```
Note that you still need to download system build dependencies via your package
manager as mentioned above. The binary `alacritty` will be placed into `$HOME/.cargo/bin`.
Make sure it is in your path (default if you use `rustup`).
### Windows
Prebuilt binaries can be downloaded from the artifacts section of [appveyor](https://ci.appveyor.com/project/jwilm/alacritty).