Skip to content

AstalWl ​

This library provides a framework for other libs implementing wayland protocols. The core (AstalWl itself) is not intended to be used directly, however there also exists a helper library to map GTK4 objects to AstalWl named AstalWl4.

Usage ​

You can browse the AstalWl reference.

For GTK 4 support, you can browse the AstalWl4 reference.

Installation ​

  1. install dependencies

    sh
    sudo pacman -Syu meson vala valadoc wayland-client
    sh
    sudo dnf install meson vala valadoc wayland-devel wayland-protocols-devel gobject-introspection-devel
    sh
    sudo apt install meson valac valadoc libwayland-dev wayland-protocols gobject-introspection

    For AstalWl4, you will also need GTK 4.

    sh
    sudo pacman -Syu gtk4
    sh
    sudo dnf install gtk4-devel
    sh
    sudo apt install libgtk-4-dev
  2. clone repo

    sh
    git clone https://github.com/aylur/astal.git
    cd astal/lib/wl/wl
  3. install

    sh
    meson setup build
    meson install -C build

    For AstalWl4, make sure the base AstalWl is installed first and then do the install step in the directory lib/wl/wl4.

Released under the LGPL v2.1 License