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: Sun, 10 Dec 2017 17:38:36
Message-Id: 1512927497.2544ce630b3790859bb6df8814a6a3a35920b198.prometheanfire@gentoo
1 commit: 2544ce630b3790859bb6df8814a6a3a35920b198
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 10 17:37:48 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 10 17:38:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2544ce63
7
8 media-sound/spotify: remove 1.0.66 as it was removed from mirror
9
10 Package-Manager: Portage-2.3.14, Repoman-2.3.6
11
12 media-sound/spotify/Manifest | 2 -
13 media-sound/spotify/spotify-1.0.66.ebuild | 117 ------------------------------
14 2 files changed, 119 deletions(-)
15
16 diff --git a/media-sound/spotify/Manifest b/media-sound/spotify/Manifest
17 index 4ebc15b850d..a8356e041b0 100644
18 --- a/media-sound/spotify/Manifest
19 +++ b/media-sound/spotify/Manifest
20 @@ -1,6 +1,4 @@
21 DIST spotify-client_1.0.64.407.g9bd02c2d-26_amd64.deb 93425432 SHA256 8c97a95ade46ce9f8e2bbe565cd2e79396ed31fc4f0646a907a6f3e028db887d SHA512 78352ed0cd116b8ef8c2b9ffc3c186d2fecd3dd5f49f0f732ccf0a3a796b72faf60cd4997355bb4f34f450f8af0b7684e28e8e21a14b7902cba2ea49fe4a81eb WHIRLPOOL db9d74ce31d57704184e6a00b18b3cc417cdffeb6e582d0c41ddc0ba5c822fa4dfebad9d9cf151ebecc46d3b3892714e0fec91ced356d57f3c51dd94a8cce370
22 DIST spotify-client_1.0.64.407.g9bd02c2d-26_i386.deb 97705428 SHA256 0e32bc8b21d591f8def932403b8ef3632e95eba4b5628506dfdf6d521dce7941 SHA512 43342faf26b7530dbb3fecafebcb7dac6ed6b7323c845f373bb63760ab309f4f01c6f4dd1cb4ab1bfd9a97b383fb863ba5f2aa7e73d32d1575bf8964dcdf30a5 WHIRLPOOL f3c42136e0682bddaec17829a05a9237d95b6d8f79b9ed27e2cdd77d011ea015fb4532d5f5878c03e15661207779a65e7e228a46821c13899b17513f12612863
23 -DIST spotify-client_1.0.66.478.g1296534d-39_amd64.deb 90932368 SHA256 a2e739c0ee009df1c899e42c095735bca231312b75b82e311147d41fb72404c1 SHA512 cd8b073f981b5bf793d87de22922054df141dbf58c5eac96eb55e44f1672b8057c79ee950a14a8a34aaa5d59e961b87df56198f382330d079553212189a1975c WHIRLPOOL 5c3cfe26e3c7eaee53e506eeb72e3ab4fa13601f4debb6f003804abb0953c6c8796ff49fa983aa734750b773889d9d23d4634655a4c8526918e3f45e4c269a37
24 -DIST spotify-client_1.0.66.478.g1296534d-39_i386.deb 95213590 SHA256 29795bd5c226e54d531621e645ffe7bd2cc6b4e5c69956c63bdcaade165cb8d9 SHA512 5c1b56787930a672da9a8ead8246cb779c6680dce6e5514c098e81712c9b131b77d45afa2ccedb95635b5387aab4db8c7e7f6dddb0cefb3cbdfb573d60920af7 WHIRLPOOL 5cfaa8fb5ede2bcec27c2bd557cc3c2dbda8e75cb140c48cecae21dfdfb18129996a1d6a7707b97ecfab1227c1a1f4b0420a44b16146233641141882ac5b19bf
25 DIST spotify-client_1.0.67.582.g19436fa3-28_amd64.deb 90723508 BLAKE2B 9551bcaae09895fd73b35b2e95a0dd4fff64e0cd70af9bd88fcf1a288f79195f99dae89852164fe66e6aebc6efb45ea6b258457e39727c0f6081cf68ff95cc42 SHA512 f9db71c5bce18fc4e2121316e1f229f06ca5510211698f79f75b5ff6b297d9603ff50810bf2b7dae38d8625ed9c5a09c17549d6989eaef1ebe1f856e63858b3c
26 DIST spotify-client_1.0.67.582.g19436fa3-28_i386.deb 95004956 BLAKE2B 751e14573f5dd7aac7134545f147da293b1051dbcb37c055ad18224e5df4c155ba7142997ed77e5f90940850982e4a7162b66aa621ea5133d782b12e5cb9fb3a SHA512 7fcfb0b39bdbe1427c35c56f78cc5129d07630863553c025505a5bbe9c216f4dd8af123512e9853c75f9791b0a0a819e076d95a20788cd759ea8033b485b47e3
27
28 diff --git a/media-sound/spotify/spotify-1.0.66.ebuild b/media-sound/spotify/spotify-1.0.66.ebuild
29 deleted file mode 100644
30 index edc01daefd5..00000000000
31 --- a/media-sound/spotify/spotify-1.0.66.ebuild
32 +++ /dev/null
33 @@ -1,117 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -inherit eutils fdo-mime gnome2-utils pax-utils unpacker
39 -
40 -DESCRIPTION="Spotify is a social music platform"
41 -HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
42 -BUILD_ID="478.g1296534d"
43 -SRC_BASE="http://repository.spotify.com/pool/non-free/s/${PN}-client/"
44 -SRC_URI="amd64? ( ${SRC_BASE}${PN}-client_${PV}.${BUILD_ID}-39_amd64.deb )
45 - x86? ( ${SRC_BASE}${PN}-client_${PV}.${BUILD_ID}-39_i386.deb )"
46 -LICENSE="Spotify"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~x86"
49 -IUSE="gnome pax_kernel pulseaudio"
50 -RESTRICT="mirror strip"
51 -
52 -DEPEND=""
53 -# zenety needed for filepicker
54 -RDEPEND="
55 - ${DEPEND}
56 - dev-libs/nss
57 - gnome-base/gconf
58 - gnome-extra/zenity
59 - media-libs/alsa-lib
60 - media-libs/harfbuzz
61 - media-libs/fontconfig
62 - media-libs/mesa
63 - net-misc/curl[ssl,curl_ssl_openssl]
64 - net-print/cups[ssl]
65 - x11-libs/gtk+:2
66 - x11-libs/libXScrnSaver
67 - x11-libs/libXtst
68 - dev-python/pygobject:3
69 - dev-python/dbus-python
70 - pulseaudio? ( media-sound/pulseaudio )
71 - gnome? ( gnome-extra/gnome-integration-spotify )"
72 - #sys-libs/glibc
73 -
74 -S=${WORKDIR}/
75 -
76 -QA_PREBUILT="opt/spotify/spotify-client/spotify"
77 -
78 -src_prepare() {
79 - # Fix desktop entry to launch spotify-dbus.py for GNOME integration
80 - if use gnome ; then
81 - sed -i \
82 - -e 's/spotify \%U/spotify-dbus.py \%U/g' \
83 - usr/share/spotify/spotify.desktop || die "sed failed"
84 - fi
85 - default
86 -}
87 -
88 -src_install() {
89 - dodoc usr/share/doc/spotify-client/changelog.gz
90 -
91 - SPOTIFY_PKG_HOME=usr/share/spotify
92 - insinto /usr/share/pixmaps
93 - doins ${SPOTIFY_PKG_HOME}/icons/*.png
94 -
95 - # install in /opt/spotify
96 - SPOTIFY_HOME=/opt/spotify/spotify-client
97 - insinto ${SPOTIFY_HOME}
98 - doins -r ${SPOTIFY_PKG_HOME}/*
99 - fperms +x ${SPOTIFY_HOME}/spotify
100 -
101 - dodir /usr/bin
102 - cat <<-EOF >"${D}"/usr/bin/spotify || die
103 - #! /bin/sh
104 - exec ${SPOTIFY_HOME}/spotify "\$@"
105 - EOF
106 - fperms +x /usr/bin/spotify
107 -
108 - local size
109 - for size in 16 22 24 32 48 64 128 256 512; do
110 - newicon -s ${size} "${S}${SPOTIFY_PKG_HOME}/icons/spotify-linux-${size}.png" \
111 - "spotify-client.png"
112 - done
113 - domenu "${S}${SPOTIFY_PKG_HOME}/spotify.desktop"
114 - if use pax_kernel; then
115 - #create the headers, reset them to default, then paxmark -m them
116 - pax-mark C "${ED}${SPOTIFY_HOME}/${PN}" || die
117 - pax-mark z "${ED}${SPOTIFY_HOME}/${PN}" || die
118 - pax-mark m "${ED}${SPOTIFY_HOME}/${PN}" || die
119 - eqawarn "You have set USE=pax_kernel meaning that you intend to run"
120 - eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
121 - eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
122 - eqawarn "you suspect that ${PN} is being broken by this modification,"
123 - eqawarn "please open a bug."
124 - fi
125 -}
126 -
127 -pkg_preinst() {
128 - gnome2_icon_savelist
129 -}
130 -
131 -pkg_postinst() {
132 - gnome2_icon_cache_update
133 - fdo-mime_mime_database_update
134 - fdo-mime_desktop_database_update
135 -
136 - ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
137 - ewarn "To remove the cache:"
138 - ewarn "rm -rf ~/.cache/spotify"
139 - ewarn
140 - ewarn "If you use KDE and are upgrading from 0.9 to 1.0, you might still see the old icon."
141 - ewarn "Run"
142 - ewarn "$ rm /var/tmp/kdecache-\$USER/icon-cache.kcache"
143 - ewarn "Then log out and log in back to KDE."
144 -}
145 -
146 -pkg_postrm() {
147 - gnome2_icon_cache_update
148 - fdo-mime_mime_database_update
149 - fdo-mime_desktop_database_update
150 -}