2019-06-19 01:08:04 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, substituteAll
|
|
|
|
, intltool
|
|
|
|
, itstool
|
|
|
|
, libxslt
|
|
|
|
, gexiv2
|
|
|
|
, tracker
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
, bzip2
|
|
|
|
, dbus
|
|
|
|
, evolution-data-server
|
|
|
|
, exempi
|
|
|
|
, flac
|
|
|
|
, giflib
|
|
|
|
, glib
|
|
|
|
, gnome3
|
|
|
|
, gst_all_1
|
|
|
|
, icu
|
|
|
|
, json-glib
|
|
|
|
, libcue
|
|
|
|
, libexif
|
|
|
|
, libgrss
|
|
|
|
, libgsf
|
|
|
|
, libgxps
|
|
|
|
, libiptcdata
|
|
|
|
, libjpeg
|
|
|
|
, libosinfo
|
|
|
|
, libpng
|
|
|
|
, libseccomp
|
|
|
|
, libsoup
|
|
|
|
, libtiff
|
|
|
|
, libuuid
|
|
|
|
, libvorbis
|
|
|
|
, libxml2
|
|
|
|
, poppler
|
|
|
|
, taglib
|
|
|
|
, upower
|
|
|
|
, totem-pl-parser
|
|
|
|
}:
|
2018-05-15 17:55:40 +00:00
|
|
|
|
2019-06-19 01:08:04 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-21 06:45:31 +00:00
|
|
|
pname = "tracker-miners";
|
2020-03-20 01:08:27 +00:00
|
|
|
version = "2.3.3";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-06-19 01:08:04 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-06-02 20:44:52 +00:00
|
|
|
sha256 = "06abxrnrz7xayykrabn135rpsm6z0fqw7gibrb9j09l6swlalwkl";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2018-05-15 17:55:40 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
intltool
|
|
|
|
itstool
|
|
|
|
libxslt
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2017-10-04 21:50:14 +00:00
|
|
|
|
2018-08-18 13:55:14 +00:00
|
|
|
# TODO: add libenca, libosinfo
|
2017-10-04 21:50:14 +00:00
|
|
|
buildInputs = [
|
2018-05-15 17:55:40 +00:00
|
|
|
bzip2
|
|
|
|
dbus
|
|
|
|
evolution-data-server
|
|
|
|
exempi
|
|
|
|
flac
|
|
|
|
giflib
|
|
|
|
glib
|
2019-02-13 21:47:50 +00:00
|
|
|
gexiv2
|
2018-12-25 22:27:49 +00:00
|
|
|
totem-pl-parser
|
2019-02-13 21:47:50 +00:00
|
|
|
tracker
|
2018-05-15 17:55:40 +00:00
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
icu
|
|
|
|
json-glib
|
|
|
|
libcue
|
|
|
|
libexif
|
2018-08-18 13:55:14 +00:00
|
|
|
libgrss
|
2018-05-15 17:55:40 +00:00
|
|
|
libgsf
|
2019-06-19 01:08:04 +00:00
|
|
|
libgxps
|
2018-05-15 17:55:40 +00:00
|
|
|
libiptcdata
|
|
|
|
libjpeg
|
2019-06-19 01:08:04 +00:00
|
|
|
libosinfo
|
2018-05-15 17:55:40 +00:00
|
|
|
libpng
|
|
|
|
libseccomp
|
|
|
|
libsoup
|
|
|
|
libtiff
|
|
|
|
libuuid
|
|
|
|
libvorbis
|
|
|
|
libxml2
|
|
|
|
poppler
|
|
|
|
taglib
|
|
|
|
upower
|
2017-10-04 21:50:14 +00:00
|
|
|
];
|
|
|
|
|
2018-05-15 17:55:40 +00:00
|
|
|
mesonFlags = [
|
2018-08-18 13:55:14 +00:00
|
|
|
# TODO: tests do not like our sandbox
|
|
|
|
"-Dfunctional_tests=false"
|
2018-09-05 00:52:59 +00:00
|
|
|
"-Ddbus_services=${placeholder "out"}/share/dbus-1/services"
|
2019-03-14 23:17:11 +00:00
|
|
|
"-Dsystemd_user_services=${placeholder "out"}/lib/systemd/user"
|
2018-05-15 17:55:40 +00:00
|
|
|
];
|
2017-10-04 21:50:14 +00:00
|
|
|
|
2018-03-05 01:10:37 +00:00
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix-paths.patch;
|
2019-08-23 00:49:39 +00:00
|
|
|
inherit tracker;
|
2018-03-05 01:10:37 +00:00
|
|
|
})
|
2018-05-15 17:55:40 +00:00
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=795576
|
|
|
|
(fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "https://bugzilla.gnome.org/attachment.cgi?id=371427";
|
2018-05-15 17:55:40 +00:00
|
|
|
sha256 = "187flswvzymjfxwfrrhizb1cvs780zm39aa3i2vwa5fbllr7kcpf";
|
|
|
|
})
|
2018-03-05 01:10:37 +00:00
|
|
|
];
|
2017-10-04 21:50:14 +00:00
|
|
|
|
2018-05-15 17:55:40 +00:00
|
|
|
postInstall = ''
|
2018-08-30 17:45:19 +00:00
|
|
|
glib-compile-schemas "$out/share/glib-2.0/schemas"
|
2018-05-15 17:55:40 +00:00
|
|
|
'';
|
2018-06-30 00:31:10 +00:00
|
|
|
|
2018-08-18 13:55:14 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
2018-05-15 17:55:40 +00:00
|
|
|
|
2017-10-04 21:50:14 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Tracker";
|
2017-10-04 21:50:14 +00:00
|
|
|
description = "Desktop-neutral user information store, search tool and indexer";
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2018-05-15 17:55:40 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2017-10-04 21:50:14 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|