From 3528ec6326b11b6dc1ed01cbcbde060ed39129a7 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 1 May 2020 12:46:01 -0500 Subject: [PATCH] sci-chemistry/gelemental: use xdg-utils eclass Closes: https://bugs.gentoo.org/720308 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthias Maier --- ...ental-2.0.0.ebuild => gelemental-2.0.0-r1.ebuild} | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) rename sci-chemistry/gelemental/{gelemental-2.0.0.ebuild => gelemental-2.0.0-r1.ebuild} (77%) diff --git a/sci-chemistry/gelemental/gelemental-2.0.0.ebuild b/sci-chemistry/gelemental/gelemental-2.0.0-r1.ebuild similarity index 77% rename from sci-chemistry/gelemental/gelemental-2.0.0.ebuild rename to sci-chemistry/gelemental/gelemental-2.0.0-r1.ebuild index 96fbcf235cb4..4affe1b9171e 100644 --- a/sci-chemistry/gelemental/gelemental-2.0.0.ebuild +++ b/sci-chemistry/gelemental/gelemental-2.0.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools fdo-mime flag-o-matic gnome2-utils eutils +inherit autotools eutils flag-o-matic xdg-utils DESCRIPTION="Periodic table viewer with detailed information on the chemical elements" HOMEPAGE="https://github.com/ginggs/gelemental/" @@ -36,11 +36,13 @@ src_configure() { } pkg_postinst() { - gnome2_icon_cache_update - fdo-mime_desktop_database_update + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update } pkg_postrm() { - gnome2_icon_cache_update - fdo-mime_desktop_database_update + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update } -- 2.26.2