commit:     08f35ab929177021f46b919dcefd6ba327e32275
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 24 14:46:05 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Sep 24 14:47:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08f35ab9

app-misc/tracker: Version bump to 3.4.0

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-misc/tracker/Manifest             |   1 +
 app-misc/tracker/tracker-3.4.0.ebuild | 113 ++++++++++++++++++++++++++++++++++
 2 files changed, 114 insertions(+)

diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest
index 598146c8e24e..b6e2262be80b 100644
--- a/app-misc/tracker/Manifest
+++ b/app-misc/tracker/Manifest
@@ -1,2 +1,3 @@
 DIST tracker-3.3.2.tar.xz 1977512 BLAKE2B 
92d8db9ad33b019f47194f086379e1f9370d9ce3643a2a2dc02d277be755e5a892ab4c6bead8c2d50db642aca37141c9961d2fd1f862be57a6e0f78b479eb03f
 SHA512 
2009c7a9b82fd278e38bc71cb41ef1fccb23493bd84a71456c7568ed7a025ce68bab689b8f14b8008479a203a5fdc02acea1862f4f482467ed5c295bde3d4ad8
 DIST tracker-3.3.3.tar.xz 1976160 BLAKE2B 
aa61b83ac499736b1cc6273813ef0bf44dae9c4a30d49f28d97205b31ead7e55021312297973cf37be67edc76bf66ca19edd746ae2269e59da406d23bcc018c7
 SHA512 
0f8ad998a5de6914d1e24da1b2021967339a2e637996b3e672fe4991177e69b750cdd9eb894e5e6f5f394d991b680d40afc05b95f69171ec38278e30c9729a15
+DIST tracker-3.4.0.tar.xz 1876476 BLAKE2B 
9745a496df30ebcd2f7e4a525bcd047d48ec4f68e12ef9775958e01939b538832e4d2622498a8ffd358d1a404c67365c70437e083497e8c12e1cbbb0c07713f7
 SHA512 
0a765d93cbe737a9cf902d1dc1ca00463065c1e7b3f93a7a8132919dfed97acdf80d99cf8f49b61e1a2bfc77a115f74e88731b3b0739651d2f727215c83f077f

diff --git a/app-misc/tracker/tracker-3.4.0.ebuild 
b/app-misc/tracker/tracker-3.4.0.ebuild
new file mode 100644
index 000000000000..d69eb3bbea64
--- /dev/null
+++ b/app-misc/tracker/tracker-3.4.0.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 ~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.40.1:2.4
+       >=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=soup2
+       )
+       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
+}

Reply via email to