Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/tracker/
Date: Wed, 28 Aug 2019 12:52:20
Message-Id: 1566996507.d7c9fff65908c39d11c49ade06d5b42b8f8bfd6a.leio@gentoo
1 commit: d7c9fff65908c39d11c49ade06d5b42b8f8bfd6a
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 28 12:44:52 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 28 12:48:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7c9fff6
7
8 app-misc/tracker: bump to 2.2.2
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 app-misc/tracker/Manifest | 1 +
14 app-misc/tracker/tracker-2.2.2.ebuild | 91 +++++++++++++++++++++++++++++++++++
15 2 files changed, 92 insertions(+)
16
17 diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest
18 index fc0292881c9..c7abcb9f105 100644
19 --- a/app-misc/tracker/Manifest
20 +++ b/app-misc/tracker/Manifest
21 @@ -1 +1,2 @@
22 DIST tracker-2.1.8.tar.xz 2585924 BLAKE2B 8548f6a615c3357eb2f1a1656d81f50816cef2f59e23fe7bd2111eeade8b3e5c0a33abf1bc830a0baa9c1c1d74ee92d3e44da00cd6f65ab853ef04eb2f57a69e SHA512 447e519699bbb0c9802230629667a87ce39ec3f6bb9c605063319d5e6a019c95a76762fdc889b1a11280be08b8520f22f097f9c9779dcd7a6c7cf239b4da2696
23 +DIST tracker-2.2.2.tar.xz 2792104 BLAKE2B 654dd5a6e4d8ea8a47d209f747e0dd4e02b7f6c862c4dedd92edf271cf3645b2a7d3f956f6aba5bf104df9972bc287b49a40d77892cb9a65e40c1007f5e3ca6c SHA512 2c18c324d4d98fb62bbf21eac8f647bd34463cee4d9f71d411e22d695fc28cc0c5334e2d41517875a5741213d9405e768f3efae6a8a4a8e72d01563c335f47a7
24
25 diff --git a/app-misc/tracker/tracker-2.2.2.ebuild b/app-misc/tracker/tracker-2.2.2.ebuild
26 new file mode 100644
27 index 00000000000..70fd7b4efe8
28 --- /dev/null
29 +++ b/app-misc/tracker/tracker-2.2.2.ebuild
30 @@ -0,0 +1,91 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python3_{5,6,7} )
36 +
37 +inherit bash-completion-r1 gnome.org linux-info meson python-any-r1 systemd vala xdg
38 +
39 +DESCRIPTION="A tagging metadata database, search tool and indexer"
40 +HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
41 +
42 +LICENSE="GPL-2+ LGPL-2.1+"
43 +SLOT="0/2.0"
44 +IUSE="gtk-doc +miners networkmanager stemmer"
45 +
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
47 +#RESTRICT="!test? ( test )"
48 +
49 +PV_SERIES=$(ver_cut 1-2)
50 +
51 +# In 2.2.0 util-linux should only be necessary if glib is older than 2.52 at compile-time
52 +RDEPEND="
53 + >=dev-libs/glib-2.46:2
54 + >=sys-apps/dbus-1.3.2
55 + >=dev-libs/gobject-introspection-1.54:=
56 + >=dev-libs/icu-4.8.1.2:=
57 + >=dev-libs/json-glib-1.0
58 + >=net-libs/libsoup-2.40.1:2.4
59 + >=dev-libs/libxml2-2.7
60 + >=dev-db/sqlite-3.20.0
61 + networkmanager? ( >=net-misc/networkmanager-0.8 )
62 + stemmer? ( dev-libs/snowball-stemmer )
63 + sys-apps/util-linux
64 +"
65 +DEPEND="${RDEPEND}"
66 +BDEPEND="
67 + dev-util/glib-utils
68 + $(vala_depend)
69 + gtk-doc? ( >=dev-util/gtk-doc-1.8
70 + app-text/docbook-xml-dtd:4.1.2
71 + app-text/docbook-xml-dtd:4.5 )
72 + >=sys-devel/gettext-0.19.8
73 + virtual/pkgconfig
74 + ${PYTHON_DEPS}
75 +"
76 +PDEPEND="miners? ( >=app-misc/tracker-miners-${PV_SERIES} )"
77 +
78 +function inotify_enabled() {
79 + if linux_config_exists; then
80 + if ! linux_chkconfig_present INOTIFY_USER; then
81 + ewarn "You should enable the INOTIFY support in your kernel."
82 + ewarn "Check the 'Inotify support for userland' under the 'File systems'"
83 + ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
84 + die 'missing CONFIG_INOTIFY'
85 + fi
86 + else
87 + einfo "Could not check for INOTIFY support in your kernel."
88 + fi
89 +}
90 +
91 +pkg_setup() {
92 + linux-info_pkg_setup
93 + inotify_enabled
94 +
95 + python-any-r1_pkg_setup
96 +}
97 +
98 +src_prepare() {
99 + xdg_src_prepare
100 + vala_src_prepare
101 +}
102 +
103 +src_configure() {
104 + local emesonargs=(
105 + $(meson_use gtk-doc docs)
106 + -Dfts=true
107 + -Dfunctional_tests=false # many fail in 2.2; retry with 2.3
108 + #$(meson_use test functional_tests)
109 + -Dman=true
110 + $(meson_feature networkmanager network_manager)
111 + $(meson_feature stemmer)
112 + -Dunicode_support=icu
113 + -Dbash_completion="$(get_bashcompdir)"
114 + -Dsystemd_user_services="$(systemd_get_userunitdir)"
115 + )
116 + meson_src_configure
117 +}
118 +
119 +src_test() {
120 + dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
121 +}