commit: 0a2cfc11a4d27346c358676a6a806a0cfb860004 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Wed Aug 4 21:29:09 2021 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Wed Aug 4 21:29:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a2cfc11
app-text/evince: Handle schemas installation Also simplify ebuild and rely on exported phases from inherited eclasses Closes: https://bugs.gentoo.org/802819 Thanks-to: Alex Xu Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> app-text/evince/evince-40.4.ebuild | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/app-text/evince/evince-40.4.ebuild b/app-text/evince/evince-40.4.ebuild index f3d4f7e417e..c63d4e42db3 100644 --- a/app-text/evince/evince-40.4.ebuild +++ b/app-text/evince/evince-40.4.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit gnome.org meson systemd xdg +inherit gnome.org gnome2-utils meson systemd xdg DESCRIPTION="Simple document viewer for GNOME" HOMEPAGE="https://wiki.gnome.org/Apps/Evince" @@ -70,7 +70,7 @@ PATCHES=( ) src_prepare() { - default + xdg_src_prepare # Do not depend on adwaita-icon-theme, bug #326855, #391859 # https://gitlab.freedesktop.org/xdg/default-icon-theme/issues/7 @@ -114,14 +114,12 @@ src_configure() { meson_src_configure } -src_compile() { - meson_src_compile +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update } -src_test() { - meson_src_test -} - -src_install() { - meson_src_install +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update }
