mirror of
https://github.com/zoriya/astal.git
synced 2025-12-06 06:06:10 +00:00
1.3 KiB
1.3 KiB
Installation
Nix
maintainer: @Aylur
Read more about it on the nix page
Arch
maintainer: @kotontrion
:::code-group
yay -S libastal-git
yay -S libastal-meta
:::
Bulding libastal from source
- Clone the repo
git clone https://github.com/aylur/astal.git
cd astal/core
- Install the following dependencies
:::code-group
sudo dnf install meson gcc valac gtk3-devel gtk-layer-shell-devel
sudo pacman -Syu meson vala gtk3 gtk-layer-shell gobject-introspection
sudo apk add meson g++ vala gtk+3.0-dev gtk-layer-shell-dev gobject-introspection-dev
sudo apt install meson valac libgtk3-dev libgtk-layer-shell-dev gobject-introspection
sudo zypper install gcc meson vala gtk3-devel gtk-layer-shell-devel gobject-introspection-devel
:::
- Build and install with
meson
meson setup build
meson install -C build
:::info
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:
meson setup --prefix /usr build
meson install -C build
:::