1 |
commit: 81fa848ee6ad77d49ef6f9c8c7df740e88745d33 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 1 12:53:37 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 1 13:56:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81fa848e |
7 |
|
8 |
app-misc/tracker: Version bump to 3.3.1 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
app-misc/tracker/Manifest | 1 + |
13 |
app-misc/tracker/tracker-3.3.1.ebuild | 114 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 115 insertions(+) |
15 |
|
16 |
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest |
17 |
index c285875d6bef..351fc3d0b120 100644 |
18 |
--- a/app-misc/tracker/Manifest |
19 |
+++ b/app-misc/tracker/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST tracker-2.3.6.tar.xz 1606716 BLAKE2B ea39df4438e4502bc0229a5cc3b42a2fe6e13a643ac8e4034004b1291da49ff3ad1a177227035a4a02fd8f3723a735d37371c898bb03a6fc10573606a1c29d70 SHA512 1b8ae06b6c64a0cbe7d4c987bafe392fb38014215fc698f919273ba1f422dd0bc24344d3fd73164b00bfea315e527e2886ba90f1f1b86d5fceff24455b36d67e |
22 |
DIST tracker-3.3.0.tar.xz 1969132 BLAKE2B a43183599ee3d3947450e4d58fd02094a41d5978d0c3be120b995844eca5ddc0f7e37bd98e886bec99d5c9342f5ba6f92eec2cd729a1793ce2141bfa5ff99908 SHA512 0a55a80b44c2267f149c4c83ecbe42ca27a0645bd4fc206984999520f6bed3b7c63c71f81450f40ce2896223ce17326add20e7f39a71c821d754f30b8ce157bc |
23 |
+DIST tracker-3.3.1.tar.xz 1976268 BLAKE2B 34492aac5c7a5cae20cc3b246de7a7f9948be05356508cffeec56cd6aa83b89a875c01d58c299299723e1aed8bba55d641dc817f77cecbe1379b49ea853aa8b3 SHA512 34a86ac58bf8b31f3beb106d3f8db38b764624b800f4cb1c015102f02616e4c2d356f58f0e6a13f66cca79a4173828748ad5e4217b21e83b2fe1606ddcd7ce88 |
24 |
|
25 |
diff --git a/app-misc/tracker/tracker-3.3.1.ebuild b/app-misc/tracker/tracker-3.3.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..9142c98fcfcd |
28 |
--- /dev/null |
29 |
+++ b/app-misc/tracker/tracker-3.3.1.ebuild |
30 |
@@ -0,0 +1,114 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+PYTHON_COMPAT=( python3_{8..11} ) |
36 |
+VALA_MIN_API_VERSION="0.40" |
37 |
+ |
38 |
+inherit bash-completion-r1 flag-o-matic gnome.org gnome2-utils linux-info meson python-any-r1 systemd vala xdg |
39 |
+ |
40 |
+DESCRIPTION="A tagging metadata database, search tool and indexer" |
41 |
+HOMEPAGE="https://wiki.gnome.org/Projects/Tracker" |
42 |
+ |
43 |
+LICENSE="GPL-2+ LGPL-2.1+" |
44 |
+SLOT="3/0" # libtracker-sparql-3.0 soname version |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
46 |
+IUSE="gtk-doc +miners stemmer test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+PV_SERIES=$(ver_cut 1-2) |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-libs/glib-2.52:2 |
53 |
+ >=sys-apps/dbus-1.3.2 |
54 |
+ >=dev-libs/gobject-introspection-1.54:= |
55 |
+ >=dev-libs/icu-4.8.1.2:= |
56 |
+ >=dev-libs/json-glib-1.4 |
57 |
+ >=net-libs/libsoup-2.40.1:2.4 |
58 |
+ >=dev-libs/libxml2-2.7 |
59 |
+ >=dev-db/sqlite-3.29.0 |
60 |
+ stemmer? ( dev-libs/snowball-stemmer:= ) |
61 |
+" |
62 |
+DEPEND="${RDEPEND}" |
63 |
+BDEPEND=" |
64 |
+ dev-util/glib-utils |
65 |
+ app-text/asciidoc |
66 |
+ dev-libs/libxslt |
67 |
+ $(vala_depend) |
68 |
+ gtk-doc? ( |
69 |
+ >=dev-util/gtk-doc-1.8 |
70 |
+ app-text/docbook-xml-dtd:4.1.2 |
71 |
+ app-text/docbook-xml-dtd:4.5 |
72 |
+ ) |
73 |
+ >=sys-devel/gettext-0.19.8 |
74 |
+ virtual/pkgconfig |
75 |
+ test? ( |
76 |
+ $(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]') |
77 |
+ $(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]') |
78 |
+ ) |
79 |
+ ${PYTHON_DEPS} |
80 |
+" |
81 |
+PDEPEND="miners? ( >=app-misc/tracker-miners-${PV_SERIES} )" |
82 |
+ |
83 |
+function inotify_enabled() { |
84 |
+ if linux_config_exists; then |
85 |
+ if ! linux_chkconfig_present INOTIFY_USER; then |
86 |
+ ewarn "You should enable the INOTIFY support in your kernel." |
87 |
+ ewarn "Check the 'Inotify support for userland' under the 'File systems'" |
88 |
+ ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config" |
89 |
+ die 'missing CONFIG_INOTIFY' |
90 |
+ fi |
91 |
+ else |
92 |
+ einfo "Could not check for INOTIFY support in your kernel." |
93 |
+ fi |
94 |
+} |
95 |
+ |
96 |
+python_check_deps() { |
97 |
+ python_has_version -b \ |
98 |
+ "dev-python/pygobject[${PYTHON_USEDEP}]" \ |
99 |
+ "dev-python/tappy[${PYTHON_USEDEP}]" |
100 |
+} |
101 |
+ |
102 |
+pkg_setup() { |
103 |
+ linux-info_pkg_setup |
104 |
+ inotify_enabled |
105 |
+ |
106 |
+ use test && python-any-r1_pkg_setup |
107 |
+} |
108 |
+ |
109 |
+src_prepare() { |
110 |
+ default |
111 |
+ vala_setup |
112 |
+ xdg_environment_reset |
113 |
+} |
114 |
+ |
115 |
+src_configure() { |
116 |
+ append-cflags -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS |
117 |
+ |
118 |
+ local emesonargs=( |
119 |
+ $(meson_use gtk-doc docs) |
120 |
+ -Dman=true |
121 |
+ $(meson_feature stemmer) |
122 |
+ -Dunicode_support=icu |
123 |
+ -Dbash_completion_dir="$(get_bashcompdir)" |
124 |
+ -Dsystemd_user_services_dir="$(systemd_get_userunitdir)" |
125 |
+ $(meson_use test tests) |
126 |
+ -Dintrospection=enabled |
127 |
+ -Dsoup=soup2 |
128 |
+ ) |
129 |
+ meson_src_configure |
130 |
+} |
131 |
+ |
132 |
+src_test() { |
133 |
+ dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed' |
134 |
+} |
135 |
+ |
136 |
+pkg_postinst() { |
137 |
+ xdg_pkg_postinst |
138 |
+ gnome2_schemas_update |
139 |
+} |
140 |
+ |
141 |
+pkg_postrm() { |
142 |
+ xdg_pkg_postrm |
143 |
+ gnome2_schemas_update |
144 |
+} |