2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchurl
|
|
|
|
, substituteAll
|
2020-11-12 09:05:59 +00:00
|
|
|
, asciidoc
|
|
|
|
, docbook-xsl-nons
|
|
|
|
, docbook_xml_dtd_45
|
|
|
|
, gettext
|
2020-04-24 23:36:52 +00:00
|
|
|
, itstool
|
|
|
|
, libxslt
|
|
|
|
, gexiv2
|
|
|
|
, tracker
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
, bzip2
|
|
|
|
, dbus
|
|
|
|
, evolution-data-server
|
|
|
|
, exempi
|
|
|
|
, giflib
|
|
|
|
, glib
|
2021-05-20 23:08:51 +00:00
|
|
|
, gnome
|
2020-04-24 23:36:52 +00:00
|
|
|
, gst_all_1
|
|
|
|
, icu
|
|
|
|
, json-glib
|
|
|
|
, libcue
|
|
|
|
, libexif
|
|
|
|
, libgrss
|
|
|
|
, libgsf
|
|
|
|
, libgxps
|
|
|
|
, libiptcdata
|
|
|
|
, libjpeg
|
|
|
|
, libosinfo
|
|
|
|
, libpng
|
|
|
|
, libseccomp
|
|
|
|
, libsoup
|
|
|
|
, libtiff
|
|
|
|
, libuuid
|
|
|
|
, libxml2
|
2020-11-12 09:05:59 +00:00
|
|
|
, networkmanager
|
2020-04-24 23:36:52 +00:00
|
|
|
, poppler
|
2020-11-12 09:05:59 +00:00
|
|
|
, systemd
|
2020-04-24 23:36:52 +00:00
|
|
|
, taglib
|
|
|
|
, upower
|
|
|
|
, totem-pl-parser
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tracker-miners";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "3.1.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-02-05 17:12:51 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-05-20 23:08:51 +00:00
|
|
|
sha256 = "sha256-5NNhNRsVbyhipSRBX76/BTnHgc2HxmKWYvAmW0gDuLg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-11-12 09:05:59 +00:00
|
|
|
asciidoc
|
|
|
|
docbook-xsl-nons
|
|
|
|
docbook_xml_dtd_45
|
|
|
|
gettext
|
2020-04-24 23:36:52 +00:00
|
|
|
itstool
|
|
|
|
libxslt
|
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
# TODO: add libenca, libosinfo
|
|
|
|
buildInputs = [
|
|
|
|
bzip2
|
|
|
|
dbus
|
|
|
|
evolution-data-server
|
|
|
|
exempi
|
|
|
|
giflib
|
|
|
|
glib
|
|
|
|
gexiv2
|
|
|
|
totem-pl-parser
|
|
|
|
tracker
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
icu
|
|
|
|
json-glib
|
|
|
|
libcue
|
|
|
|
libexif
|
|
|
|
libgrss
|
|
|
|
libgsf
|
|
|
|
libgxps
|
|
|
|
libiptcdata
|
|
|
|
libjpeg
|
|
|
|
libosinfo
|
|
|
|
libpng
|
|
|
|
libseccomp
|
|
|
|
libsoup
|
|
|
|
libtiff
|
|
|
|
libuuid
|
|
|
|
libxml2
|
2020-11-12 09:05:59 +00:00
|
|
|
networkmanager
|
2020-04-24 23:36:52 +00:00
|
|
|
poppler
|
2020-11-12 09:05:59 +00:00
|
|
|
systemd
|
2020-04-24 23:36:52 +00:00
|
|
|
taglib
|
|
|
|
upower
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
# TODO: tests do not like our sandbox
|
|
|
|
"-Dfunctional_tests=false"
|
|
|
|
];
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix-paths.patch;
|
2020-11-12 09:05:59 +00:00
|
|
|
inherit asciidoc;
|
2020-04-24 23:36:52 +00:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
glib-compile-schemas "$out/share/glib-2.0/schemas"
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Tracker";
|
|
|
|
description = "Desktop-neutral user information store, search tool and indexer";
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|