2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-06-19 02:08:04 +01:00
|
|
|
, fetchurl
|
|
|
|
, substituteAll
|
2020-09-21 01:57:09 +01:00
|
|
|
, asciidoc
|
|
|
|
, docbook-xsl-nons
|
|
|
|
, docbook_xml_dtd_45
|
|
|
|
, gettext
|
2019-06-19 02:08:04 +01:00
|
|
|
, itstool
|
|
|
|
, libxslt
|
|
|
|
, gexiv2
|
|
|
|
, tracker
|
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-06-19 02:08:04 +01:00
|
|
|
, vala
|
|
|
|
, wrapGAppsHook
|
|
|
|
, bzip2
|
|
|
|
, dbus
|
|
|
|
, evolution-data-server
|
|
|
|
, exempi
|
|
|
|
, giflib
|
|
|
|
, glib
|
2021-05-07 22:18:14 +01:00
|
|
|
, gnome
|
2019-06-19 02:08:04 +01:00
|
|
|
, gst_all_1
|
|
|
|
, icu
|
|
|
|
, json-glib
|
|
|
|
, libcue
|
|
|
|
, libexif
|
|
|
|
, libgsf
|
|
|
|
, libgxps
|
|
|
|
, libiptcdata
|
|
|
|
, libjpeg
|
|
|
|
, libosinfo
|
|
|
|
, libpng
|
|
|
|
, libseccomp
|
|
|
|
, libsoup
|
|
|
|
, libtiff
|
|
|
|
, libuuid
|
|
|
|
, libxml2
|
2020-09-21 01:57:09 +01:00
|
|
|
, networkmanager
|
2019-06-19 02:08:04 +01:00
|
|
|
, poppler
|
2020-09-21 01:57:09 +01:00
|
|
|
, systemd
|
2019-06-19 02:08:04 +01:00
|
|
|
, taglib
|
|
|
|
, upower
|
|
|
|
, totem-pl-parser
|
|
|
|
}:
|
2018-05-15 18:55:40 +01:00
|
|
|
|
2019-06-19 02:08:04 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-21 06:45:31 +00:00
|
|
|
pname = "tracker-miners";
|
2021-11-09 15:23:13 +00:00
|
|
|
version = "3.2.1";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-11-09 15:23:13 +00:00
|
|
|
sha256 = "RDafU+Lt70FDdAbb7s1Hepf4qa/dkTSDLqRdG6KqLEc=";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2018-05-15 18:55:40 +01:00
|
|
|
nativeBuildInputs = [
|
2020-09-21 01:57:09 +01:00
|
|
|
asciidoc
|
|
|
|
docbook-xsl-nons
|
|
|
|
docbook_xml_dtd_45
|
|
|
|
gettext
|
2018-05-15 18:55:40 +01:00
|
|
|
itstool
|
|
|
|
libxslt
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2018-05-15 18:55:40 +01:00
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2017-10-04 22:50:14 +01:00
|
|
|
|
2018-08-18 14:55:14 +01:00
|
|
|
# TODO: add libenca, libosinfo
|
2017-10-04 22:50:14 +01:00
|
|
|
buildInputs = [
|
2018-05-15 18:55:40 +01:00
|
|
|
bzip2
|
|
|
|
dbus
|
|
|
|
evolution-data-server
|
|
|
|
exempi
|
|
|
|
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 18:55:40 +01:00
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
icu
|
|
|
|
json-glib
|
|
|
|
libcue
|
|
|
|
libexif
|
|
|
|
libgsf
|
2019-06-19 02:08:04 +01:00
|
|
|
libgxps
|
2018-05-15 18:55:40 +01:00
|
|
|
libiptcdata
|
|
|
|
libjpeg
|
2019-06-19 02:08:04 +01:00
|
|
|
libosinfo
|
2018-05-15 18:55:40 +01:00
|
|
|
libpng
|
|
|
|
libseccomp
|
|
|
|
libsoup
|
|
|
|
libtiff
|
|
|
|
libuuid
|
|
|
|
libxml2
|
2020-09-21 01:57:09 +01:00
|
|
|
networkmanager
|
2018-05-15 18:55:40 +01:00
|
|
|
poppler
|
2020-09-21 01:57:09 +01:00
|
|
|
systemd
|
2018-05-15 18:55:40 +01:00
|
|
|
taglib
|
|
|
|
upower
|
2017-10-04 22:50:14 +01:00
|
|
|
];
|
|
|
|
|
2018-05-15 18:55:40 +01:00
|
|
|
mesonFlags = [
|
2018-08-18 14:55:14 +01:00
|
|
|
# TODO: tests do not like our sandbox
|
|
|
|
"-Dfunctional_tests=false"
|
2021-07-27 16:18:30 +01:00
|
|
|
|
|
|
|
# libgrss is unmaintained and has no new releases since 2015, and an open
|
|
|
|
# security issue since then. Despite a patch now being availab, we're opting
|
|
|
|
# to be safe due to the general state of the project
|
|
|
|
"-Dminer_rss=false"
|
2018-05-15 18:55:40 +01:00
|
|
|
];
|
2017-10-04 22:50:14 +01:00
|
|
|
|
2018-03-05 01:10:37 +00:00
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix-paths.patch;
|
2020-09-21 01:57:09 +01:00
|
|
|
inherit asciidoc;
|
2018-05-15 18:55:40 +01:00
|
|
|
})
|
2018-03-05 01:10:37 +00:00
|
|
|
];
|
2017-10-04 22:50:14 +01:00
|
|
|
|
2018-05-15 18:55:40 +01:00
|
|
|
postInstall = ''
|
2018-08-30 18:45:19 +01:00
|
|
|
glib-compile-schemas "$out/share/glib-2.0/schemas"
|
2018-05-15 18:55:40 +01:00
|
|
|
'';
|
2018-06-30 01:31:10 +01:00
|
|
|
|
2018-08-18 14:55:14 +01:00
|
|
|
passthru = {
|
2021-05-07 22:18:14 +01:00
|
|
|
updateScript = gnome.updateScript {
|
2018-08-18 14:55:14 +01:00
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
2018-05-15 18:55:40 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Tracker";
|
2017-10-04 22:50:14 +01:00
|
|
|
description = "Desktop-neutral user information store, search tool and indexer";
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2018-05-15 18:55:40 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2017-10-04 22:50:14 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|