# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit eutils xdg-utils gnome2-utils pax-utils unpacker
+inherit gnome2-utils pax-utils unpacker xdg-utils
DESCRIPTION="Spotify is a social music platform"
HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
RESTRICT="mirror strip"
DEPEND=""
-# zenety needed for filepicker
+# zenity needed for filepicker
RDEPEND="
${DEPEND}
dev-libs/nss
fi
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
gnome2_icon_cache_update
xdg_mimeinfo_database_update
ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
ewarn "To remove the cache:"
ewarn "rm -rf ~/.cache/spotify"
- ewarn
- ewarn "If you use KDE and are upgrading from 0.9 to 1.0, you might still see the old icon."
- ewarn "Run"
- ewarn "$ rm /var/tmp/kdecache-\$USER/icon-cache.kcache"
- ewarn "Then log out and log in back to KDE."
}
pkg_postrm() {
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit eutils xdg-utils gnome2-utils pax-utils unpacker
+inherit gnome2-utils pax-utils unpacker xdg-utils
DESCRIPTION="Spotify is a social music platform"
HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
RESTRICT="mirror strip"
DEPEND=">=dev-util/patchelf-0.9_p20180129"
-# zenety needed for filepicker
+# zenity needed for filepicker
RDEPEND="
dev-libs/openssl:0
dev-libs/nss
fi
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
gnome2_icon_cache_update
xdg_mimeinfo_database_update
ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
ewarn "To remove the cache:"
ewarn "rm -rf ~/.cache/spotify"
- ewarn
- ewarn "If you use KDE and are upgrading from 0.9 to 1.0, you might still see the old icon."
- ewarn "Run"
- ewarn "$ rm /var/tmp/kdecache-\$USER/icon-cache.kcache"
- ewarn "Then log out and log in back to KDE."
}
pkg_postrm() {