nautilus: Add a packageconfig for libportal - disabled by default

* Accessing flatpack portals is an option and not mandatory
* Build tested on & off

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andreas Müller 2022-03-31 08:49:30 +02:00 committed by Khem Raj
parent fe149bbb36
commit 5b09a5ad78

View File

@ -14,7 +14,6 @@ DEPENDS = " \
gnome-autoar \
tracker \
libhandy \
libportal \
"
inherit gnomebase gsettings gobject-introspection gtk-doc gettext features_check mime-xdg
@ -32,6 +31,7 @@ EXTRA_OEMESON += " \
PACKAGECONFIG = "extensions"
PACKAGECONFIG[extensions] = "-Dextensions=true,-Dextensions=false, gexiv2 gstreamer1.0-plugins-base"
PACKAGECONFIG[libportal] = "-Dlibportal=true,-Dlibportal=false, libportal"
FILES:${PN} += " \
${datadir}/dbus-1 \