Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "This provides screenshot/screencast xdg-desktop-portal backends for wlroots." |
| 2 | HOMEPAGE = "https://github.com/emersion/xdg-desktop-portal-wlr" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1" |
| 5 | |
| 6 | DEPENDS = " \ |
| 7 | wayland \ |
| 8 | wayland-native \ |
| 9 | wayland-protocols \ |
| 10 | libdrm \ |
| 11 | libinih \ |
| 12 | pipewire \ |
| 13 | virtual/libgbm \ |
| 14 | " |
| 15 | |
| 16 | inherit meson pkgconfig features_check |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 17 | REQUIRED_DISTRO_FEATURES = "opengl wayland" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 18 | |
| 19 | SRC_URI = "git://github.com/emersion/xdg-desktop-portal-wlr.git;protocol=https;nobranch=1" |
| 20 | |
| 21 | S = "${WORKDIR}/git" |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame^] | 22 | SRCREV = "6737c209578e7f17536dbcb8fb2169dcf86ce528" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 23 | |
| 24 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'basu', d)}" |
| 25 | |
| 26 | PACKAGECONFIG[man-pages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native" |
| 27 | PACKAGECONFIG[systemd] = "-Dsystemd=enabled -Dsd-bus-provider=libsystemd,-Dsystemd=disabled" |
| 28 | PACKAGECONFIG[basu] = "-Dsd-bus-provider=basu,,basu" |
| 29 | |
| 30 | FILES:${PN} += "${systemd_user_unitdir} ${datadir}" |