[gnome-build-meta/abderrahim/portal-gnome: 2/3] core-deps: add xdg-desktop-portal-gnome




commit 083c07aaaca1dd5616deb18d5dfb972b6cffc9f2
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Mon Jun 21 19:36:07 2021 +0100

    core-deps: add xdg-desktop-portal-gnome
    
    See #382

 elements/core-deps/flatpak.bst                  |  1 +
 elements/core-deps/xdg-desktop-portal-gnome.bst | 18 ++++++++++++++++++
 elements/core-deps/xdg-desktop-portal-gtk.bst   | 10 ++++++++++
 3 files changed, 29 insertions(+)
---
diff --git a/elements/core-deps/flatpak.bst b/elements/core-deps/flatpak.bst
index dd162694..d24d84d1 100644
--- a/elements/core-deps/flatpak.bst
+++ b/elements/core-deps/flatpak.bst
@@ -31,6 +31,7 @@ depends:
 - freedesktop-sdk.bst:bootstrap-import.bst
 
 runtime-depends:
+- core-deps/xdg-desktop-portal-gnome.bst
 - core-deps/xdg-desktop-portal-gtk.bst
 
 variables:
diff --git a/elements/core-deps/xdg-desktop-portal-gnome.bst b/elements/core-deps/xdg-desktop-portal-gnome.bst
new file mode 100644
index 00000000..4c32505d
--- /dev/null
+++ b/elements/core-deps/xdg-desktop-portal-gnome.bst
@@ -0,0 +1,18 @@
+kind: meson
+
+sources:
+- kind: git
+  url: gitlab_gnome_org:GNOME/xdg-desktop-portal-gnome.git
+  track: main
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
+
+depends:
+- sdk/glib.bst
+- sdk/gtk.bst
+- sdk/libadwaita.bst
+- sdk/gsettings-desktop-schemas.bst
+- core-deps/xdg-desktop-portal.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
+- freedesktop-sdk.bst:components/fontconfig.bst
diff --git a/elements/core-deps/xdg-desktop-portal-gtk.bst b/elements/core-deps/xdg-desktop-portal-gtk.bst
index 9dd26f26..c114255c 100644
--- a/elements/core-deps/xdg-desktop-portal-gtk.bst
+++ b/elements/core-deps/xdg-desktop-portal-gtk.bst
@@ -11,3 +11,13 @@ depends:
 - sdk/gtk+-3.bst
 - core/gnome-desktop.bst
 - core-deps/xdg-desktop-portal.bst
+
+variables:
+  # The following portals are now provided by xdg-desktop-portal-gnome
+  conf-local: >-
+    --disable-appchooser
+    --disable-background
+    --disable-wallpaper
+    --disable-screenshot
+    --disable-screencast
+    --disable-settings


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]