diff options
| author | Andreas Müller <schnitzeltony@gmail.com> | 2021-05-16 01:38:34 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-05-17 09:00:35 -0700 |
| commit | 448d57649d61ef494d140e8bbdeb5e26b4dd6330 (patch) | |
| tree | ebb24f4b31a4b5b0cd9d7f13c00b525ca8f02443 | |
| parent | f701ffa95dd3c43c2710721ded1759d396c3e7a4 (diff) | |
| download | meta-openembedded-448d57649d61ef494d140e8bbdeb5e26b4dd6330.tar.gz | |
tracker: upgrade 2.3.6 -> 3.0.4
* huge bump is required for upcoming nautilus 40.1
* PACKAGECONFIGS have no meson option anymore so remove them
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-gnome/tracker/tracker_3.0.4.bb (renamed from meta-gnome/recipes-gnome/tracker/tracker_2.3.6.bb) | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/meta-gnome/recipes-gnome/tracker/tracker_2.3.6.bb b/meta-gnome/recipes-gnome/tracker/tracker_3.0.4.bb index 2c11976ca6..82e3d006e4 100644 --- a/meta-gnome/recipes-gnome/tracker/tracker_2.3.6.bb +++ b/meta-gnome/recipes-gnome/tracker/tracker_3.0.4.bb | |||
| @@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = " \ | |||
| 6 | " | 6 | " |
| 7 | 7 | ||
| 8 | DEPENDS = " \ | 8 | DEPENDS = " \ |
| 9 | libxml2-native \ | ||
| 10 | dbus-native \ | 9 | dbus-native \ |
| 11 | glib-2.0 \ | 10 | glib-2.0 \ |
| 12 | sqlite3 \ | 11 | sqlite3 \ |
| @@ -22,30 +21,32 @@ GNOMEBASEBUILDCLASS = "meson" | |||
| 22 | 21 | ||
| 23 | inherit gnomebase gsettings gobject-introspection vala gtk-doc manpages bash-completion features_check | 22 | inherit gnomebase gsettings gobject-introspection vala gtk-doc manpages bash-completion features_check |
| 24 | 23 | ||
| 25 | SRC_URI[archive.sha256sum] = "bd1eb4122135296fa7b57b1c3fa0ed602cf7d06c0b8e534d0bd17ff5f97feef2" | 24 | SRC_URI[archive.sha256sum] = "c120d81f2df94aa794b1a7953b55cfa46de318ed68e6f3b5ad4fce0c729c2483" |
| 26 | 25 | ||
| 27 | # gobject-introspection is mandatory and cannot be configured | 26 | # gobject-introspection is mandatory and cannot be configured |
| 28 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | 27 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
| 29 | UNKNOWN_CONFIGURE_WHITELIST_append = " introspection" | 28 | UNKNOWN_CONFIGURE_WHITELIST_append = " introspection" |
| 30 | 29 | ||
| 31 | PACKAGECONFIG ??= "fts" | 30 | # text search is not an option anymore and requires sqlite3 build with |
| 32 | PACKAGECONFIG[networkmanager] = "-Dnetwork_manager=enabled,-Dnetwork_manager=disabled,networkmanger" | 31 | # PACKAGECONFIG[fts5] set (default) |
| 33 | # full text search requires sqlite3 build with PACKAGECONFIG[fts5] set | ||
| 34 | PACKAGECONFIG[fts] = "-Dfts=true,-Dfts=false" | ||
| 35 | 32 | ||
| 36 | # set required cross property sqlite3_has_fts5 | 33 | # set required cross property sqlite3_has_fts5 |
| 37 | do_write_config[vardeps] += "PACKAGECONFIG" | 34 | do_write_config[vardeps] += "PACKAGECONFIG" |
| 38 | do_write_config_append() { | 35 | do_write_config_append() { |
| 39 | echo "[properties]" > ${WORKDIR}/meson-tracker.cross | 36 | echo "[properties]" > ${WORKDIR}/meson-tracker.cross |
| 40 | echo "sqlite3_has_fts5 = '${@bb.utils.contains('PACKAGECONFIG', 'fts', 'true', 'false', d)}'" >> ${WORKDIR}/meson-tracker.cross | 37 | echo "sqlite3_has_fts5 = 'true'" >> ${WORKDIR}/meson-tracker.cross |
| 41 | } | 38 | } |
| 42 | 39 | ||
| 43 | EXTRA_OEMESON = "--cross-file ${WORKDIR}/meson-tracker.cross \ | 40 | EXTRA_OEMESON = " \ |
| 44 | -Dsystemd_user_services=${systemd_user_unitdir} \ | 41 | --cross-file ${WORKDIR}/meson-tracker.cross \ |
| 42 | -Dman=false \ | ||
| 43 | -Dsystemd_user_services=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)} \ | ||
| 44 | -Dsystemd_user_services_dir=${systemd_user_unitdir} \ | ||
| 45 | " | 45 | " |
| 46 | 46 | ||
| 47 | FILES_${PN} += " \ | 47 | FILES_${PN} += " \ |
| 48 | ${datadir}/dbus-1 \ | 48 | ${datadir}/dbus-1 \ |
| 49 | ${libdir}/tracker-2.0 \ | 49 | ${datadir}/tracker3 \ |
| 50 | ${libdir}/tracker-3.0 \ | ||
| 50 | ${systemd_user_unitdir} \ | 51 | ${systemd_user_unitdir} \ |
| 51 | " | 52 | " |
