commit: a48417a2831485278cd96048f9a7820b8349d3a0 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> AuthorDate: Sat Apr 17 17:38:41 2021 +0000 Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> CommitDate: Sat Apr 17 17:38:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a48417a2
games-arcade/taisei: Use xdg-utils and update DBs and caches. This updates xdg-icon-cache, desktop-db and mimeinfo-db, which is needed since an icon, mime info and desktop files with mime info are being installed. Revbump to apply these changes. Closes: https://bugs.gentoo.org/783450 Closes: https://bugs.gentoo.org/783453 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com> .../taisei/{taisei-1.3.1.ebuild => taisei-1.3.1-r1.ebuild} | 14 +++++++++++++- games-arcade/taisei/taisei-9999.ebuild | 14 +++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/games-arcade/taisei/taisei-1.3.1.ebuild b/games-arcade/taisei/taisei-1.3.1-r1.ebuild similarity index 83% rename from games-arcade/taisei/taisei-1.3.1.ebuild rename to games-arcade/taisei/taisei-1.3.1-r1.ebuild index 26982cbef..381361ff3 100644 --- a/games-arcade/taisei/taisei-1.3.1.ebuild +++ b/games-arcade/taisei/taisei-1.3.1-r1.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) -inherit meson python-any-r1 +inherit meson python-any-r1 xdg-utils if [[ ${PV} == *9999* ]]; then inherit git-r3 @@ -54,3 +54,15 @@ src_configure() { ) meson_src_configure } + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/games-arcade/taisei/taisei-9999.ebuild b/games-arcade/taisei/taisei-9999.ebuild index 9213c4124..a50bcba07 100644 --- a/games-arcade/taisei/taisei-9999.ebuild +++ b/games-arcade/taisei/taisei-9999.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) -inherit meson python-any-r1 +inherit meson python-any-r1 xdg-utils if [[ ${PV} == *9999* ]]; then inherit git-r3 @@ -55,3 +55,15 @@ src_configure() { ) meson_src_configure } + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +}