Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/spotify/
Date: Sat, 18 Aug 2018 20:22:48
Message-Id: 1534623747.ff4dac6c1109e1e12c8ff829774d69c0b11385d2.prometheanfire@gentoo
1 commit: ff4dac6c1109e1e12c8ff829774d69c0b11385d2
2 Author: Nikos Chantziaras <realnc <AT> gmail <DOT> com>
3 AuthorDate: Sat Aug 18 15:01:54 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 18 20:22:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff4dac6c
7
8 media-sound/spotify: minor cleanups to old ebuilds
9
10 Package-Manager: Portage-2.3.47, Repoman-2.3.10
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 media-sound/spotify/spotify-1.0.72.ebuild | 13 ++-----------
14 media-sound/spotify/spotify-1.0.80.ebuild | 13 ++-----------
15 2 files changed, 4 insertions(+), 22 deletions(-)
16
17 diff --git a/media-sound/spotify/spotify-1.0.72.ebuild b/media-sound/spotify/spotify-1.0.72.ebuild
18 index 3b8d57bd25a..b4ac3c597ad 100644
19 --- a/media-sound/spotify/spotify-1.0.72.ebuild
20 +++ b/media-sound/spotify/spotify-1.0.72.ebuild
21 @@ -2,7 +2,7 @@
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=6
25 -inherit eutils xdg-utils gnome2-utils pax-utils unpacker
26 +inherit gnome2-utils pax-utils unpacker xdg-utils
27
28 DESCRIPTION="Spotify is a social music platform"
29 HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
30 @@ -19,7 +19,7 @@ IUSE="libnotify systray pax_kernel pulseaudio"
31 RESTRICT="mirror strip"
32
33 DEPEND=""
34 -# zenety needed for filepicker
35 +# zenity needed for filepicker
36 RDEPEND="
37 ${DEPEND}
38 dev-libs/nss
39 @@ -94,10 +94,6 @@ src_install() {
40 fi
41 }
42
43 -pkg_preinst() {
44 - gnome2_icon_savelist
45 -}
46 -
47 pkg_postinst() {
48 gnome2_icon_cache_update
49 xdg_mimeinfo_database_update
50 @@ -106,11 +102,6 @@ pkg_postinst() {
51 ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
52 ewarn "To remove the cache:"
53 ewarn "rm -rf ~/.cache/spotify"
54 - ewarn
55 - ewarn "If you use KDE and are upgrading from 0.9 to 1.0, you might still see the old icon."
56 - ewarn "Run"
57 - ewarn "$ rm /var/tmp/kdecache-\$USER/icon-cache.kcache"
58 - ewarn "Then log out and log in back to KDE."
59 }
60
61 pkg_postrm() {
62
63 diff --git a/media-sound/spotify/spotify-1.0.80.ebuild b/media-sound/spotify/spotify-1.0.80.ebuild
64 index da910ba96d6..ae609de2a96 100644
65 --- a/media-sound/spotify/spotify-1.0.80.ebuild
66 +++ b/media-sound/spotify/spotify-1.0.80.ebuild
67 @@ -2,7 +2,7 @@
68 # Distributed under the terms of the GNU General Public License v2
69
70 EAPI=6
71 -inherit eutils xdg-utils gnome2-utils pax-utils unpacker
72 +inherit gnome2-utils pax-utils unpacker xdg-utils
73
74 DESCRIPTION="Spotify is a social music platform"
75 HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
76 @@ -19,7 +19,7 @@ IUSE="libnotify systray pax_kernel pulseaudio"
77 RESTRICT="mirror strip"
78
79 DEPEND=">=dev-util/patchelf-0.9_p20180129"
80 -# zenety needed for filepicker
81 +# zenity needed for filepicker
82 RDEPEND="
83 dev-libs/openssl:0
84 dev-libs/nss
85 @@ -98,10 +98,6 @@ src_install() {
86 fi
87 }
88
89 -pkg_preinst() {
90 - gnome2_icon_savelist
91 -}
92 -
93 pkg_postinst() {
94 gnome2_icon_cache_update
95 xdg_mimeinfo_database_update
96 @@ -110,11 +106,6 @@ pkg_postinst() {
97 ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
98 ewarn "To remove the cache:"
99 ewarn "rm -rf ~/.cache/spotify"
100 - ewarn
101 - ewarn "If you use KDE and are upgrading from 0.9 to 1.0, you might still see the old icon."
102 - ewarn "Run"
103 - ewarn "$ rm /var/tmp/kdecache-\$USER/icon-cache.kcache"
104 - ewarn "Then log out and log in back to KDE."
105 }
106
107 pkg_postrm() {