[eog/use-appchooser-and-portals: 2/3] build: Add libportal
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/use-appchooser-and-portals: 2/3] build: Add libportal
- Date: Mon, 22 Jun 2020 12:58:00 +0000 (UTC)
commit 2119e59237027f86a5a2d025ed888a469bdaa586
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Jun 22 14:31:50 2020 +0200
build: Add libportal
https://github.com/flatpak/libportal
meson.build | 1 +
org.gnome.Eog.json | 15 +++++++++++++++
src/meson.build | 1 +
3 files changed, 17 insertions(+)
---
diff --git a/meson.build b/meson.build
index 44c9694e..19da5247 100644
--- a/meson.build
+++ b/meson.build
@@ -109,6 +109,7 @@ gio_dep = dependency('gio-2.0', version: glib_req_version)
gio_unix_dep = dependency('gio-unix-2.0', version: glib_req_version)
gnome_desktop_dep = dependency('gnome-desktop-3.0', version: '>= 2.91.2')
libpeas_gtk_dep = dependency('libpeas-gtk-1.0', version: peas_req_version)
+libportal_dep = dependency('libportal', version: '>= 0.3')
m_dep = cc.find_library('m')
diff --git a/org.gnome.Eog.json b/org.gnome.Eog.json
index 054ec8cc..b99c26fd 100644
--- a/org.gnome.Eog.json
+++ b/org.gnome.Eog.json
@@ -53,6 +53,21 @@
}
]
},
+ {
+ "name" : "libportal",
+ "config-opts" : [
+ "--libdir=/app/lib",
+ "--buildtype=debugoptimized"
+ ],
+ "buildsystem" : "meson",
+ "builddir" : true,
+ "sources" : [
+ {
+ "type" : "git",
+ "url" : "https://github.com/flatpak/libportal.git"
+ }
+ ]
+ },
{
"name" : "libpeas",
"buildsystem" : "meson",
diff --git a/src/meson.build b/src/meson.build
index 7416a208..4c0f35c5 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -128,6 +128,7 @@ deps = common_deps + [
gio_unix_dep,
gnome_desktop_dep,
libpeas_gtk_dep,
+ libportal_dep,
m_dep,
zlib_dep,
]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]