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