diff options
author | Guillermo Joandet <gjoandet@gmail.com> | 2023-09-06 10:42:51 -0300 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-09-06 10:42:14 -0400 |
commit | 28a346b3e679144c41a1054ff8cb6650f2eed8d1 (patch) | |
tree | 9742bdf9837ab24695c34dcbda7af1c25a8ceccb /app-misc/tracker | |
parent | gnome-extra/tecla: Version bump to 45_rc (diff) | |
download | gentoo-28a346b3e679144c41a1054ff8cb6650f2eed8d1.tar.gz gentoo-28a346b3e679144c41a1054ff8cb6650f2eed8d1.tar.bz2 gentoo-28a346b3e679144c41a1054ff8cb6650f2eed8d1.zip |
app-misc/tracker: Version bump to 3.6_rc
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.6_rc.ebuild | 106 |
2 files changed, 107 insertions, 0 deletions
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest index 527c2bb9826f..0ce1df96f8d3 100644 --- a/app-misc/tracker/Manifest +++ b/app-misc/tracker/Manifest @@ -1,2 +1,3 @@ DIST tracker-3.5.3.tar.xz 2569412 BLAKE2B 8e35234f74eb4ae22c23661fedf6b3898e6daa41868d18473a9cbf998a7edbff893e63f15573585c130b8b7c40c65a4f5df8e057fd14dfe76dcfe2a9abed4cdb SHA512 ed75f7cbb75daab6597bab58937554b531bc2c32581148c2d828cb313644b198a057024c5202d0990237bc01119d1789f0fbc87868919fc2f00bcb40e76f7b23 DIST tracker-3.6.beta.tar.xz 2563616 BLAKE2B bc815b9ef01dff6907721018fdb9e59e431aa9a4542d0bf2c195a25207d8ca6d5ffa15a85f72e6b78af33b90c1f3a59e52742f8e8c41e521fdff4e9c46c85994 SHA512 2fc289b7cedf6b42ef0aa935427c169ebc3904bb089573052be8c8513989bc214b9924c597e09f174fc1d9bac9181de96a9914841ba8891af17fdcc3727d7a47 +DIST tracker-3.6.rc.tar.xz 2560272 BLAKE2B 3f8b56bfefa818ba7048b79b1227220cab3d0851b2f7cb9ec656049d930585c72a6e997d033fe3db129c7eb863e4a156668bb8c2de7dac96babab49c91a07efb SHA512 2b7e002fc930b7adfd070056c3660b82ae267a3a35296d6e7f2a5c5217353e977fa34f5ac7f6c51aa66bbb7b66b981034e9c2d90f8af07f227292a6a7e690315 diff --git a/app-misc/tracker/tracker-3.6_rc.ebuild b/app-misc/tracker/tracker-3.6_rc.ebuild new file mode 100644 index 000000000000..4df7c34a6c95 --- /dev/null +++ b/app-misc/tracker/tracker-3.6_rc.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_{10..12} ) + +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-3.6_rc )" + +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 +} |