app-misc/tracker: add missing gnome2_schemas_update calls
authorMart Raudsepp <leio@gentoo.org>
Thu, 26 Sep 2019 16:15:14 +0000 (19:15 +0300)
committerMart Raudsepp <leio@gentoo.org>
Thu, 26 Sep 2019 18:34:27 +0000 (21:34 +0300)
Bug: https://bugs.gentoo.org/695322
Package-Manager: Portage-2.3.69, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
app-misc/tracker/tracker-2.1.8.ebuild
app-misc/tracker/tracker-2.2.2.ebuild

index a709313c84a79c4d92a45089b577537be00f0dd9..3b37db570e897650f1bd733624584d034c3f0103 100644 (file)
@@ -5,7 +5,7 @@ EAPI=6
 PYTHON_COMPAT=( python3_{5,6,7} )
 VALA_MAX_API_VERSION="0.44"
 
-inherit bash-completion-r1 eapi7-ver gnome.org linux-info meson python-any-r1 systemd vala xdg
+inherit bash-completion-r1 eapi7-ver 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"
@@ -96,3 +96,13 @@ 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
+}
index 22ad60d77d6651416d4d9490592b5786d662e408..ea0f9592c9176805d86b68896ec237620e49c1b7 100644 (file)
@@ -4,7 +4,7 @@
 EAPI=7
 PYTHON_COMPAT=( python3_{5,6,7} )
 
-inherit bash-completion-r1 gnome.org linux-info meson python-any-r1 systemd vala xdg
+inherit bash-completion-r1 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"
@@ -90,3 +90,13 @@ 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
+}