mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 22:35:25 +01:00
nautilus: Fix build with libportal >= 0.5
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex@linutronix.de> Cc: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
parent
db72adf016
commit
461c04657c
|
|
@ -0,0 +1,28 @@
|
|||
Fix an issue building Nautilus with libportal-0.5+
|
||||
where expected header is moved to different directory
|
||||
in staging sysroot
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -123,7 +123,7 @@ gtk = dependency('gtk+-3.0', version: '>
|
||||
libhandy = dependency('libhandy-1', version: '>= 1.1.90')
|
||||
libportal = []
|
||||
if get_option('libportal')
|
||||
- libportal = dependency('libportal', version: '>= 0.3')
|
||||
+ libportal = dependency('libportal-gtk3', version: '>= 0.3')
|
||||
endif
|
||||
selinux = []
|
||||
if get_option('selinux')
|
||||
--- a/src/nautilus-files-view.c
|
||||
+++ b/src/nautilus-files-view.c
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
#ifdef HAVE_LIBPORTAL
|
||||
#include <libportal/portal.h>
|
||||
-#include <libportal/portal-gtk3.h>
|
||||
+#include <libportal-gtk3/portal-gtk3.h>
|
||||
#endif
|
||||
|
||||
/* Minimum starting update inverval */
|
||||
|
|
@ -22,6 +22,7 @@ inherit gnomebase gsettings gobject-introspection gtk-doc gettext features_check
|
|||
def gnome_verdir(v):
|
||||
return oe.utils.trim_version(v, 1)
|
||||
|
||||
SRC_URI += "file://liportal-0.5-fix.patch"
|
||||
SRC_URI[archive.sha256sum] = "3e633098853711a3e96b12fe9228b3201816e554b2823f161e7d901a8880582f"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user