summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-support/tracker/tracker_0.14.2.bb')
-rw-r--r--meta-gnome/recipes-support/tracker/tracker_0.14.2.bb75
1 files changed, 75 insertions, 0 deletions
diff --git a/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb b/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
new file mode 100644
index 000000000..eea8edc9b
--- /dev/null
+++ b/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
@@ -0,0 +1,75 @@
1DESCRIPTION = "Tracker is a tool designed to extract information and metadata about your personal data so that it can be searched easily and quickly."
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=ee31012bf90e7b8c108c69f197f3e3a4"
4DEPENDS = "file gstreamer gamin dbus libexif gettext sqlite3 icu"
5RDEPENDS_${PN} += " gvfs gsettings-desktop-schemas"
6HOMEPAGE = "http://projects.gnome.org/tracker/"
7
8PR = "r7"
9
10inherit autotools pkgconfig gnomebase gettext gsettings systemd
11
12VER_DIR = "${@gnome_verdir("${PV}")}"
13SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/tracker/${VER_DIR}/tracker-${PV}.tar.xz \
14 file://0005-Fix-missing-gobject-introspection-checks.patch \
15 file://enable-sqlite-crosscompile.patch \
16 file://fix-removable-media-detection.patch \
17 file://90tracker \
18 file://tracker-store.service \
19 file://tracker-miner-fs.service \
20 file://tracker-dbus.service \
21 "
22
23SYSTEMD_SERVICE_${PN} = " tracker-store.service tracker-miner-fs.service tracker-dbus.service "
24SYSTEMD_AUTO_ENABLE = "disable"
25
26EXTRA_OECONF += " tracker_cv_have_ioprio=yes"
27
28# Disable the desktop-centric miners
29EXTRA_OECONF += "--disable-miner-thunderbird --disable-miner-firefox \
30 --disable-miner-evolution --disable-miner-flickr"
31
32LEAD_SONAME = "libtrackerclient.so.0"
33
34do_install_append() {
35 cp -PpR ${D}${STAGING_DATADIR}/* ${D}${datadir}/ || true
36# install -d ${D}/${sysconfdir}/X11/Xsession.d/
37# install -m 0755 ${WORKDIR}/90tracker ${D}/${sysconfdir}/X11/Xsession.d/
38
39 install -d ${D}${systemd_unitdir}/system
40 install -m 0644 ${WORKDIR}/tracker-store.service ${D}${systemd_unitdir}/system
41 install -m 0644 ${WORKDIR}/tracker-miner-fs.service ${D}${systemd_unitdir}/system
42 install -m 0644 ${WORKDIR}/tracker-dbus.service ${D}${systemd_unitdir}/system
43 sed -i -e 's,@LIBEXECDIR@,${libexecdir},g' \
44 -e 's,@BASE_BINDIR@,${base_bindir},g' \
45 ${D}${systemd_unitdir}/system/*.service
46}
47
48PACKAGES =+ "${PN}-tests ${PN}-vala ${PN}-nautilus-extension"
49
50FILES_${PN} += "${datadir}/dbus-1/ \
51 ${libdir}/tracker-${VER_DIR}/*.so.* \
52 ${libdir}/tracker-${VER_DIR}/extract-modules/*.so \
53 ${datadir}/icons/hicolor/*/apps/tracker.* \
54 ${libdir}/nautilus/extensions-2.0/*.la \
55 ${datadir}/glib-2.0/schemas/* \
56 ${systemd_unitdir}/system/tracker-store.service \
57 ${systemd_unitdir}/system/tracker-miner-fs.service \
58 ${systemd_unitdir}/system/tracker-dbus.service \
59"
60
61FILES_${PN}-dev += "${libdir}/tracker-${VER_DIR}/*.la \
62 ${libdir}/tracker-${VER_DIR}/*.so \
63 ${libdir}/tracker-${VER_DIR}/*/*.so \
64 ${libdir}/tracker-${VER_DIR}/*/*.la \
65 ${libdir}/tracker-${VER_DIR}/extract-modules/*.la"
66
67FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a"
68FILES_${PN}-dbg += "${libdir}/*/*/.debug \
69 ${libdir}/*/.debug"
70FILES_${PN}-tests = "${datadir}/tracker-tests/"
71FILES_${PN}-vala = "${datadir}/vala/"
72FILES_${PN}-nautilus-extension += "${libdir}/nautilus/extensions-2.0/*.so"
73
74SRC_URI[md5sum] = "f3a871beeebf86fd752863ebd22af9ac"
75SRC_URI[sha256sum] = "9b59330aa2e9e09feee587ded895e9247f71fc25f46b023d616d9969314bc7f1"