1 |
commit: 64e65ba5273e1100aaac1123bb0942bcc4259f5d |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 12 23:52:44 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 13 00:16:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64e65ba5 |
7 |
|
8 |
app-misc/tracker: Version bump to 3.1.2 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
app-misc/tracker/Manifest | 1 + |
13 |
app-misc/tracker/tracker-3.1.2.ebuild | 110 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 111 insertions(+) |
15 |
|
16 |
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest |
17 |
index 74b61b20fe5..e369e4c663f 100644 |
18 |
--- a/app-misc/tracker/Manifest |
19 |
+++ b/app-misc/tracker/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST tracker-2.3.5.tar.xz 1604004 BLAKE2B ad79682cb703056fd927649021a5f37fddb2e978ecc710d020c23ef5dd076f88c7e0c2cd9d4385343e9d6c2c2ac7473af7508d86793c505e2361a8021bf27d50 SHA512 74cd3b2671b811f3267a516e6f6047594fffa7c8a4a23fa5be4f7d71f581c417a88f12f614757418a848077a9231c0c876617d4486f3bb5b103382b871913d34 |
22 |
DIST tracker-3.1.1.tar.xz 1434784 BLAKE2B fa73420736e82bc7a43ef9dd9dce9096e50a22aca3f83737a0c77802460fc307630403bb836a799ff2d03a838cd1e71fbb4a17a54fa0a7c823e122800530e050 SHA512 87e6cc6dbfb34cc17bef42defefc51fc9d9586bffebf7a282a89ec3b294e911c504ea862bb05e5a269e438a83fbeb8938670eb32fa11d0d09ba805e0b02e6dcd |
23 |
+DIST tracker-3.1.2.tar.xz 1429356 BLAKE2B 2401ee4d73aef29a40ff9c9f917fdf4709884bc26b7e8c5ae52b0e009bfd1934a122a78adea2fe6950480f4ccacb89d11388b4553bd4c0c68f5738118d34d3a1 SHA512 3c5feb658d7d3e35bcc61ef216e59b069df661d6f13de6f26e71da35bd0ca78878099d1ae507da82860d955954f971ab68d5a3b86a3132781c3f03a12dec1f0c |
24 |
|
25 |
diff --git a/app-misc/tracker/tracker-3.1.2.ebuild b/app-misc/tracker/tracker-3.1.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..3071ccc4456 |
28 |
--- /dev/null |
29 |
+++ b/app-misc/tracker/tracker-3.1.2.ebuild |
30 |
@@ -0,0 +1,110 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+VALA_MIN_API_VERSION="0.40" |
37 |
+ |
38 |
+inherit bash-completion-r1 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 ~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/tappy[${PYTHON_USEDEP}]') |
77 |
+ ) |
78 |
+ ${PYTHON_DEPS} |
79 |
+" |
80 |
+PDEPEND="miners? ( >=app-misc/tracker-miners-${PV_SERIES} )" |
81 |
+ |
82 |
+PATCHES=( |
83 |
+ "${FILESDIR}"/${PN}-3.1.1-Fix-asciidoc-manpage.xsl-location.patch |
84 |
+) |
85 |
+ |
86 |
+function inotify_enabled() { |
87 |
+ if linux_config_exists; then |
88 |
+ if ! linux_chkconfig_present INOTIFY_USER; then |
89 |
+ ewarn "You should enable the INOTIFY support in your kernel." |
90 |
+ ewarn "Check the 'Inotify support for userland' under the 'File systems'" |
91 |
+ ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config" |
92 |
+ die 'missing CONFIG_INOTIFY' |
93 |
+ fi |
94 |
+ else |
95 |
+ einfo "Could not check for INOTIFY support in your kernel." |
96 |
+ fi |
97 |
+} |
98 |
+ |
99 |
+python_check_deps() { |
100 |
+ use test || return 0 |
101 |
+ has_version -b "dev-python/tappy[${PYTHON_USEDEP}]" |
102 |
+} |
103 |
+ |
104 |
+pkg_setup() { |
105 |
+ linux-info_pkg_setup |
106 |
+ inotify_enabled |
107 |
+ |
108 |
+ python-any-r1_pkg_setup |
109 |
+} |
110 |
+ |
111 |
+src_prepare() { |
112 |
+ xdg_src_prepare |
113 |
+ vala_src_prepare |
114 |
+} |
115 |
+ |
116 |
+src_configure() { |
117 |
+ local emesonargs=( |
118 |
+ $(meson_use gtk-doc docs) |
119 |
+ -Dman=true |
120 |
+ $(meson_feature stemmer) |
121 |
+ -Dunicode_support=icu |
122 |
+ -Dbash_completion_dir="$(get_bashcompdir)" |
123 |
+ -Dsystemd_user_services_dir="$(systemd_get_userunitdir)" |
124 |
+ ) |
125 |
+ meson_src_configure |
126 |
+} |
127 |
+ |
128 |
+src_test() { |
129 |
+ dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed' |
130 |
+} |
131 |
+ |
132 |
+pkg_postinst() { |
133 |
+ xdg_pkg_postinst |
134 |
+ gnome2_schemas_update |
135 |
+} |
136 |
+ |
137 |
+pkg_postrm() { |
138 |
+ xdg_pkg_postrm |
139 |
+ gnome2_schemas_update |
140 |
+} |