commit: 2329d32b35d5cb7bf4f472f2536b922dca3270f8 Author: Christopher Steward <cstew764 <AT> gmail <DOT> com> AuthorDate: Fri Jan 3 22:55:09 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Jan 21 19:10:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2329d32b
media-video/baka-mplayer: QA fix for xdg icon cache update Simple fix of QA issue reported by emerge, where xdg_icon_cache_update() has to be called after installing and after removing. Signed-off-by: Christopher Steward <cstew764 <AT> gmail.com> Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild | 14 +++++++++++--- media-video/baka-mplayer/baka-mplayer-9999.ebuild | 15 ++++++++++++--- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild b/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild index e13186333ae..2dabd87c4c2 100644 --- a/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild +++ b/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit qmake-utils +inherit qmake-utils xdg-utils DESCRIPTION="Cross-platform libmpv-based multimedia player with uncluttered design" HOMEPAGE="http://bakamplayer.u8sand.net/" @@ -16,8 +16,8 @@ IUSE="" BDEPEND=" dev-qt/linguist-tools:5 - virtual/pkgconfig -" + virtual/pkgconfig" + RDEPEND=" dev-qt/qtcore:5 dev-qt/qtgui:5 @@ -49,3 +49,11 @@ src_configure() { lupdate="$(qt5_get_bindir)"/lupdate \ src/Baka-MPlayer.pro } + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/media-video/baka-mplayer/baka-mplayer-9999.ebuild b/media-video/baka-mplayer/baka-mplayer-9999.ebuild index 73e27a96b7c..1351f8663d3 100644 --- a/media-video/baka-mplayer/baka-mplayer-9999.ebuild +++ b/media-video/baka-mplayer/baka-mplayer-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit qmake-utils git-r3 +inherit qmake-utils git-r3 xdg-utils DESCRIPTION="Cross-platform libmpv-based multimedia player with uncluttered design" HOMEPAGE="http://bakamplayer.u8sand.net/" @@ -18,7 +18,8 @@ BDEPEND=" dev-qt/linguist-tools:5 virtual/pkgconfig" -RDEPEND="dev-qt/qtcore:5 +RDEPEND=" + dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtsvg:5 @@ -46,3 +47,11 @@ src_configure() { lupdate="$(qt5_get_bindir)"/lupdate \ src/Baka-MPlayer.pro } + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}
