Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/spotify/
Date: Mon, 29 Mar 2021 14:24:46
Message-Id: 1617027877.2c51f1e4dc33e6671f13dbe2f4fcae4b951a8f0e.prometheanfire@gentoo
1 commit: 2c51f1e4dc33e6671f13dbe2f4fcae4b951a8f0e
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 29 14:24:20 2021 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 29 14:24:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c51f1e4
7
8 media-sound/spotify: 1.1.55 bump
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 media-sound/spotify/Manifest | 3 +-
14 media-sound/spotify/spotify-1.1.10-r1.ebuild | 106 ---------------------
15 ...spotify-1.1.42.ebuild => spotify-1.1.55.ebuild} | 4 +-
16 3 files changed, 3 insertions(+), 110 deletions(-)
17
18 diff --git a/media-sound/spotify/Manifest b/media-sound/spotify/Manifest
19 index 57e6bc2a285..56b5d9c3dc6 100644
20 --- a/media-sound/spotify/Manifest
21 +++ b/media-sound/spotify/Manifest
22 @@ -1,4 +1,3 @@
23 DIST spotify-client_1.0.72.117.g6bd7cc73-35_i386.deb 95135550 BLAKE2B ad4587dd6b3c64a0398e0790203a7826e290a27542fa39ebbd6c7198d8ad1fd3fb06e8b030b64e1e61e0624ef20aafda08189266486cd073cb779ebff62ef502 SHA512 51d60f7592e5f31ea4b7e67736a85271cb48d4108459630da61c4ab67d2a470038240c1d6ff577280cb4498cf44f14d7bc7e0312f63d34265bcd1e70cd13142f
24 -DIST spotify-client_1.1.10.546.ge08ef575-19_amd64.deb 114975574 BLAKE2B 46da17c8ebccdc889b723ac6e9f5275dddec97d35142606ece32d1edb1ed288d1c517d41027de22da77421a76f8c00ea90ddc868b74dd46ba07cff60a581b12a SHA512 f004083eee00600a51e50d7dee03846293b5ccd6966786e91055564c7963917b9aaa917de41f299a0f5b7baecea5f466fb37722b8631743ff2ca15f43851f5f4
25 DIST spotify-client_1.1.26.501.gbe11e53b-15_amd64.deb 120102446 BLAKE2B 481686c9e1f7e8d7b68059ec5aad5f71ae1e59af80fa91903941afc2e0a91e2f957860bf96ce3ce4b19884f2548426269a9a2043c2985b4bbc82c5f091f5f2b8 SHA512 af9f1beafe0e4d2313326d1a55675550e8c3fcd5cd2dc0954127094c563048b98f74f669d99a10f0ef6e3b3405856bb9d6a2561644a434ab6bade9c812296963
26 -DIST spotify-client_1.1.42.622.gbd112320-37_amd64.deb 126293582 BLAKE2B 909d2cba7a2d2686a4e278e315658d8011d83f3eca3b5381fcd1df574d8e4223c3fb8508f417ec9f66b37740ac8b221a6d8cf753fc2cee47700b45a867556302 SHA512 a3fe98d69460ffd641df3219c2a3d164a33e2b52c86a56276e473dd5c3a43d6304df3b77fefcf0ca6c09cb6e2c8dacab65573cf7543725b6c8d402832149e122
27 +DIST spotify-client_1.1.55.498.gf9a83c60_amd64.deb 133771326 BLAKE2B b4f17f3008e23cfc9b1cd7ecd806ae97b846f22b39be5ee25515111e6641b31b1cd6525f0cc6b5540d3bce03adbcc23940db26992642ec3884b46f919f499179 SHA512 395806fc064706cc6b005054ec0f5e0a9b0cebfa073ccb771b7e8cb2f6c8aa300efe9164e492f90f4c83d047a898f6553c44722562d8f3e1462947d811a2e599
28
29 diff --git a/media-sound/spotify/spotify-1.1.10-r1.ebuild b/media-sound/spotify/spotify-1.1.10-r1.ebuild
30 deleted file mode 100644
31 index 8267b9da0b3..00000000000
32 --- a/media-sound/spotify/spotify-1.1.10-r1.ebuild
33 +++ /dev/null
34 @@ -1,106 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -inherit desktop pax-utils unpacker xdg
40 -
41 -DESCRIPTION="Spotify is a social music platform"
42 -HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
43 -SRC_BASE="http://repository.spotify.com/pool/non-free/s/${PN}-client/"
44 -BUILD_ID_AMD64="546.ge08ef575-19"
45 -SRC_URI="${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb"
46 -LICENSE="Spotify"
47 -SLOT="0"
48 -KEYWORDS="~amd64"
49 -IUSE="libnotify libressl systray pax_kernel"
50 -RESTRICT="mirror strip"
51 -
52 -BDEPEND=">=dev-util/patchelf-0.10"
53 -RDEPEND="
54 - dev-libs/nss
55 - dev-python/dbus-python
56 - dev-python/pygobject:3
57 - libnotify? ( x11-libs/libnotify )
58 - !libressl? ( dev-libs/openssl:0= )
59 - libressl? ( dev-libs/libressl:0= )
60 - media-libs/alsa-lib
61 - media-libs/fontconfig
62 - media-libs/harfbuzz
63 - media-libs/mesa[X(+)]
64 - net-misc/curl[ssl]
65 - net-print/cups[ssl]
66 - || ( media-sound/pulseaudio media-sound/apulse )
67 - systray? ( gnome-extra/gnome-integration-spotify )
68 - x11-libs/gtk+:2
69 - app-accessibility/at-spi2-atk
70 - x11-libs/libXScrnSaver
71 - x11-libs/libXtst
72 -"
73 - #sys-libs/glibc
74 -
75 -S=${WORKDIR}/
76 -
77 -QA_PREBUILT="opt/spotify/spotify-client/spotify"
78 -
79 -src_prepare() {
80 - # Fix desktop entry to launch spotify-dbus.py for systray integration
81 - if use systray ; then
82 - sed -i \
83 - -e 's/spotify \%U/spotify-dbus.py \%U/g' \
84 - usr/share/spotify/spotify.desktop || die "sed failed"
85 - fi
86 - default
87 -
88 - # Spotify links against libcurl-gnutls.so.4, which does not exist in Gentoo.
89 - patchelf --replace-needed libcurl-gnutls.so.4 libcurl.so.4 usr/bin/spotify \
90 - || die "failed to patch libcurl library dependency"
91 -}
92 -
93 -src_install() {
94 - gunzip usr/share/doc/spotify-client/changelog.gz || die
95 - dodoc usr/share/doc/spotify-client/changelog
96 -
97 - SPOTIFY_PKG_HOME=usr/share/spotify
98 - insinto /usr/share/pixmaps
99 - doins ${SPOTIFY_PKG_HOME}/icons/*.png
100 -
101 - # install in /opt/spotify
102 - SPOTIFY_HOME=/opt/spotify/spotify-client
103 - insinto ${SPOTIFY_HOME}
104 - doins -r ${SPOTIFY_PKG_HOME}/*
105 - fperms +x ${SPOTIFY_HOME}/spotify
106 -
107 - dodir /usr/bin
108 - cat <<-EOF >"${D}"/usr/bin/spotify || die
109 - #! /bin/sh
110 - LD_LIBRARY_PATH="/usr/$(get_libdir)/apulse" \\
111 - exec ${SPOTIFY_HOME}/spotify "\$@"
112 - EOF
113 - fperms +x /usr/bin/spotify
114 -
115 - local size
116 - for size in 16 22 24 32 48 64 128 256 512; do
117 - newicon -s ${size} "${S}${SPOTIFY_PKG_HOME}/icons/spotify-linux-${size}.png" \
118 - "spotify-client.png"
119 - done
120 - domenu "${S}${SPOTIFY_PKG_HOME}/spotify.desktop"
121 - if use pax_kernel; then
122 - #create the headers, reset them to default, then paxmark -m them
123 - pax-mark C "${ED}${SPOTIFY_HOME}/${PN}" || die
124 - pax-mark z "${ED}${SPOTIFY_HOME}/${PN}" || die
125 - pax-mark m "${ED}${SPOTIFY_HOME}/${PN}" || die
126 - eqawarn "You have set USE=pax_kernel meaning that you intend to run"
127 - eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
128 - eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
129 - eqawarn "you suspect that ${PN} is being broken by this modification,"
130 - eqawarn "please open a bug."
131 - fi
132 -}
133 -
134 -pkg_postinst() {
135 - xdg_pkg_postinst
136 -
137 - ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
138 - ewarn "To remove the cache:"
139 - ewarn "rm -rf ~/.cache/spotify"
140 -}
141
142 diff --git a/media-sound/spotify/spotify-1.1.42.ebuild b/media-sound/spotify/spotify-1.1.55.ebuild
143 similarity index 97%
144 rename from media-sound/spotify/spotify-1.1.42.ebuild
145 rename to media-sound/spotify/spotify-1.1.55.ebuild
146 index 4b9dc6ccaf5..f1822b036eb 100644
147 --- a/media-sound/spotify/spotify-1.1.42.ebuild
148 +++ b/media-sound/spotify/spotify-1.1.55.ebuild
149 @@ -1,4 +1,4 @@
150 -# Copyright 1999-2020 Gentoo Authors
151 +# Copyright 1999-2021 Gentoo Authors
152 # Distributed under the terms of the GNU General Public License v2
153
154 EAPI=7
155 @@ -7,7 +7,7 @@ inherit desktop pax-utils unpacker xdg
156 DESCRIPTION="Spotify is a social music platform"
157 HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
158 SRC_BASE="http://repository.spotify.com/pool/non-free/s/${PN}-client/"
159 -BUILD_ID_AMD64="622.gbd112320-37"
160 +BUILD_ID_AMD64="498.gf9a83c60"
161 SRC_URI="${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb"
162 LICENSE="Spotify"
163 SLOT="0"