Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | Fix an issue building Nautilus with libportal-0.5+ |
| 2 | where expected header is moved to different directory |
| 3 | in staging sysroot |
| 4 | |
| 5 | Upstream-Status: Pending |
| 6 | Signed-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 */ |