1 |
commit: b946d6fef0d8294c2be91f0a5a93722dddeb0a88 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 8 11:20:18 2019 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 8 11:20:34 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b946d6fe |
7 |
|
8 |
media-libs/phonon-gstreamer: update icon cache |
9 |
|
10 |
Closes: https://bugs.gentoo.org/682474 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org> |
13 |
|
14 |
media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild | 10 +++++++++- |
15 |
media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild | 12 ++++++++++-- |
16 |
2 files changed, 19 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild b/media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild |
19 |
index e2f6469b9c6..c80af05ae4f 100644 |
20 |
--- a/media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild |
21 |
+++ b/media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild |
22 |
@@ -14,7 +14,7 @@ else |
23 |
inherit git-r3 |
24 |
fi |
25 |
|
26 |
-inherit cmake-utils |
27 |
+inherit cmake-utils xdg-utils |
28 |
|
29 |
DESCRIPTION="Phonon GStreamer backend" |
30 |
HOMEPAGE="https://phonon.kde.org/" |
31 |
@@ -52,3 +52,11 @@ src_configure() { |
32 |
local mycmakeargs=( -DPHONON_BUILD_PHONON4QT5=ON ) |
33 |
cmake-utils_src_configure |
34 |
} |
35 |
+ |
36 |
+pkg_postinst() { |
37 |
+ xdg_icon_cache_update |
38 |
+} |
39 |
+ |
40 |
+pkg_postrm() { |
41 |
+ xdg_icon_cache_update |
42 |
+} |
43 |
|
44 |
diff --git a/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild b/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild |
45 |
index 0d59d267cf7..541cae229fe 100644 |
46 |
--- a/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild |
47 |
+++ b/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild |
48 |
@@ -1,4 +1,4 @@ |
49 |
-# Copyright 1999-2018 Gentoo Authors |
50 |
+# Copyright 1999-2019 Gentoo Authors |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
|
53 |
EAPI=7 |
54 |
@@ -14,7 +14,7 @@ else |
55 |
inherit git-r3 |
56 |
fi |
57 |
|
58 |
-inherit cmake-utils |
59 |
+inherit cmake-utils xdg-utils |
60 |
|
61 |
DESCRIPTION="Phonon GStreamer backend" |
62 |
HOMEPAGE="https://phonon.kde.org/" |
63 |
@@ -47,3 +47,11 @@ src_configure() { |
64 |
local mycmakeargs=( -DPHONON_BUILD_PHONON4QT5=ON ) |
65 |
cmake-utils_src_configure |
66 |
} |
67 |
+ |
68 |
+pkg_postinst() { |
69 |
+ xdg_icon_cache_update |
70 |
+} |
71 |
+ |
72 |
+pkg_postrm() { |
73 |
+ xdg_icon_cache_update |
74 |
+} |