diff options
| author | Markus Volk <f_l_k@t-online.de> | 2023-01-03 18:13:27 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-01-04 17:13:22 -0800 |
| commit | 08ca3224868978bc86ebe4fd962be10f5849bd3c (patch) | |
| tree | a5051ec3fd7a6031dac281d2a7aaf90462535525 | |
| parent | bcdb6d18e7a7e3d64ff56236b79d9620fbd57c5d (diff) | |
| download | meta-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.bb | 3 | ||||
| -rw-r--r-- | meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gtk_1.14.1.bb | 42 |
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 | ||
| 18 | RDEPENDS:${PN} = "xdg-desktop-portal xdg-desktop-portal-gtk" | ||
| 19 | |||
| 17 | inherit meson pkgconfig gsettings features_check | 20 | inherit meson pkgconfig gsettings features_check |
| 18 | 21 | ||
| 19 | REQUIRED_DISTRO_FEATURES = "polkit" | 22 | REQUIRED_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 @@ | |||
| 1 | SUMMARY = "A backend implementation for xdg-desktop-portal that is using GTK and various pieces of GNOME infrastructure." | ||
| 2 | HOMEPAGE = "https://github.com/flatpak/xdg-desktop-portal-gtk" | ||
| 3 | LICENSE = "LGPL-2.1-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
| 5 | |||
| 6 | DEPENDS = " \ | ||
| 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 | |||
| 17 | inherit gettext autotools pkgconfig gsettings features_check | ||
| 18 | |||
| 19 | REQUIRED_DISTRO_FEATURES = "polkit" | ||
| 20 | |||
| 21 | SRC_URI = "git://github.com/flatpak/xdg-desktop-portal-gtk.git;protocol=https;nobranch=1" | ||
| 22 | |||
| 23 | S = "${WORKDIR}/git" | ||
| 24 | SRCREV = "952005f6a7850a247d286f14838202f506b402b7" | ||
| 25 | |||
| 26 | # gdbus-codegen wants to create files in ${B}/src and fails because of missing directory | ||
| 27 | do_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. | ||
| 33 | PACKAGECONFIG ?= "wallpaper appchooser lockdown" | ||
| 34 | |||
| 35 | PACKAGECONFIG[screenshot] = "--enable-screenshot,--disable-screenshot,gnome-shell" | ||
| 36 | PACKAGECONFIG[screencast] = "--enable-screencast,--disable-screencast,mutter" | ||
| 37 | PACKAGECONFIG[wallpaper] = "--enable-wallpaper,--disable-wallpaper,gnome-desktop" | ||
| 38 | PACKAGECONFIG[background] = "--enable-background,--disable-background,gnome-shell" | ||
| 39 | PACKAGECONFIG[appchooser] = "--enable-appchooser,--disable-appchooser" | ||
| 40 | PACKAGECONFIG[lockdown] = "--enable-lockdown,--disable-lockdown" | ||
| 41 | |||
| 42 | FILES:${PN} += "${systemd_user_unitdir} ${datadir}" | ||
