From 7bf9e3db263e64d6cbc306440a7f3c44e551bb13 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 6 Dec 2022 03:08:16 +0000 Subject: gentoo auto-resync : 06:12:2022 - 03:08:16 --- app-misc/tracker/Manifest | 2 + app-misc/tracker/tracker-3.4.2.ebuild | 113 ++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 app-misc/tracker/tracker-3.4.2.ebuild (limited to 'app-misc/tracker') diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest index 38e661d54ec5..a631967bd7da 100644 --- a/app-misc/tracker/Manifest +++ b/app-misc/tracker/Manifest @@ -1,5 +1,7 @@ DIST tracker-3.4.0.tar.xz 1876476 BLAKE2B 9745a496df30ebcd2f7e4a525bcd047d48ec4f68e12ef9775958e01939b538832e4d2622498a8ffd358d1a404c67365c70437e083497e8c12e1cbbb0c07713f7 SHA512 0a765d93cbe737a9cf902d1dc1ca00463065c1e7b3f93a7a8132919dfed97acdf80d99cf8f49b61e1a2bfc77a115f74e88731b3b0739651d2f727215c83f077f DIST tracker-3.4.1.tar.xz 1865584 BLAKE2B 78a1c461e628095ca134241d7f8580806f8de018608c991644422503a3af6bab2c317859624cb811dd2907f2965af3ab2cfb1a58fa35017ed6a71b24e68f3c97 SHA512 102d61abd98feb6e39575c3df25cd4604e89106ed928b8edb1a3adc1bccd41f4ab92fc8bfd33d96b48c3b2cf5a3d901130ac6bf6f657faebe7339fffb95eed26 +DIST tracker-3.4.2.tar.xz 1865236 BLAKE2B 31cdb33de38d9251fc60a71b31c539e3f045748fb5dc160656dd5187dce109da858bad5390864cda8b63466a5113e0a193e0799b662ec250a31cfdff79467e6e SHA512 2214bce7cdbaf1039b11986cf101f615337bbc450331ee703edcfd7ad62dee6e1db831c2c89bf341663cadcdaae6ee9e5a15f49a8087acaafd58b389292ef480 EBUILD tracker-3.4.0.ebuild 2712 BLAKE2B a670dc4329a3b3c405de6de8364f5320517bd4d71f40e3fe431686da348960bcfe21d1b5e1c94374b46086c103ddad7b20f6b5b1c1c44fafcf244adc345143bb SHA512 ad46724e1bc79f9020fda1dc6a2522b1776e52589750ee1a73fb8ed257901256279995628dd42be07e6ca7e8400df480e59a4adcd8ed71d298ef2399369a92d5 EBUILD tracker-3.4.1.ebuild 2722 BLAKE2B cb64e1bd58604bee50452fd42b3de2dc40d683e45f040d4c5eb5d5a7f12e7bfe504e3d512a0f7ae4bc1c4ed7c11c993b8f04f6ff67308815186d130b55e9d3d4 SHA512 b0bd6f0dbd19957d71090df2feafc894f8856ea19d611d06d3401be96df498d628582467cfa37ca45c0502d403ab6b6f84eaea6947104dbc900a5ef7de75a779 +EBUILD tracker-3.4.2.ebuild 2722 BLAKE2B cb64e1bd58604bee50452fd42b3de2dc40d683e45f040d4c5eb5d5a7f12e7bfe504e3d512a0f7ae4bc1c4ed7c11c993b8f04f6ff67308815186d130b55e9d3d4 SHA512 b0bd6f0dbd19957d71090df2feafc894f8856ea19d611d06d3401be96df498d628582467cfa37ca45c0502d403ab6b6f84eaea6947104dbc900a5ef7de75a779 MISC metadata.xml 586 BLAKE2B 8244e6f8d9491a0c224ed84f17ee6ad64b22e0c373243a319e7911739a7db6223ce47693ed5b31053b4465f35d20108db1469d74afcebb36b4516a53cbd7f98a SHA512 0a60b0e4b077bb03d02b7990511041695c5dff7a8a0972fa80abe9968b643ad5c2ba65182c079e8d5f3d1ef72a2c4dcc659d6ec283bf80813135c94cab2dddef diff --git a/app-misc/tracker/tracker-3.4.2.ebuild b/app-misc/tracker/tracker-3.4.2.ebuild new file mode 100644 index 000000000000..3ec170a80cdb --- /dev/null +++ b/app-misc/tracker/tracker-3.4.2.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..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" +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) + gtk-doc? ( + >=dev-util/gtk-doc-1.8 + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xml-dtd:4.5 + ) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + 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} )" + +function inotify_enabled() { + if linux_config_exists; then + if ! linux_chkconfig_present INOTIFY_USER; then + ewarn "You should enable the INOTIFY support in your kernel." + ewarn "Check the 'Inotify support for userland' under the 'File systems'" + ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config" + die 'missing CONFIG_INOTIFY' + fi + else + einfo "Could not check for INOTIFY support in your kernel." + fi +} + +python_check_deps() { + python_has_version -b \ + "dev-python/pygobject[${PYTHON_USEDEP}]" \ + "dev-python/tappy[${PYTHON_USEDEP}]" +} + +pkg_setup() { + linux-info_pkg_setup + inotify_enabled + + 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 + -Dsoup=soup3 + ) + meson_src_configure +} + +src_test() { + dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed' +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} -- cgit v1.2.3