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, 02 Apr 2016 22:48:08
Message-Id: 1459637247.989d1d19310093318a624fdc4e611700c52003ab.prometheanfire@gentoo
1 commit: 989d1d19310093318a624fdc4e611700c52003ab
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 22:47:27 2016 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 22:47:27 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=989d1d19
7
8 media-sound/spotify: updated again...
9
10 Package-Manager: portage-2.2.26
11
12 media-sound/spotify/Manifest | 2 -
13 media-sound/spotify/spotify-1.0.24.104.ebuild | 116 --------------------------
14 media-sound/spotify/spotify-1.0.26.125.ebuild | 2 +-
15 3 files changed, 1 insertion(+), 119 deletions(-)
16
17 diff --git a/media-sound/spotify/Manifest b/media-sound/spotify/Manifest
18 index f588724..8540225 100644
19 --- a/media-sound/spotify/Manifest
20 +++ b/media-sound/spotify/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST spotify-client_1.0.24.104.g92a22684-29_amd64.deb 76099516 SHA256 d87703ba78c70934ab827f1b996aa34d626dc7bb7b371bf94889dae046e8d15f SHA512 5590706a4f5a04ad01d1c133f4f439e8d7312e1ecb803f9ba5533db082bee4d3a7bef2ee37fecea346918e14d51e68fa87047db5e95b35fbcafb333c8fa8ddc4 WHIRLPOOL 110fdd1f52ac1bb7b672ed921d3d736b6c01fd3ddda71c9f43a657e95b9d06f5681dbbc2329dbc6d9c098b99e0c993c6e3af49220e3688f851790cd87f025205
23 -DIST spotify-client_1.0.24.104.g92a22684-9_i386.deb 79184172 SHA256 d9d8e4dc7c0859f00346cf13046d5ab880fcf2c09754bf73213ce6121c9535a1 SHA512 57020ac4f07e9ec936f2a793b70aec2c6b354037c9d9f1dc911c776099b567c28e3c429751a0f9b0708cadb1bd3fcd3e52b8e57e02a2f17849caef732f32f6fe WHIRLPOOL 0693e5f5d09007420de0d7945e396e14cca9e47335b16e60f892f317c925d762c0668ec1843ad0bf8de2a0afd8a7d8b4a21ff8c37b3043601794f4c06b6fe693
24 DIST spotify-client_1.0.26.125.g64dc8bc6-15_amd64.deb 76862466 SHA256 e15b159dd2f20f8c00067545d5899f40f991fa89e1cf246b280289944396c407 SHA512 de30313a58288dd6f29fadf9f2c74c556cdf3002edbc0aedc657c3e79555feb07bf5793e8e08ae0011413cc52eefb9781b538e39904e8341468117dcd1b06a8a WHIRLPOOL 171f6ab59d068922294267617a1873aa3eb9ee6ce756dfd2338bfb360709e87a7c5b821b9438f4bcc177ab1acf5a8df4e1e6bf8fe6467408d33c07a0e52388bc
25 DIST spotify-client_1.0.26.125.g64dc8bc6-5_i386.deb 79948634 SHA256 13dfa424106762821765a900612ab40982a32d640e13c266c0a5102cdc6cea5a SHA512 3e19ae1cf72511648de65e80ed0cb85c3c39c49ef75d7a63cb952c35f878343580bb69540a2e9e728dbce7e98341efb955881019687cb09a60ac84448bf3059e WHIRLPOOL 8549c2dab6f48630af3c0d00a794078f674de39c961f7370e0f8442e78de85826ca6d964f31423fc4e01118f764adc0bc7052ad6bfd1d31adb5ae67dd16eddb6
26
27 diff --git a/media-sound/spotify/spotify-1.0.24.104.ebuild b/media-sound/spotify/spotify-1.0.24.104.ebuild
28 deleted file mode 100644
29 index d48c55c..0000000
30 --- a/media-sound/spotify/spotify-1.0.24.104.ebuild
31 +++ /dev/null
32 @@ -1,116 +0,0 @@
33 -# Copyright 1999-2016 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
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 -MY_PV="${PV}.g92a22684"
43 -MY_P="${PN}-client_${MY_PV}"
44 -SRC_BASE="http://repository.spotify.com/pool/non-free/${PN:0:1}/${PN}-client/"
45 -SRC_URI="amd64? ( ${SRC_BASE}${MY_P}-29_amd64.deb )
46 - x86? ( ${SRC_BASE}${MY_P}-9_i386.deb )"
47 -LICENSE="Spotify"
48 -SLOT="0"
49 -KEYWORDS="amd64 x86"
50 -IUSE="gnome pax_kernel pulseaudio"
51 -RESTRICT="mirror strip"
52 -
53 -DEPEND=""
54 -# zenety needed for filepicker
55 -RDEPEND="
56 - ${DEPEND}
57 - dev-libs/nss
58 - gnome-base/gconf
59 - gnome-extra/zenity
60 - media-libs/alsa-lib
61 - media-libs/harfbuzz
62 - media-libs/fontconfig
63 - media-libs/mesa
64 - net-misc/curl
65 - net-print/cups[ssl]
66 - sys-libs/glibc
67 - x11-libs/gtk+:2
68 - x11-libs/libXScrnSaver
69 - x11-libs/libXtst
70 - pulseaudio? ( media-sound/pulseaudio )
71 - gnome? ( gnome-extra/gnome-integration-spotify )"
72 -
73 -S=${WORKDIR}/
74 -
75 -QA_PREBUILT="opt/spotify/spotify-client/spotify"
76 -
77 -src_prepare() {
78 - # Fix desktop entry to launch spotify-dbus.py for GNOME integration
79 - if use gnome ; then
80 - sed -i \
81 - -e 's/spotify \%U/spotify-dbus.py \%U/g' \
82 - usr/share/spotify/spotify.desktop || die "sed failed"
83 - fi
84 -}
85 -
86 -src_install() {
87 - dodoc usr/share/doc/spotify-client/changelog.Debian.gz
88 -
89 - SPOTIFY_PKG_HOME=usr/share/spotify
90 - insinto /usr/share/pixmaps
91 - doins ${SPOTIFY_PKG_HOME}/icons/*.png
92 -
93 - # install in /opt/spotify
94 - SPOTIFY_HOME=/opt/spotify/spotify-client
95 - insinto ${SPOTIFY_HOME}
96 - doins -r ${SPOTIFY_PKG_HOME}/*
97 - fperms +x ${SPOTIFY_HOME}/spotify
98 -
99 - dodir /usr/bin
100 - cat <<-EOF >"${D}"/usr/bin/spotify || die
101 - #! /bin/sh
102 - exec ${SPOTIFY_HOME}/spotify "\$@"
103 - EOF
104 - fperms +x /usr/bin/spotify
105 -
106 - local size
107 - for size in 16 22 24 32 48 64 128 256 512; do
108 - newicon -s ${size} "${S}${SPOTIFY_PKG_HOME}/icons/spotify-linux-${size}.png" \
109 - "spotify-client.png"
110 - done
111 - domenu "${S}${SPOTIFY_PKG_HOME}/spotify.desktop"
112 - if use pax_kernel; then
113 - #create the headers, reset them to default, then paxmark -m them
114 - pax-mark C "${ED}${SPOTIFY_HOME}/${PN}" || die
115 - pax-mark z "${ED}${SPOTIFY_HOME}/${PN}" || die
116 - pax-mark m "${ED}${SPOTIFY_HOME}/${PN}" || die
117 - eqawarn "You have set USE=pax_kernel meaning that you intend to run"
118 - eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
119 - eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
120 - eqawarn "you suspect that ${PN} is being broken by this modification,"
121 - eqawarn "please open a bug."
122 - fi
123 -}
124 -
125 -pkg_preinst() {
126 - gnome2_icon_savelist
127 -}
128 -
129 -pkg_postinst() {
130 - gnome2_icon_cache_update
131 - fdo-mime_mime_database_update
132 - fdo-mime_desktop_database_update
133 -
134 - ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
135 - ewarn "To remove the cache:"
136 - ewarn "rm -rf ~/.cache/spotify"
137 - ewarn
138 - ewarn "If you use KDE and are upgrading from 0.9 to 1.0, you might still see the old icon."
139 - ewarn "Run"
140 - ewarn "$ rm /var/tmp/kdecache-\$USER/icon-cache.kcache"
141 - ewarn "Then log out and log in back to KDE."
142 -}
143 -
144 -pkg_postrm() {
145 - gnome2_icon_cache_update
146 - fdo-mime_mime_database_update
147 - fdo-mime_desktop_database_update
148 -}
149
150 diff --git a/media-sound/spotify/spotify-1.0.26.125.ebuild b/media-sound/spotify/spotify-1.0.26.125.ebuild
151 index 88f90f3..9581f1e 100644
152 --- a/media-sound/spotify/spotify-1.0.26.125.ebuild
153 +++ b/media-sound/spotify/spotify-1.0.26.125.ebuild
154 @@ -14,7 +14,7 @@ SRC_URI="amd64? ( ${SRC_BASE}${MY_P}-15_amd64.deb )
155 x86? ( ${SRC_BASE}${MY_P}-5_i386.deb )"
156 LICENSE="Spotify"
157 SLOT="0"
158 -KEYWORDS="~amd64 ~x86"
159 +KEYWORDS="amd64 x86"
160 IUSE="gnome pax_kernel pulseaudio"
161 RESTRICT="mirror strip"