diff options
Diffstat (limited to 'docs/guide/getting-started/installation.md')
-rw-r--r-- | docs/guide/getting-started/installation.md | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/docs/guide/getting-started/installation.md b/docs/guide/getting-started/installation.md index ef5c6e8..844de25 100644 --- a/docs/guide/getting-started/installation.md +++ b/docs/guide/getting-started/installation.md @@ -13,7 +13,7 @@ maintainer: [@kotontrion](https://github.com/kotontrion) :::code-group ```sh [Core Library] -yay -S libastal-git +yay -S libastal-io-git libastal-git ``` ```sh [Every Library] @@ -24,14 +24,7 @@ yay -S libastal-meta ## Bulding libastal from source -1. Clone the repo - -```sh -git clone https://github.com/aylur/astal.git -cd astal/core -``` - -2. Install the following dependencies +1. Install the following dependencies :::code-group @@ -44,26 +37,31 @@ sudo dnf install meson gcc valac gtk3-devel gtk-layer-shell-devel gobject-intros ``` ```sh [<i class="devicon-ubuntu-plain"></i> Ubuntu] -sudo apt install meson valac libgtk3-dev libgtk-layer-shell-dev gobject-introspection +sudo apt install meson valac libgtk-3-dev libgtk-layer-shell-dev gobject-introspection libgirepository1.0-dev ``` ::: +2. Clone the repo + +```sh +git clone https://github.com/aylur/astal.git /tmp/astal +``` + 3. Build and install with `meson` +- astal-io + ```sh -meson setup build +cd /tmp/astal/lib/astal/io +meson setup --prefix /usr build meson install -C build ``` -:::tip -Most distros recommend manual installs in `/usr/local`, -which is what `meson` defaults to. If you want to install to `/usr` -instead which most package managers do, set the `prefix` option: +- astal3 ```sh +cd /tmp/astal/lib/astal/gtk3 meson setup --prefix /usr build meson install -C build ``` - -::: |