blob: 708595a7f1956500561a18f64522c5cba6d7eb17 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001Fix an issue building Nautilus with libportal-0.5+
2where expected header is moved to different directory
3in staging sysroot
4
5Upstream-Status: Pending
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7--- a/meson.build
8+++ b/meson.build
9@@ -123,7 +123,7 @@ gtk = dependency('gtk+-3.0', version: '>
10 libhandy = dependency('libhandy-1', version: '>= 1.1.90')
11 libportal = []
12 if get_option('libportal')
13- libportal = dependency('libportal', version: '>= 0.3')
14+ libportal = dependency('libportal-gtk3', version: '>= 0.3')
15 endif
16 selinux = []
17 if get_option('selinux')
18--- a/src/nautilus-files-view.c
19+++ b/src/nautilus-files-view.c
20@@ -92,7 +92,7 @@
21
22 #ifdef HAVE_LIBPORTAL
23 #include <libportal/portal.h>
24-#include <libportal/portal-gtk3.h>
25+#include <libportal-gtk3/portal-gtk3.h>
26 #endif
27
28 /* Minimum starting update inverval */