summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2023-01-03 18:13:27 +0100
committerKhem Raj <raj.khem@gmail.com>2023-01-04 17:13:22 -0800
commit08ca3224868978bc86ebe4fd962be10f5849bd3c (patch)
treea5051ec3fd7a6031dac281d2a7aaf90462535525
parentbcdb6d18e7a7e3d64ff56236b79d9620fbd57c5d (diff)
downloadmeta-openembedded-08ca3224868978bc86ebe4fd962be10f5849bd3c.tar.gz
xdg-desktop-portal-gtk: add recipe
- add it as denpendency for xdg-desktop-portal-gnome Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb3
-rw-r--r--meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gtk_1.14.1.bb42
2 files changed, 45 insertions, 0 deletions
diff --git a/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb
index a1532c24c0..050ce1a04c 100644
--- a/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb
+++ b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_43.1.bb
@@ -7,6 +7,7 @@ DEPENDS = " \
7 glib-2.0-native \ 7 glib-2.0-native \
8 gtk4\ 8 gtk4\
9 xdg-desktop-portal \ 9 xdg-desktop-portal \
10 xdg-desktop-portal-gtk \
10 libadwaita \ 11 libadwaita \
11 fontconfig \ 12 fontconfig \
12 gsettings-desktop-schemas \ 13 gsettings-desktop-schemas \
@@ -14,6 +15,8 @@ DEPENDS = " \
14 dconf \ 15 dconf \
15" 16"
16 17
18RDEPENDS:${PN} = "xdg-desktop-portal xdg-desktop-portal-gtk"
19
17inherit meson pkgconfig gsettings features_check 20inherit meson pkgconfig gsettings features_check
18 21
19REQUIRED_DISTRO_FEATURES = "polkit" 22REQUIRED_DISTRO_FEATURES = "polkit"
diff --git a/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gtk_1.14.1.bb b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gtk_1.14.1.bb
new file mode 100644
index 0000000000..1e0a906184
--- /dev/null
+++ b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gtk_1.14.1.bb
@@ -0,0 +1,42 @@
1SUMMARY = "A backend implementation for xdg-desktop-portal that is using GTK and various pieces of GNOME infrastructure."
2HOMEPAGE = "https://github.com/flatpak/xdg-desktop-portal-gtk"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
5
6DEPENDS = " \
7 glib-2.0-native \
8 gtk+3\
9 xdg-desktop-portal \
10 libadwaita \
11 fontconfig \
12 gsettings-desktop-schemas \
13 gnome-desktop \
14 dconf \
15"
16
17inherit gettext autotools pkgconfig gsettings features_check
18
19REQUIRED_DISTRO_FEATURES = "polkit"
20
21SRC_URI = "git://github.com/flatpak/xdg-desktop-portal-gtk.git;protocol=https;nobranch=1"
22
23S = "${WORKDIR}/git"
24SRCREV = "952005f6a7850a247d286f14838202f506b402b7"
25
26# gdbus-codegen wants to create files in ${B}/src and fails because of missing directory
27do_configure:append() {
28 mkdir -p ${B}/src
29}
30
31# Note: wlroots has its own implementation for screenshot and screencast, but
32# you may want to include the according PACKAGECONFIGS for gnome.
33PACKAGECONFIG ?= "wallpaper appchooser lockdown"
34
35PACKAGECONFIG[screenshot] = "--enable-screenshot,--disable-screenshot,gnome-shell"
36PACKAGECONFIG[screencast] = "--enable-screencast,--disable-screencast,mutter"
37PACKAGECONFIG[wallpaper] = "--enable-wallpaper,--disable-wallpaper,gnome-desktop"
38PACKAGECONFIG[background] = "--enable-background,--disable-background,gnome-shell"
39PACKAGECONFIG[appchooser] = "--enable-appchooser,--disable-appchooser"
40PACKAGECONFIG[lockdown] = "--enable-lockdown,--disable-lockdown"
41
42FILES:${PN} += "${systemd_user_unitdir} ${datadir}"