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@gmail.com>
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
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/"
BDEPEND="
dev-qt/linguist-tools:5
- virtual/pkgconfig
-"
+ virtual/pkgconfig"
+
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
lupdate="$(qt5_get_bindir)"/lupdate \
src/Baka-MPlayer.pro
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
-# 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/"
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
lupdate="$(qt5_get_bindir)"/lupdate \
src/Baka-MPlayer.pro
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}