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: Wed, 22 Sep 2021 22:35:01
Message-Id: 1632350094.f122c99bf8dc47943cf66146bca619eddf421342.prometheanfire@gentoo
1 commit: f122c99bf8dc47943cf66146bca619eddf421342
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 22 22:34:38 2021 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 22 22:34:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f122c99b
7
8 media-sound/spotify: 1.1.67 removal
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 media-sound/spotify/Manifest | 1 -
14 media-sound/spotify/spotify-1.1.67-r1.ebuild | 116 ---------------------------
15 2 files changed, 117 deletions(-)
16
17 diff --git a/media-sound/spotify/Manifest b/media-sound/spotify/Manifest
18 index 1d417b26db9..b467f6d477f 100644
19 --- a/media-sound/spotify/Manifest
20 +++ b/media-sound/spotify/Manifest
21 @@ -1,3 +1,2 @@
22 DIST spotify-client_1.0.72.117.g6bd7cc73-35_i386.deb 95135550 BLAKE2B ad4587dd6b3c64a0398e0790203a7826e290a27542fa39ebbd6c7198d8ad1fd3fb06e8b030b64e1e61e0624ef20aafda08189266486cd073cb779ebff62ef502 SHA512 51d60f7592e5f31ea4b7e67736a85271cb48d4108459630da61c4ab67d2a470038240c1d6ff577280cb4498cf44f14d7bc7e0312f63d34265bcd1e70cd13142f
23 -DIST spotify-client_1.1.67.586.gbb5ef64e_amd64.deb 118938508 BLAKE2B 41239d0c67e3f9e1e4ef2b437320307f1cf947e022635b7c3b9103bfe5fe33f0b1465e9384e78cbb4684b0dec2efd974aa2ac4d1a15860907d66be0b04b14246 SHA512 d105eed1f013be2704ad7f0aaeb80ab2f8f19a0cfe69782f32fc95241d2900560996ec17101222365e1ad3b02ff9fa866da3f0709277a5bb40d032f5a58f7062
24 DIST spotify-client_1.1.68.632.g2b11de83_amd64.deb 112586002 BLAKE2B 9591b9ff4bc5ba4227cb964b4d77f80441701353d704c2ba502c8f8cf21b64ad406b89e41355c0b2db7a9dfa7db985b555603b38b6e8eed4371732f4b81e67d6 SHA512 742bf459d7d87cc269a4c29cd2489753c6f7b62f3ee2150808c4931c29ee0d89f5b5ae47589112768e5958da73cba857074845fd017bd53c4574ea84c6770074
25
26 diff --git a/media-sound/spotify/spotify-1.1.67-r1.ebuild b/media-sound/spotify/spotify-1.1.67-r1.ebuild
27 deleted file mode 100644
28 index a723919517c..00000000000
29 --- a/media-sound/spotify/spotify-1.1.67-r1.ebuild
30 +++ /dev/null
31 @@ -1,116 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -inherit desktop pax-utils unpacker xdg
37 -
38 -DESCRIPTION="Spotify is a social music platform"
39 -HOMEPAGE="https://www.spotify.com/download/linux/"
40 -SRC_BASE="http://repository.spotify.com/pool/non-free/s/${PN}-client/"
41 -BUILD_ID_AMD64="586.gbb5ef64e"
42 -SRC_URI="${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb"
43 -LICENSE="Spotify"
44 -SLOT="0"
45 -KEYWORDS="amd64"
46 -IUSE="libnotify local-playback pax-kernel pulseaudio systray"
47 -RESTRICT="mirror strip"
48 -
49 -BDEPEND=">=dev-util/patchelf-0.10"
50 -RDEPEND="
51 - dev-libs/nss
52 - dev-python/dbus-python
53 - libnotify? ( x11-libs/libnotify )
54 - dev-libs/openssl:0=
55 - media-libs/alsa-lib
56 - media-libs/fontconfig
57 - media-libs/harfbuzz
58 - media-libs/mesa[X(+)]
59 - net-misc/curl[ssl]
60 - net-print/cups[ssl]
61 - pulseaudio? ( media-sound/pulseaudio )
62 - !pulseaudio? ( media-sound/apulse )
63 - local-playback? ( media-video/ffmpeg:0/56.58.58 )
64 - systray? ( gnome-extra/gnome-integration-spotify )
65 - x11-libs/gtk+:3
66 - app-accessibility/at-spi2-atk
67 - x11-libs/libxkbcommon
68 - x11-libs/libXScrnSaver
69 - x11-libs/libXtst
70 - x11-libs/libSM
71 - x11-libs/libICE
72 -"
73 - #sys-libs/glibc
74 -
75 -S=${WORKDIR}/
76 -
77 -QA_PREBUILT="
78 - opt/spotify/spotify-client/spotify
79 - opt/spotify/spotify-client/libEGL.so
80 - opt/spotify/spotify-client/libGLESv2.so
81 - opt/spotify/spotify-client/libcef.so
82 - opt/spotify/spotify-client/swiftshader/libEGL.so
83 - opt/spotify/spotify-client/swiftshader/libGLESv2.so
84 -"
85 -
86 -src_prepare() {
87 - # Fix desktop entry to launch spotify-dbus.py for systray integration
88 - if use systray ; then
89 - sed -i \
90 - -e 's/spotify \%U/spotify-dbus.py \%U/g' \
91 - usr/share/spotify/spotify.desktop || die "sed failed"
92 - fi
93 - default
94 -
95 - # Spotify links against libcurl-gnutls.so.4, which does not exist in Gentoo.
96 - patchelf --replace-needed libcurl-gnutls.so.4 libcurl.so.4 usr/bin/spotify \
97 - || die "failed to patch libcurl library dependency"
98 -}
99 -
100 -src_install() {
101 - gunzip usr/share/doc/spotify-client/changelog.gz || die
102 - dodoc usr/share/doc/spotify-client/changelog
103 -
104 - SPOTIFY_PKG_HOME=usr/share/spotify
105 - insinto /usr/share/pixmaps
106 - doins ${SPOTIFY_PKG_HOME}/icons/*.png
107 -
108 - # install in /opt/spotify
109 - SPOTIFY_HOME=/opt/spotify/spotify-client
110 - insinto ${SPOTIFY_HOME}
111 - doins -r ${SPOTIFY_PKG_HOME}/*
112 - fperms +x ${SPOTIFY_HOME}/spotify
113 -
114 - dodir /usr/bin
115 - cat <<-EOF >"${D}"/usr/bin/spotify || die
116 - #! /bin/sh
117 - LD_LIBRARY_PATH="/usr/$(get_libdir)/apulse" \\
118 - exec ${SPOTIFY_HOME}/spotify "\$@"
119 - EOF
120 - fperms +x /usr/bin/spotify
121 -
122 - local size
123 - for size in 16 22 24 32 48 64 128 256 512; do
124 - newicon -s ${size} "${S}${SPOTIFY_PKG_HOME}/icons/spotify-linux-${size}.png" \
125 - "spotify-client.png"
126 - done
127 - domenu "${S}${SPOTIFY_PKG_HOME}/spotify.desktop"
128 - if use pax-kernel; then
129 - #create the headers, reset them to default, then paxmark -m them
130 - pax-mark C "${ED}${SPOTIFY_HOME}/${PN}" || die
131 - pax-mark z "${ED}${SPOTIFY_HOME}/${PN}" || die
132 - pax-mark m "${ED}${SPOTIFY_HOME}/${PN}" || die
133 - eqawarn "You have set USE=pax-kernel meaning that you intend to run"
134 - eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
135 - eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
136 - eqawarn "you suspect that ${PN} is being broken by this modification,"
137 - eqawarn "please open a bug."
138 - fi
139 -}
140 -
141 -pkg_postinst() {
142 - xdg_pkg_postinst
143 -
144 - ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
145 - ewarn "To remove the cache:"
146 - ewarn "rm -rf ~/.cache/spotify"
147 -}