xdg-desktop-portal-hyprland-1.3.11

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 8. Graphical Libraries

- Prev

  libvpl-2.16.0

- Next

  xdg-desktop-portal-wlr-0.8.1

- Up
- Home

# xdg-desktop-portal-hyprland-1.3.11

## Introduction to xdg-desktop-portal-hyprland

The xdg-desktop-portal-hyprland package provides a portal backend for Hyprland.

- Download: https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/v1.3.11/xdg-desktop-portal-hyprland-1.3.11.tar.gz

### xdg-desktop-portal-hyprland Dependencies

#### Required

CMake, Hyprland Libraries, libdrm, OpenGL (libglvnd or Mesa; Mesa's GL is not supported), Pipewire, Qt-6, sdbus-cpp-2.2.1, Wayland, Wayland-Protocols, and xdg-desktop-portal

#### Required (Runtime)

Hyprland-0.53.3

#### Recommended

inih

#### Optional (Runtime)

grim-1.5.0 and slurp-1.5.0

## Installation of xdg-desktop-portal-hyprland

Install xdg-desktop-portal-hyprland by running the following commands:

    rm -rf subprojects           &&
    mkdir build                  &&
    cd    build                  &&

    cmake -D CMAKE_INSTALL_PREFIX=/usr \
          -D CMAKE_BUILD_TYPE=Release  \
          -D SYSTEMD_SERVICES=ON       \
          -G Ninja ..            &&

    ninja

Now, as the `root` user:

    ninja install

## Command Explanations

rm -rf subprojects: This command removes vendored source code.

## Contents

Installed Programs: hyprland-share-picker and xdg-desktop-portal-hyprland
Installed Libraries: None
Installed Directories: None

### Short Descriptions

hyprland-share-picker | allows you to pick what screen and region to share
xdg-desktop-portal-hyprland | allows you to access portals in a Hyprland session

- Prev

  libvpl-2.16.0

- Next

  xdg-desktop-portal-wlr-0.8.1

- Up
- Home