2023-06-20 22:16:03 +02:00
|
|
|
SUMMARY = "This provides screenshot/screencast xdg-desktop-portal backends for hyprland."
|
|
|
|
HOMEPAGE = "https://github.com/hyprwm/xdg-desktop-portal-hyprland"
|
|
|
|
LICENSE = "MIT"
|
2023-09-09 11:55:19 +02:00
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=e0f1d50df739a9fb8eae12a8f37ce352"
|
|
|
|
|
2023-09-23 03:29:47 +02:00
|
|
|
SRC_URI:append = " file://0001-meson.build-Dont-build-hyprland-share-picker-with-me.patch"
|
|
|
|
|
2023-09-09 11:55:19 +02:00
|
|
|
require xdg-desktop-portal-hyprland.inc
|
2023-06-20 22:16:03 +02:00
|
|
|
|
|
|
|
# Note: meta-qt6 is needed
|
|
|
|
DEPENDS = " \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
wayland-protocols \
|
2024-01-04 06:27:38 +01:00
|
|
|
hyprlang \
|
2023-06-20 22:16:03 +02:00
|
|
|
libdrm \
|
|
|
|
pipewire \
|
2023-09-09 11:55:19 +02:00
|
|
|
sdbus-c++ \
|
2023-06-20 22:16:03 +02:00
|
|
|
virtual/libgbm \
|
|
|
|
"
|
|
|
|
|
2024-01-04 06:27:38 +01:00
|
|
|
RDEPENDS:${PN} = "hyprland-share-picker grim slurp hyprpicker hyprlang"
|
2023-06-20 22:16:03 +02:00
|
|
|
RCONFLICTS:${PN} = "xdg-desktop-portal-wlr xdg-desktop-portal-gnome"
|
|
|
|
|
|
|
|
inherit meson pkgconfig features_check
|
|
|
|
REQUIRED_DISTRO_FEATURES = "opengl wayland"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
2023-09-09 11:55:19 +02:00
|
|
|
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
|
|
|
|
PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd"
|
2023-06-20 22:16:03 +02:00
|
|
|
|
|
|
|
FILES:${PN} += "${systemd_user_unitdir} ${datadir}"
|