1SUMMARY = "File manager for GNOME"
2SECTION = "x11/gnome"
3
4LICENSE="GPL-3.0-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
6
7
8DEPENDS = " \
9    appstream-glib-native \
10    desktop-file-utils-native \
11    glib-2.0 \
12    gnome-autoar \
13    gnome-desktop \
14    gtk4 \
15    libadwaita \
16    libcloudproviders \
17    libhandy \
18    libportal \
19    libxml2 \
20    tracker \
21"
22
23inherit gnomebase gsettings gobject-introspection gi-docgen gettext features_check mime-xdg gtk-icon-cache
24
25SRC_URI[archive.sha256sum] = "6ee8c99019b9e3447f6918d68232a20deca89e5525c05805432b7d8840ca71fa"
26
27REQUIRED_DISTRO_FEATURES = "x11 opengl gobject-introspection-data"
28
29GIDOCGEN_MESON_OPTION = "docs"
30GIDOCGEN_MESON_ENABLE_FLAG = 'true'
31GIDOCGEN_MESON_DISABLE_FLAG = 'false'
32
33EXTRA_OEMESON += " \
34    -Dtests=none \
35"
36
37PACKAGECONFIG = "extensions"
38PACKAGECONFIG[extensions] = "-Dextensions=true,-Dextensions=false, gexiv2 gstreamer1.0-plugins-base gdk-pixbuf"
39PACKAGECONFIG[packagekit] = "-Dpackagekit=true,-Dpackagekit=false,packagekit"
40
41do_install:prepend() {
42    sed -i -e 's|${B}/||g' ${B}/src/nautilus-enum-types.c
43}
44
45FILES:${PN} += " \
46    ${datadir}/dbus-1 \
47    ${datadir}/metainfo \
48    ${datadir}/gnome-shell \
49    ${datadir}/tracker3 \
50"
51
52# mandatory - not checked during configuration:
53# | (org.gnome.Nautilus:863): GLib-GIO-ERROR **: 21:03:52.326: Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed
54RDEPENDS:${PN} += "tracker-miners bubblewrap"
55