diff options
author | Guillermo Joandet <gjoandet@gmail.com> | 2023-05-12 20:36:22 -0300 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-05-12 20:15:16 -0400 |
commit | 6ee78ca59214d7b006201fd2da1541a457f04826 (patch) | |
tree | 317a685fc3368f5c488ede617d1361dfddd57393 /app-misc/tracker | |
parent | app-accessibility/at-spi2-core: Version bump to 2.48.2 (diff) | |
download | gentoo-6ee78ca59214d7b006201fd2da1541a457f04826.tar.gz gentoo-6ee78ca59214d7b006201fd2da1541a457f04826.tar.bz2 gentoo-6ee78ca59214d7b006201fd2da1541a457f04826.zip |
app-misc/tracker: Version bump to 3.5.2
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-misc/tracker')
-rw-r--r-- | app-misc/tracker/Manifest | 1 | ||||
-rw-r--r-- | app-misc/tracker/tracker-3.5.2.ebuild | 106 |
2 files changed, 107 insertions, 0 deletions
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest index 45adb5bcf814..32d31fc5aa8f 100644 --- a/app-misc/tracker/Manifest +++ b/app-misc/tracker/Manifest @@ -1,3 +1,4 @@ DIST tracker-3.4.2.tar.xz 1865236 BLAKE2B 31cdb33de38d9251fc60a71b31c539e3f045748fb5dc160656dd5187dce109da858bad5390864cda8b63466a5113e0a193e0799b662ec250a31cfdff79467e6e SHA512 2214bce7cdbaf1039b11986cf101f615337bbc450331ee703edcfd7ad62dee6e1db831c2c89bf341663cadcdaae6ee9e5a15f49a8087acaafd58b389292ef480 DIST tracker-3.5.0.tar.xz 2568708 BLAKE2B d3154e262ffa52890f98b0d00d3e2ddf69ca62e4d18a890a076fd1774bea97625a03180e058bebb1928536232f986e5f63c0990b162c73e69b534362b81cac09 SHA512 2c6d4f1c2c9d7687884052ae2ebc68e588cf91c56f98012ee138fc2020c66accb40f021c699d102b7634a936692341bd7ea28f3adfdb3c63c82ed9f837f97ba5 DIST tracker-3.5.1.tar.xz 2566076 BLAKE2B 5abb45c7cc5f9b7dca0fda90388c110448a3e22b092a00f5d97024d0273419b7ea869b51eef08b09038e6e89b9c42108170668c5e6962992b03f796898eb2548 SHA512 eb28213aed487eec2906f2f5bd2c31dc9766f50085fd1124085eeeb23a2db7b1ab7ba60b96540f9087512b957328596e92bc3267cc0e6cb33059eb7fe049897a +DIST tracker-3.5.2.tar.xz 2566540 BLAKE2B 53b8e26bf3f11c202b03a181b8817e931130b77648410ddf59e4d454bc60a209648779c5e1cbe1203b2529ebfe3fa9c5f39c6f862264e7807776c466cba26012 SHA512 e7162116c1089f4e1a06c6bf60e515b9dd9ce174a3ab8862d52c638004a1df7feb1d69c7b958051bdcff60202eaa58c29023e9a0012c0511d75d26e76a27cd10 diff --git a/app-misc/tracker/tracker-3.5.2.ebuild b/app-misc/tracker/tracker-3.5.2.ebuild new file mode 100644 index 000000000000..69a65b9a77e5 --- /dev/null +++ b/app-misc/tracker/tracker-3.5.2.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit bash-completion-r1 flag-o-matic gnome.org gnome2-utils linux-info meson python-any-r1 systemd vala xdg + +DESCRIPTION="A tagging metadata database, search tool and indexer" +HOMEPAGE="https://wiki.gnome.org/Projects/Tracker https://gitlab.gnome.org/GNOME/tracker" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="3/0" # libtracker-sparql-3.0 soname version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="gtk-doc +miners stemmer test vala" +RESTRICT="!test? ( test )" + +PV_SERIES=$(ver_cut 1-2) + +RDEPEND=" + >=dev-libs/glib-2.52:2 + >=sys-apps/dbus-1.3.2 + >=dev-libs/gobject-introspection-1.54:= + >=dev-libs/icu-4.8.1.2:= + >=dev-libs/json-glib-1.4 + >=net-libs/libsoup-2.99.2:3.0 + >=dev-libs/libxml2-2.7 + >=dev-db/sqlite-3.29.0:3 + stemmer? ( dev-libs/snowball-stemmer:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + app-text/asciidoc + dev-libs/libxslt + $(vala_depend) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + gtk-doc? ( dev-util/gi-docgen ) + test? ( + $(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]') + ) + ${PYTHON_DEPS} +" +PDEPEND="miners? ( >=app-misc/tracker-miners-${PV_SERIES} )" + +python_check_deps() { + python_has_version -b \ + "dev-python/pygobject[${PYTHON_USEDEP}]" \ + "dev-python/tappy[${PYTHON_USEDEP}]" +} + +pkg_setup() { + local CONFIG_CHECK="~INOTIFY_USER" + linux-info_pkg_setup + + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + vala_setup + xdg_environment_reset +} + +src_configure() { + append-cflags -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS + + local emesonargs=( + $(meson_use gtk-doc docs) + -Dman=true + $(meson_feature stemmer) + -Dunicode_support=icu + -Dbash_completion_dir="$(get_bashcompdir)" + -Dsystemd_user_services_dir="$(systemd_get_userunitdir)" + $(meson_use test tests) + -Dintrospection=enabled + $(meson_feature vala vapi) + -Dsoup=soup3 + ) + meson_src_configure +} + +src_test() { + dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed' +} + +src_install() { + meson_src_install + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/Tracker-3.0 "${ED}"/usr/share/gtk-doc/html/ || die + fi +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |