mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-27 05:58:22 +01:00
xdg-desktop-portal-hyprland: add recipe
A screencast/screenshot portal implementation for hyprland. Hyprland can work with xdg-desktop-portal-wlr, but you can only share the whole screen while this implementation also allows sharing regions or windows. This comes at the downside of pulling qt6-base and qt6-wayland into the image.
This commit is contained in:
parent
921bf43e39
commit
16ce8b534b
@ -0,0 +1,16 @@
|
|||||||
|
SUMMARY = "Share picker for hyprlands screenshot/screencast xdg-desktop-portal backend"
|
||||||
|
HOMEPAGE = "https://github.com/hyprwm/xdg-desktop-portal-hyprland"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://../LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
|
||||||
|
|
||||||
|
# Note: meta-qt6 is needed
|
||||||
|
DEPENDS = "qtbase qtwayland"
|
||||||
|
|
||||||
|
inherit qt6-cmake pkgconfig features_check
|
||||||
|
|
||||||
|
REQUIRED_DISTRO_FEATURES = "opengl wayland"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/hyprwm/xdg-desktop-portal-hyprland.git;protocol=https;nobranch=1"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git/hyprland-share-picker"
|
||||||
|
SRCREV = "13db7db849e1e86289b3b0e296d47d08e4a80d56"
|
@ -0,0 +1,33 @@
|
|||||||
|
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=e316e9609dd7672b87ff25b46b2cf3e1"
|
||||||
|
|
||||||
|
# Note: meta-qt6 is needed
|
||||||
|
DEPENDS = " \
|
||||||
|
wayland \
|
||||||
|
wayland-native \
|
||||||
|
wayland-protocols \
|
||||||
|
libdrm \
|
||||||
|
libinih \
|
||||||
|
pipewire \
|
||||||
|
virtual/libgbm \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS:${PN} = "hyprland-share-picker"
|
||||||
|
RCONFLICTS:${PN} = "xdg-desktop-portal-wlr"
|
||||||
|
|
||||||
|
inherit meson pkgconfig features_check
|
||||||
|
REQUIRED_DISTRO_FEATURES = "opengl wayland"
|
||||||
|
|
||||||
|
SRC_URI = "gitsm://github.com/hyprwm/xdg-desktop-portal-hyprland.git;protocol=https;nobranch=1"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
SRCREV = "13db7db849e1e86289b3b0e296d47d08e4a80d56"
|
||||||
|
|
||||||
|
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'basu', d)}"
|
||||||
|
|
||||||
|
PACKAGECONFIG[systemd] = "-Dsystemd=enabled -Dsd-bus-provider=libsystemd,-Dsystemd=disabled"
|
||||||
|
PACKAGECONFIG[basu] = "-Dsd-bus-provider=basu,,basu"
|
||||||
|
|
||||||
|
FILES:${PN} += "${systemd_user_unitdir} ${datadir}"
|
Loading…
Reference in New Issue
Block a user