Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/spotify/spotify-0.9.0.133.ebuild,v 1.1 2013/05/03 02:50:39 prometheanfire Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/spotify/spotify-0.9.0.133.ebuild,v 1.1 2013/05/03 02:50:39 prometheanfire Exp $ |
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=4 |
6 |
inherit eutils pax-utils unpacker |
6 |
inherit eutils fdo-mime gnome2-utils pax-utils unpacker |
7 |
|
7 |
|
8 |
DESCRIPTION="Spotify is a social music platform" |
8 |
DESCRIPTION="Spotify is a social music platform" |
9 |
HOMEPAGE="https://www.spotify.com/ch-de/download/previews/" |
9 |
HOMEPAGE="https://www.spotify.com/ch-de/download/previews/" |
Lines 143-150
Link Here
|
143 |
${ED}/usr/bin/spotify |
143 |
${ED}/usr/bin/spotify |
144 |
} |
144 |
} |
145 |
|
145 |
|
|
|
146 |
pkg_preinst() { |
147 |
gnome2_icon_savelist |
148 |
} |
149 |
|
146 |
pkg_postinst() { |
150 |
pkg_postinst() { |
|
|
151 |
gnome2_icon_cache_update |
152 |
fdo-mime_mime_database_update |
153 |
fdo-mime_desktop_database_update |
154 |
|
147 |
ewarn "If Spotify crashes after an upgrade its cache may be corrupt." |
155 |
ewarn "If Spotify crashes after an upgrade its cache may be corrupt." |
148 |
ewarn "To remove the cache:" |
156 |
ewarn "To remove the cache:" |
149 |
ewarn "rm -rf ~/.cache/spotify" |
157 |
ewarn "rm -rf ~/.cache/spotify" |
150 |
} |
158 |
} |
|
|
159 |
|
160 |
pkg_postrm() { |
161 |
gnome2_icon_cache_update |
162 |
fdo-mime_mime_database_update |
163 |
fdo-mime_desktop_database_update |
164 |
} |