mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-01 01:30:23 +00:00
xdg-desktop-portal: add recipe
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
|||||||
|
From 7727dbfef4dd7ced3958ae9ada59a8899976b12d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Markus Volk <f_l_k@t-online.de>
|
||||||
|
Date: Mon, 12 Dec 2022 18:40:31 +0100
|
||||||
|
Subject: [PATCH] xdg-desktop-portal.pc.in: add pc_sysrootdir dir
|
||||||
|
|
||||||
|
---
|
||||||
|
xdg-desktop-portal.pc.in | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/xdg-desktop-portal.pc.in b/xdg-desktop-portal.pc.in
|
||||||
|
index 585c0c8..15b5817 100644
|
||||||
|
--- a/xdg-desktop-portal.pc.in
|
||||||
|
+++ b/xdg-desktop-portal.pc.in
|
||||||
|
@@ -2,7 +2,7 @@ prefix=@prefix@
|
||||||
|
datarootdir=@datarootdir@
|
||||||
|
datadir=@datadir@
|
||||||
|
|
||||||
|
-interfaces_dir=${datadir}/dbus-1/interfaces/
|
||||||
|
+interfaces_dir=${pc_sysrootdir}${datadir}/dbus-1/interfaces
|
||||||
|
|
||||||
|
Name: xdg-desktop-portal
|
||||||
|
Description: Desktop integration portal
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
SUMMARY = "A portal frontend service for Flatpak and possibly other desktop containment frameworks."
|
||||||
|
HOMEPAGE = "https://github.com/flatpak/xdg-desktop-portal"
|
||||||
|
LICENSE = "LGPL-2.1-only"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
||||||
|
|
||||||
|
REQUIRED_DISTRO_FEATURES = "polkit"
|
||||||
|
|
||||||
|
DEPENDS = " \
|
||||||
|
json-glib \
|
||||||
|
glib-2.0 \
|
||||||
|
libportal \
|
||||||
|
geoclue \
|
||||||
|
pipewire \
|
||||||
|
dbus-native \
|
||||||
|
fuse3 \
|
||||||
|
bubblewrap-native \
|
||||||
|
xmlto-native \
|
||||||
|
flatpak \
|
||||||
|
python3-dbus-native \
|
||||||
|
"
|
||||||
|
|
||||||
|
PORTAL_BACKENDS ?= " \
|
||||||
|
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'xdg-desktop-portal-wlr', '', d)} \
|
||||||
|
${@bb.utils.contains('DISTRO_FEATURES', 'gtk', 'xdg-desktop-portal-gnome', '', d)} \
|
||||||
|
${@bb.utils.contains('DISTRO_FEATURES', 'gtk+3', 'xdg-desktop-portal-gnome', '', d)} \
|
||||||
|
${@bb.utils.contains('DISTRO_FEATURES', 'gtk4', 'xdg-desktop-portal-gnome', '', d)} \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS:${PN} = "bubblewrap ${PORTAL_BACKENDS}"
|
||||||
|
|
||||||
|
inherit meson pkgconfig python3native features_check
|
||||||
|
|
||||||
|
SRC_URI = " \
|
||||||
|
git://github.com/flatpak/xdg-desktop-portal.git;protocol=https;branch=main \
|
||||||
|
file://0001-xdg-desktop-portal-pc-in-add-pc_sysrootdir-dir.patch \
|
||||||
|
"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
SRCREV = "88af6c8ca4106fcf70925355350a669848e9fd5a"
|
||||||
|
|
||||||
|
FILES:${PN} += "${libdir}/systemd ${datadir}/dbus-1"
|
||||||
Reference in New Issue
Block a user