diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-06-18 23:57:29 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-06-21 10:36:54 +0200 |
commit | a04c794b587e207b06465d1eac5e5ea8b1346641 (patch) | |
tree | 5a9a71f1880b72f0119c5bdfd8c7161fa3fb83a4 /meta-gnome/recipes-support/tracker/tracker_0.14.2.bb | |
parent | c794fb0ed62c22c86b2c79db9812a58797208c26 (diff) | |
download | meta-openembedded-a04c794b587e207b06465d1eac5e5ea8b1346641.tar.gz |
tracker: move from meta-oe to meta-gnome
* it rdepends on gvfs which is available only in meta-gnome and nothing
in meta-oe depends on tracker
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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.bb | 75 |
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 @@ | |||
1 | DESCRIPTION = "Tracker is a tool designed to extract information and metadata about your personal data so that it can be searched easily and quickly." | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=ee31012bf90e7b8c108c69f197f3e3a4" | ||
4 | DEPENDS = "file gstreamer gamin dbus libexif gettext sqlite3 icu" | ||
5 | RDEPENDS_${PN} += " gvfs gsettings-desktop-schemas" | ||
6 | HOMEPAGE = "http://projects.gnome.org/tracker/" | ||
7 | |||
8 | PR = "r7" | ||
9 | |||
10 | inherit autotools pkgconfig gnomebase gettext gsettings systemd | ||
11 | |||
12 | VER_DIR = "${@gnome_verdir("${PV}")}" | ||
13 | SRC_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 | |||
23 | SYSTEMD_SERVICE_${PN} = " tracker-store.service tracker-miner-fs.service tracker-dbus.service " | ||
24 | SYSTEMD_AUTO_ENABLE = "disable" | ||
25 | |||
26 | EXTRA_OECONF += " tracker_cv_have_ioprio=yes" | ||
27 | |||
28 | # Disable the desktop-centric miners | ||
29 | EXTRA_OECONF += "--disable-miner-thunderbird --disable-miner-firefox \ | ||
30 | --disable-miner-evolution --disable-miner-flickr" | ||
31 | |||
32 | LEAD_SONAME = "libtrackerclient.so.0" | ||
33 | |||
34 | do_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 | |||
48 | PACKAGES =+ "${PN}-tests ${PN}-vala ${PN}-nautilus-extension" | ||
49 | |||
50 | FILES_${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 | |||
61 | FILES_${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 | |||
67 | FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a" | ||
68 | FILES_${PN}-dbg += "${libdir}/*/*/.debug \ | ||
69 | ${libdir}/*/.debug" | ||
70 | FILES_${PN}-tests = "${datadir}/tracker-tests/" | ||
71 | FILES_${PN}-vala = "${datadir}/vala/" | ||
72 | FILES_${PN}-nautilus-extension += "${libdir}/nautilus/extensions-2.0/*.so" | ||
73 | |||
74 | SRC_URI[md5sum] = "f3a871beeebf86fd752863ebd22af9ac" | ||
75 | SRC_URI[sha256sum] = "9b59330aa2e9e09feee587ded895e9247f71fc25f46b023d616d9969314bc7f1" | ||