From 3c9ea805a2d8d22c100328f3cb6b55c85e0e53f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Pol=C3=A1=C4=8Dek?= Date: Wed, 7 Oct 2015 22:40:29 +0200 Subject: media-sound/spotify: version bump to 1.0.15.137 Also remove old 1.0.14. (cherry picked from commit a6fabdafe8306d98f4548bf7007b9e105e928c89) --- media-sound/spotify/Manifest | 4 +- media-sound/spotify/spotify-1.0.14.ebuild | 119 -------------------------- media-sound/spotify/spotify-1.0.15.137.ebuild | 113 ++++++++++++++++++++++++ 3 files changed, 115 insertions(+), 121 deletions(-) delete mode 100644 media-sound/spotify/spotify-1.0.14.ebuild create mode 100644 media-sound/spotify/spotify-1.0.15.137.ebuild (limited to 'media-sound/spotify') diff --git a/media-sound/spotify/Manifest b/media-sound/spotify/Manifest index b8837786b44..5e563cf4bda 100644 --- a/media-sound/spotify/Manifest +++ b/media-sound/spotify/Manifest @@ -1,3 +1,3 @@ DIST spotify-client_0.9.17.1.g9b85d43.7-1_amd64.deb 42733568 SHA256 717a878bcfa495852d19ac34bb4b0fa1b2f063ab94547defd32725d1dec10775 SHA512 a19403558c0a641b0264641501c9538f169b9e64d532e5d54dd67b7edbb27d400f07395014c9693fed298a1331c053cc9e62988d1293e9b1f1809d68a74646ad WHIRLPOOL 712ac07a3cd3230e3de17e9209380d0e0cc9a33c77cb4753e04490c5bb9a4e2d3e386ee92ffadecd9888ea701aa2a0c4c1b8c579cfa2f5b61d72981a5736f495 -DIST spotify-client_1.0.14.122.gf29d9be0_i386.deb 69292192 SHA256 a83243d333919cab99b1b215ef144c4bb9be8f9f662a7111cefb384439338c5e SHA512 04233a23632ba2d44526c99e6eaa2b56f2227f1fb8628d1d61e74966e0e0aa291f8b6d7307514086126ca3f0e52d7c65ee2e3e0834b87e39df0e6114b474efde WHIRLPOOL e1f234c541699962598d0efe15b7f07e9281e303dc228c122cf563ec13d11aeb11f680f6deeb9e445b494018e7dcd079c4677abed637b7cf29b6f0360447585d -DIST spotify-client_1.0.14.124.g4dfabc51_amd64.deb 65887386 SHA256 6fed225815ada3a290dd588c7f19a5c83df2712cd016d8e6ad0a2bba4ef66257 SHA512 e7781aeb8c828d6cf4d27adbc717dc0d2d216a55a8c1501152780eb22b6a4aecb7631ce3c3657c79a1ec6f8a213fe5d442fbe9548c1cabce632600b863956c7b WHIRLPOOL 0e34476c73ee4655c5fca892a0a8dbdc711fbb518e7ce7a8c1d9000e02b7295fd0923f9f3b5a29b829bddb9081d2a9d1bd566ad37c9bfc82de3b61c41198d2ba +DIST spotify-client_1.0.15.137.gbdf68615_amd64.deb 70266612 SHA256 7c9054348c675e350e097f24dce26119155d619c54fc49fc4295e3cb3c04e8c4 SHA512 588189bf76722e53b82c71cb10fa189ea7d7ba23319353c1db60fa1700517be87ce5950603f7314bfdf500b04c9615aa1cf235487c47c70a77b22d8a9d460bd8 WHIRLPOOL 5d98ae03c6afcf49479ed39472554d3f9d2ecfdb1aff2f7b92371a7022fdef418351493468f54f4a856845247fff712bea3d8008ac8fcfd49c89cb77a36f0d70 +DIST spotify-client_1.0.15.137.gbdf68615_i386.deb 75290058 SHA256 f783760cd6d50fd734a264ca6b994037b66b8cd4bc67b225eb6ea17804fa44d6 SHA512 e4402258825fdd59517afa2d1707bf6d2db54ba8d4b3c352c7242538f8e16b5b75bf727cc35a2c9c27b247827e1794d87cc08f82e488ce6b7b44c23ec2bdc34a WHIRLPOOL 8957cb611eed967a596e3f120d0584a568d6699ce8a3df1e4c259fb37c485723e430111179e4373bdb8ab50177937114bd5eb2a87b618716e824ad01098255a7 diff --git a/media-sound/spotify/spotify-1.0.14.ebuild b/media-sound/spotify/spotify-1.0.14.ebuild deleted file mode 100644 index 1af9ca6bf8f..00000000000 --- a/media-sound/spotify/spotify-1.0.14.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils fdo-mime gnome2-utils pax-utils unpacker - -DESCRIPTION="Spotify is a social music platform" -HOMEPAGE="https://www.spotify.com/ch-de/download/previews/" -MY_PV_AMD64="${PV}.124.g4dfabc51" -MY_PV_I386="${PV}.122.gf29d9be0" -MY_P="${PN}-client_" -SRC_BASE="http://repository.spotify.com/pool/non-free/${PN:0:1}/${PN}-client/" -SRC_URI="amd64? ( ${SRC_BASE}${MY_P}${MY_PV_AMD64}_amd64.deb ) - x86? ( ${SRC_BASE}${MY_P}${MY_PV_I386}_i386.deb )" -LICENSE="Spotify" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gnome pax_kernel pulseaudio" -RESTRICT="mirror strip" - -DEPEND="" -RDEPEND=" - ${DEPEND} - dev-libs/nss - gnome-base/gconf - media-libs/alsa-lib - media-libs/harfbuzz - media-libs/fontconfig - media-libs/mesa - net-misc/curl - net-print/cups[ssl] - sys-libs/glibc - x11-libs/gtk+:2 - x11-libs/libXScrnSaver - x11-libs/libXtst - pulseaudio? ( media-sound/pulseaudio ) - gnome? ( gnome-extra/gnome-integration-spotify )" - -S=${WORKDIR}/ - -QA_PREBUILT="opt/spotify/spotify-client/spotify" - -src_prepare() { - # Fix desktop entry to launch spotify-dbus.py for GNOME integration - if use gnome ; then - sed -i \ - -e 's/spotify \%U/spotify-dbus.py \%U/g' \ - usr/share/spotify/spotify.desktop || die "sed failed" - fi - #TODO: the semicolons will be fixed in 1.0.15, remove it then - sed -i \ - -e 's/x-scheme-handler\/spotify$/x-scheme-handler\/spotify\;/g' \ - -e 's/AudioVideo$/AudioVideo\;/g' \ - usr/share/spotify/spotify.desktop || die "sed failed" -} - -src_install() { - dodoc usr/share/doc/spotify-client/changelog.Debian.gz - - SPOTIFY_PKG_HOME=usr/share/spotify - insinto /usr/share/pixmaps - doins ${SPOTIFY_PKG_HOME}/icons/*.png - - # install in /opt/spotify - SPOTIFY_HOME=/opt/spotify/spotify-client - insinto ${SPOTIFY_HOME} - doins -r ${SPOTIFY_PKG_HOME}/* - fperms +x ${SPOTIFY_HOME}/spotify - - dodir /usr/bin - cat <<-EOF >"${D}"/usr/bin/spotify - #! /bin/sh - exec ${SPOTIFY_HOME}/spotify "\$@" - EOF - fperms +x /usr/bin/spotify - - for size in 16 22 24 32 48 64 128 256 512; do - newicon -s ${size} "${S}${SPOTIFY_PKG_HOME}/icons/spotify-linux-${size}.png" \ - "spotify-client.png" - done - domenu "${S}${SPOTIFY_PKG_HOME}/spotify.desktop" - if use pax_kernel; then - #create the headers, reset them to default, then paxmark -m them - pax-mark C "${ED}${SPOTIFY_HOME}/${PN}" || die - pax-mark z "${ED}${SPOTIFY_HOME}/${PN}" || die - pax-mark m "${ED}${SPOTIFY_HOME}/${PN}" || die - eqawarn "You have set USE=pax_kernel meaning that you intend to run" - eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify" - eqawarn "the ${PN} binary itself and this *may* lead to breakage! If" - eqawarn "you suspect that ${PN} is being broken by this modification," - eqawarn "please open a bug." - fi -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update - fdo-mime_mime_database_update - fdo-mime_desktop_database_update - - ewarn "If Spotify crashes after an upgrade its cache may be corrupt." - ewarn "To remove the cache:" - ewarn "rm -rf ~/.cache/spotify" - ewarn - ewarn "If you use KDE and are upgrading from 0.9 to 1.0, you might still see the old icon." - ewarn "Run" - ewarn "$ rm /var/tmp/kdecache-\$USER/icon-cache.kcache" - ewarn "Then log out and log in back to KDE." -} - -pkg_postrm() { - gnome2_icon_cache_update - fdo-mime_mime_database_update - fdo-mime_desktop_database_update -} diff --git a/media-sound/spotify/spotify-1.0.15.137.ebuild b/media-sound/spotify/spotify-1.0.15.137.ebuild new file mode 100644 index 00000000000..22a7994f781 --- /dev/null +++ b/media-sound/spotify/spotify-1.0.15.137.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils fdo-mime gnome2-utils pax-utils unpacker + +DESCRIPTION="Spotify is a social music platform" +HOMEPAGE="https://www.spotify.com/ch-de/download/previews/" +MY_PV="${PV}.gbdf68615" +MY_P="${PN}-client_${MY_PV}" +SRC_BASE="http://repository.spotify.com/pool/non-free/${PN:0:1}/${PN}-client/" +SRC_URI="amd64? ( ${SRC_BASE}${MY_P}_amd64.deb ) + x86? ( ${SRC_BASE}${MY_P}_i386.deb )" +LICENSE="Spotify" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome pax_kernel pulseaudio" +RESTRICT="mirror strip" + +DEPEND="" +RDEPEND=" + ${DEPEND} + dev-libs/nss + gnome-base/gconf + media-libs/alsa-lib + media-libs/harfbuzz + media-libs/fontconfig + media-libs/mesa + net-misc/curl + net-print/cups[ssl] + sys-libs/glibc + x11-libs/gtk+:2 + x11-libs/libXScrnSaver + x11-libs/libXtst + pulseaudio? ( media-sound/pulseaudio ) + gnome? ( gnome-extra/gnome-integration-spotify )" + +S=${WORKDIR}/ + +QA_PREBUILT="opt/spotify/spotify-client/spotify" + +src_prepare() { + # Fix desktop entry to launch spotify-dbus.py for GNOME integration + if use gnome ; then + sed -i \ + -e 's/spotify \%U/spotify-dbus.py \%U/g' \ + usr/share/spotify/spotify.desktop || die "sed failed" + fi +} + +src_install() { + dodoc usr/share/doc/spotify-client/changelog.Debian.gz + + SPOTIFY_PKG_HOME=usr/share/spotify + insinto /usr/share/pixmaps + doins ${SPOTIFY_PKG_HOME}/icons/*.png + + # install in /opt/spotify + SPOTIFY_HOME=/opt/spotify/spotify-client + insinto ${SPOTIFY_HOME} + doins -r ${SPOTIFY_PKG_HOME}/* + fperms +x ${SPOTIFY_HOME}/spotify + + dodir /usr/bin + cat <<-EOF >"${D}"/usr/bin/spotify + #! /bin/sh + exec ${SPOTIFY_HOME}/spotify "\$@" + EOF + fperms +x /usr/bin/spotify + + for size in 16 22 24 32 48 64 128 256 512; do + newicon -s ${size} "${S}${SPOTIFY_PKG_HOME}/icons/spotify-linux-${size}.png" \ + "spotify-client.png" + done + domenu "${S}${SPOTIFY_PKG_HOME}/spotify.desktop" + if use pax_kernel; then + #create the headers, reset them to default, then paxmark -m them + pax-mark C "${ED}${SPOTIFY_HOME}/${PN}" || die + pax-mark z "${ED}${SPOTIFY_HOME}/${PN}" || die + pax-mark m "${ED}${SPOTIFY_HOME}/${PN}" || die + eqawarn "You have set USE=pax_kernel meaning that you intend to run" + eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify" + eqawarn "the ${PN} binary itself and this *may* lead to breakage! If" + eqawarn "you suspect that ${PN} is being broken by this modification," + eqawarn "please open a bug." + fi +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + fdo-mime_mime_database_update + fdo-mime_desktop_database_update + + ewarn "If Spotify crashes after an upgrade its cache may be corrupt." + ewarn "To remove the cache:" + ewarn "rm -rf ~/.cache/spotify" + ewarn + ewarn "If you use KDE and are upgrading from 0.9 to 1.0, you might still see the old icon." + ewarn "Run" + ewarn "$ rm /var/tmp/kdecache-\$USER/icon-cache.kcache" + ewarn "Then log out and log in back to KDE." +} + +pkg_postrm() { + gnome2_icon_cache_update + fdo-mime_mime_database_update + fdo-mime_desktop_database_update +} -- cgit v1.2.1