1 |
commit: 2329d32b35d5cb7bf4f472f2536b922dca3270f8 |
2 |
Author: Christopher Steward <cstew764 <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jan 3 22:55:09 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 21 19:10:49 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2329d32b |
7 |
|
8 |
media-video/baka-mplayer: QA fix for xdg icon cache update |
9 |
|
10 |
Simple fix of QA issue reported by emerge, where |
11 |
xdg_icon_cache_update() has to be called after installing |
12 |
and after removing. |
13 |
|
14 |
Signed-off-by: Christopher Steward <cstew764 <AT> gmail.com> |
15 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
16 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
17 |
|
18 |
media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild | 14 +++++++++++--- |
19 |
media-video/baka-mplayer/baka-mplayer-9999.ebuild | 15 ++++++++++++--- |
20 |
2 files changed, 23 insertions(+), 6 deletions(-) |
21 |
|
22 |
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 |
23 |
index e13186333ae..2dabd87c4c2 100644 |
24 |
--- a/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild |
25 |
+++ b/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild |
26 |
@@ -3,7 +3,7 @@ |
27 |
|
28 |
EAPI=7 |
29 |
|
30 |
-inherit qmake-utils |
31 |
+inherit qmake-utils xdg-utils |
32 |
|
33 |
DESCRIPTION="Cross-platform libmpv-based multimedia player with uncluttered design" |
34 |
HOMEPAGE="http://bakamplayer.u8sand.net/" |
35 |
@@ -16,8 +16,8 @@ IUSE="" |
36 |
|
37 |
BDEPEND=" |
38 |
dev-qt/linguist-tools:5 |
39 |
- virtual/pkgconfig |
40 |
-" |
41 |
+ virtual/pkgconfig" |
42 |
+ |
43 |
RDEPEND=" |
44 |
dev-qt/qtcore:5 |
45 |
dev-qt/qtgui:5 |
46 |
@@ -49,3 +49,11 @@ src_configure() { |
47 |
lupdate="$(qt5_get_bindir)"/lupdate \ |
48 |
src/Baka-MPlayer.pro |
49 |
} |
50 |
+ |
51 |
+pkg_postinst() { |
52 |
+ xdg_icon_cache_update |
53 |
+} |
54 |
+ |
55 |
+pkg_postrm() { |
56 |
+ xdg_icon_cache_update |
57 |
+} |
58 |
|
59 |
diff --git a/media-video/baka-mplayer/baka-mplayer-9999.ebuild b/media-video/baka-mplayer/baka-mplayer-9999.ebuild |
60 |
index 73e27a96b7c..1351f8663d3 100644 |
61 |
--- a/media-video/baka-mplayer/baka-mplayer-9999.ebuild |
62 |
+++ b/media-video/baka-mplayer/baka-mplayer-9999.ebuild |
63 |
@@ -1,9 +1,9 @@ |
64 |
-# Copyright 1999-2019 Gentoo Authors |
65 |
+# Copyright 1999-2020 Gentoo Authors |
66 |
# Distributed under the terms of the GNU General Public License v2 |
67 |
|
68 |
EAPI=7 |
69 |
|
70 |
-inherit qmake-utils git-r3 |
71 |
+inherit qmake-utils git-r3 xdg-utils |
72 |
|
73 |
DESCRIPTION="Cross-platform libmpv-based multimedia player with uncluttered design" |
74 |
HOMEPAGE="http://bakamplayer.u8sand.net/" |
75 |
@@ -18,7 +18,8 @@ BDEPEND=" |
76 |
dev-qt/linguist-tools:5 |
77 |
virtual/pkgconfig" |
78 |
|
79 |
-RDEPEND="dev-qt/qtcore:5 |
80 |
+RDEPEND=" |
81 |
+ dev-qt/qtcore:5 |
82 |
dev-qt/qtgui:5 |
83 |
dev-qt/qtnetwork:5 |
84 |
dev-qt/qtsvg:5 |
85 |
@@ -46,3 +47,11 @@ src_configure() { |
86 |
lupdate="$(qt5_get_bindir)"/lupdate \ |
87 |
src/Baka-MPlayer.pro |
88 |
} |
89 |
+ |
90 |
+pkg_postinst() { |
91 |
+ xdg_icon_cache_update |
92 |
+} |
93 |
+ |
94 |
+pkg_postrm() { |
95 |
+ xdg_icon_cache_update |
96 |
+} |