Files
meta-wayland/dynamic-layers/meta-qt6/recipes-qt/hyprland/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland_1.3.10.bb
Markus Volk 9eaf5d72eb xdg-desktop-portal-hyprland: cleanup
Use cmake for all tasks and merge the recipes
2025-08-29 12:36:51 +02:00

34 lines
1.0 KiB
BlitzBasic

SUMMARY = "This provides screenshot/screencast xdg-desktop-portal backends for hyprland."
HOMEPAGE = "https://github.com/hyprwm/xdg-desktop-portal-hyprland"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e0f1d50df739a9fb8eae12a8f37ce352"
SRC_URI = "gitsm://github.com/hyprwm/xdg-desktop-portal-hyprland.git;protocol=https;nobranch=1"
SRCREV = "371b96bd11ad2006ed4f21229dbd1be69bed3e8a"
DEPENDS = " \
hyprlang \
hyprutils \
hyprwayland-scanner-native \
hyprwayland-scanner \
libdrm \
pipewire \
qtbase \
sdbus-c++ \
virtual/libgbm \
wayland \
wayland-protocols \
"
RDEPENDS:${PN} = "grim slurp hyprlang"
RCONFLICTS:${PN} = "xdg-desktop-portal-wlr xdg-desktop-portal-gnome"
inherit qt6-cmake pkgconfig features_check
REQUIRED_DISTRO_FEATURES = "opengl wayland"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
PACKAGECONFIG[systemd] = "-DSYSTEMD_SERVICES=ON,-DSYSTEMD_SERVICES=OFF"
FILES:${PN} += "${systemd_user_unitdir} ${datadir}"