[gnome-build-meta/abderrahim/libportal] add core-deps/libportal.bst




commit 358b3ddc563a90a9fefb97644d9efc871cfaa328
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Sat Dec 25 16:12:36 2021 +0100

    add core-deps/libportal.bst
    
    We can no longer use the version from freedesktop-sdk as it now depends on gtk4

 elements/core-deps/libportal.bst | 20 ++++++++++++++++++++
 elements/core/eog.bst            |  5 ++++-
 elements/core/epiphany.bst       |  3 ++-
 elements/core/gnome-builder.bst  |  2 +-
 elements/core/nautilus.bst       |  6 +++++-
 elements/world/gnome-todo.bst    |  3 ++-
 6 files changed, 34 insertions(+), 5 deletions(-)
---
diff --git a/elements/core-deps/libportal.bst b/elements/core-deps/libportal.bst
new file mode 100644
index 000000000..a9c645b62
--- /dev/null
+++ b/elements/core-deps/libportal.bst
@@ -0,0 +1,20 @@
+kind: meson
+
+sources:
+- kind: tar
+  url: github_files:flatpak/libportal/releases/download/0.5/libportal-0.5.tar.xz
+
+build-depends:
+- sdk-deps/gi-docgen.bst
+- sdk/gobject-introspection.bst
+- sdk/vala.bst
+- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
+
+depends:
+- sdk/gtk+-3.bst
+- sdk/gtk.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+variables:
+  meson-local: >-
+    -Dbackends=gtk3,gtk4
diff --git a/elements/core/eog.bst b/elements/core/eog.bst
index 1a1771432..cf42f57fe 100644
--- a/elements/core/eog.bst
+++ b/elements/core/eog.bst
@@ -1,14 +1,18 @@
 kind: meson
+
 sources:
 - kind: git_tag
   url: gnome:eog.git
   track: master
+
 build-depends:
 - freedesktop-sdk.bst:components/itstool.bst
 - freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
+
 depends:
 - core-deps/exempi.bst
 - core-deps/libpeas.bst
+- core-deps/libportal.bst
 - core/gnome-desktop.bst
 - sdk/adwaita-icon-theme.bst
 - sdk/gdk-pixbuf.bst
@@ -19,5 +23,4 @@ depends:
 - sdk/librsvg.bst
 - freedesktop-sdk.bst:components/lcms.bst
 - freedesktop-sdk.bst:components/libexif.bst
-- freedesktop-sdk.bst:components/libportal.bst
 - freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/core/epiphany.bst b/elements/core/epiphany.bst
index 150c2e516..2435315e0 100644
--- a/elements/core/epiphany.bst
+++ b/elements/core/epiphany.bst
@@ -12,6 +12,7 @@ build-depends:
 
 depends:
 - core-deps/libdazzle.bst
+- core-deps/libportal.bst
 - sdk/adwaita-icon-theme.bst
 - sdk/gcr.bst
 - sdk/gdk-pixbuf.bst
@@ -25,8 +26,8 @@ depends:
 - sdk/libsoup-2.4.bst
 - sdk/webkit2gtk-4.0.bst
 - freedesktop-sdk.bst:components/iso-codes.bst
-- freedesktop-sdk.bst:components/libportal.bst
 - freedesktop-sdk.bst:bootstrap-import.bst
+
 variables:
   meson-local: >-
     -Dsoup2=enabled
diff --git a/elements/core/gnome-builder.bst b/elements/core/gnome-builder.bst
index 1cb35e3c6..c27aceed3 100644
--- a/elements/core/gnome-builder.bst
+++ b/elements/core/gnome-builder.bst
@@ -23,6 +23,7 @@ depends:
 - core-deps/libdazzle.bst
 - core-deps/libgit2-glib.bst
 - core-deps/libpeas.bst
+- core-deps/libportal.bst
 - core-deps/template-glib.bst
 - core-deps/vte.bst
 - core/devhelp.bst
@@ -32,7 +33,6 @@ depends:
 - sdk/gtk+-3.bst
 - sdk/gtksourceview-4.bst
 - sdk/librsvg.bst
-- freedesktop-sdk.bst:components/libportal.bst
 - freedesktop-sdk.bst:components/llvm.bst
 - freedesktop-sdk.bst:bootstrap-import.bst
 
diff --git a/elements/core/nautilus.bst b/elements/core/nautilus.bst
index 4913dd020..102611246 100644
--- a/elements/core/nautilus.bst
+++ b/elements/core/nautilus.bst
@@ -1,4 +1,5 @@
 kind: meson
+
 sources:
 - kind: git_tag
   url: gnome:nautilus.git
@@ -7,11 +8,14 @@ sources:
     subprojects/libgd:
       checkout: true
       url: gnome:libgd.git
+
 build-depends:
 - freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
+
 depends:
 - core-deps/gexiv2.bst
 - core-deps/gnome-autoar.bst
+- core-deps/libportal.bst
 - core-deps/tracker-miners.bst
 - core/gnome-desktop.bst
 - sdk/adwaita-icon-theme.bst
@@ -22,7 +26,7 @@ depends:
 - sdk/pango.bst
 - sdk/tracker.bst
 - freedesktop-sdk.bst:bootstrap-import.bst
-- freedesktop-sdk.bst:components/libportal.bst
+
 variables:
   meson-local: >-
     -Dselinux=false
diff --git a/elements/world/gnome-todo.bst b/elements/world/gnome-todo.bst
index 1a45a8b5d..7f8b1d578 100644
--- a/elements/world/gnome-todo.bst
+++ b/elements/world/gnome-todo.bst
@@ -1,4 +1,5 @@
 kind: meson
+
 sources:
 - kind: git_tag
   url: gnome:gnome-todo.git
@@ -12,8 +13,8 @@ depends:
 - core-deps/evolution-data-server.bst
 - core-deps/gnome-online-accounts.bst
 - core-deps/libpeas.bst
+- core-deps/libportal.bst
 - sdk/glib.bst
 - sdk/gtk.bst
 - sdk/libadwaita.bst
-- freedesktop-sdk.bst:components/libportal.bst
 - freedesktop-sdk.bst:bootstrap-import.bst


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