1 |
commit: cf9c5635271dade94c184e7b720ced62c3d77db0 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 29 18:12:53 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 29 18:12:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf9c5635 |
7 |
|
8 |
media-sound/mpd: call xdg |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
media-sound/mpd/mpd-0.21.14.ebuild | 7 ++++++- |
14 |
media-sound/mpd/mpd-0.21.15.ebuild | 7 ++++++- |
15 |
2 files changed, 12 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/media-sound/mpd/mpd-0.21.14.ebuild b/media-sound/mpd/mpd-0.21.14.ebuild |
18 |
index c886ec4ed03..16b37d262a4 100644 |
19 |
--- a/media-sound/mpd/mpd-0.21.14.ebuild |
20 |
+++ b/media-sound/mpd/mpd-0.21.14.ebuild |
21 |
@@ -3,7 +3,7 @@ |
22 |
|
23 |
EAPI=7 |
24 |
|
25 |
-inherit flag-o-matic linux-info meson systemd user |
26 |
+inherit flag-o-matic linux-info meson systemd user xdg-utils |
27 |
|
28 |
DESCRIPTION="The Music Player Daemon (mpd)" |
29 |
HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD" |
30 |
@@ -291,4 +291,9 @@ src_install() { |
31 |
pkg_postinst() { |
32 |
# also change the homedir if the user has existed before |
33 |
usermod -d "/var/lib/mpd" mpd || die "usermod failed" |
34 |
+ xdg_icon_cache_update |
35 |
+} |
36 |
+ |
37 |
+pkg_postrm() { |
38 |
+ xdg_icon_cache_update |
39 |
} |
40 |
|
41 |
diff --git a/media-sound/mpd/mpd-0.21.15.ebuild b/media-sound/mpd/mpd-0.21.15.ebuild |
42 |
index 984310bc536..1d1dabe992f 100644 |
43 |
--- a/media-sound/mpd/mpd-0.21.15.ebuild |
44 |
+++ b/media-sound/mpd/mpd-0.21.15.ebuild |
45 |
@@ -3,7 +3,7 @@ |
46 |
|
47 |
EAPI=7 |
48 |
|
49 |
-inherit flag-o-matic linux-info meson systemd user |
50 |
+inherit flag-o-matic linux-info meson systemd user xdg-utils |
51 |
|
52 |
DESCRIPTION="The Music Player Daemon (mpd)" |
53 |
HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD" |
54 |
@@ -291,4 +291,9 @@ src_install() { |
55 |
pkg_postinst() { |
56 |
# also change the homedir if the user has existed before |
57 |
usermod -d "/var/lib/mpd" mpd || die "usermod failed" |
58 |
+ xdg_icon_cache_update |
59 |
+} |
60 |
+ |
61 |
+pkg_postrm() { |
62 |
+ xdg_icon_cache_update |
63 |
} |