summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2023-11-06 09:47:29 +0100
committerKhem Raj <raj.khem@gmail.com>2023-11-06 08:56:02 -0800
commit234764ef9788bc424d57124ac9fbf764e96ad9dc (patch)
tree6b03fed48dfe0eb6fe82c307c9b1a1391f212480
parenta80b560f08216ee3182bc55046a45f614faa3ba1 (diff)
downloadmeta-openembedded-234764ef9788bc424d57124ac9fbf764e96ad9dc.tar.gz
xdg-desktop-portal-gtk: Upgrade 1.14.1 -> 1.15.1
Changes in 1.15.1, 2023-10-21 ============================= - Fix build of feature-gated portals Changes in 1.15.0, 2023-10-20 ============================= - Switch to the Meson build system, and drop Autotools - Drop most use of private GNOME API; the following portal interfaces have been removed: - org.freedesktop.impl.portal.Screenshot - org.freedesktop.impl.portal.ScreenCast - org.freedesktop.impl.portal.RemoteDesktop - org.freedesktop.impl.portsl.Background - Do not add duplicate notifications - Expose the org.gnome.desktop.calendar settings - Fix type for org.gnome.desktop.background.picture-uri setting - Support current_folder in org.freedesktop.impl.portal.FileChooser - Update list of translatable files - Translation updates 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-gtk_1.14.1.bb42
-rw-r--r--meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gtk_1.15.1.bb30
2 files changed, 30 insertions, 42 deletions
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
deleted file mode 100644
index b291991d37..0000000000
--- a/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gtk_1.14.1.bb
+++ /dev/null
@@ -1,42 +0,0 @@
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;branch=main"
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}"
diff --git a/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gtk_1.15.1.bb b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gtk_1.15.1.bb
new file mode 100644
index 0000000000..0d2b0012c5
--- /dev/null
+++ b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gtk_1.15.1.bb
@@ -0,0 +1,30 @@
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 dconf \
12"
13
14inherit gettext meson pkgconfig gsettings features_check
15
16REQUIRED_DISTRO_FEATURES = "polkit"
17
18SRC_URI = "git://github.com/flatpak/xdg-desktop-portal-gtk.git;protocol=https;branch=main"
19
20S = "${WORKDIR}/git"
21SRCREV = "54003825481c2b48fd0c42355b484469dea12020"
22
23PACKAGECONFIG ?= "wallpaper appchooser lockdown settings"
24
25PACKAGECONFIG[wallpaper] = "-Dwallpaper=enabled,-Dwallpaper=disabled,gnome-desktop"
26PACKAGECONFIG[settings] = "-Dsettings=enabled,-Dsettings=disabled,gsettings-desktop-schemas fontconfig"
27PACKAGECONFIG[appchooser] = "-Dappchooser=enabled,-Dappchooser=disabled"
28PACKAGECONFIG[lockdown] = "-Dlockdown=enabled,-Dlockdown=disabled"
29
30FILES:${PN} += "${systemd_user_unitdir} ${datadir}"