From 3edb401f49f59b55ecf2f3f41b8ae4a232be0744 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Wed, 29 Jun 2016 11:20:32 -0500 Subject: media-sound/spotify: bup for bug 585042 Package-Manager: portage-2.2.28 --- media-sound/spotify/Manifest | 4 +- media-sound/spotify/spotify-1.0.31.ebuild | 117 ------------------------------ media-sound/spotify/spotify-1.0.32.ebuild | 117 ++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+), 119 deletions(-) delete mode 100644 media-sound/spotify/spotify-1.0.31.ebuild create mode 100644 media-sound/spotify/spotify-1.0.32.ebuild (limited to 'media-sound/spotify') diff --git a/media-sound/spotify/Manifest b/media-sound/spotify/Manifest index 8d040598ab05..1dc5afeaa09f 100644 --- a/media-sound/spotify/Manifest +++ b/media-sound/spotify/Manifest @@ -1,2 +1,2 @@ -DIST spotify-client_1.0.31.56.g526cfefe-1_i386.deb 83870658 SHA256 dd65396662be14178a6cc035bf0b13206e94d63588768c7338fadda64fb75213 SHA512 264bed2ed35e7c8bbd9458d526e5cb9410189163840588ad6b35bcd53c09c8b607bad628b96803c3a147bafa23599e9c5b08b2b1941de7162a383f8ffdeb5c51 WHIRLPOOL ccd6cb2e881712bb129169b9a92bccc428eacacf1eecce6ca3aa6581b0ec23a21d0c570fc8b5ba1dbd54306776ac9731a801207bf1fc4fbe5ca44a4cc809c853 -DIST spotify-client_1.0.31.56.g526cfefe-33_amd64.deb 80784488 SHA256 403e0b69f9cf410ddb3f7f943d67f8340872ebf9beb4d7e45b0bc3ba9ee72322 SHA512 861936f36f53fb1f6d99a41aab47b4e01f2cf1f6f2b458517d754727ded11bb42857ab4edb5f1dbb6ede474344dd753287f473efe6ca09e736ef444cfd054edc WHIRLPOOL 98d0136c81ab930bc1d7f4a8f54fa4a6d8caa6cf625b4de9a5ad8d16dd3e6c3b715b95670f700334634402ca578126245104616eea28779e0f1060c4c227b941 +DIST spotify-client_1.0.32.96.g3c8a06e6-37_amd64.deb 80185200 SHA256 30c62258e5064150f6e655c410e3a67873d0a5cd079601ea8ec5edd487d3655a SHA512 e3f919c08eb9ddf7431a2ccea466422958d2e79c199418891a223174044a4fe6a3c99182e61640e5bfe1a0995e6cc02973d66ae3a98df873a1a252bca166d6a1 WHIRLPOOL 8b83f8afa94a2e8e32721ca76242f6bfc025dfc84346f96230605e567f043d61838329edc75aa6c7aceb6cfb419c50f38b9625594112a93d1ed82c13a5736714 +DIST spotify-client_1.0.32.96.g3c8a06e6-3_i386.deb 86918350 SHA256 a60bb5e78b3849c595bd0c106fd6fbd39f5d7498688182d6a9f5d92c252c0ab7 SHA512 367a3d7953688bd886132a198f293b19975b15c41332d014c395a01de16ae1d92d02d349425a2198911b69f97421d797d312baa7e59f148f91dae23a8d0484cf WHIRLPOOL b17089e0c96949038bfbe492a400b54cc719aa465f204afff3f638f1c96283d7500fd1eddbe06a919ee56631845bd8f8ccb89b06123a6618e2d34465bde8b91e diff --git a/media-sound/spotify/spotify-1.0.31.ebuild b/media-sound/spotify/spotify-1.0.31.ebuild deleted file mode 100644 index 1dfd834b1cd6..000000000000 --- a/media-sound/spotify/spotify-1.0.31.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -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/" -SRC_BASE="http://repository.spotify.com/pool/non-free/${PN:0:1}/${PN}-client/" -SRC_URI="amd64? ( ${SRC_BASE}${PN}-client_${PV}.56.g526cfefe-33_amd64.deb ) - x86? ( ${SRC_BASE}${PN}-client_${PV}.56.g526cfefe-1_i386.deb )" -LICENSE="Spotify" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="gnome pax_kernel pulseaudio" -RESTRICT="mirror strip" - -DEPEND="" -# zenety needed for filepicker -RDEPEND=" - ${DEPEND} - dev-libs/nss - gnome-base/gconf - gnome-extra/zenity - media-libs/alsa-lib - media-libs/harfbuzz - media-libs/fontconfig - media-libs/mesa - net-misc/curl - net-print/cups[ssl] - x11-libs/gtk+:2 - x11-libs/libXScrnSaver - x11-libs/libXtst - dev-python/pygobject:3 - dev-python/dbus-python - pulseaudio? ( media-sound/pulseaudio ) - gnome? ( gnome-extra/gnome-integration-spotify )" - #sys-libs/glibc - -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 - default -} - -src_install() { - dodoc usr/share/doc/spotify-client/changelog.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 || die - #! /bin/sh - exec ${SPOTIFY_HOME}/spotify "\$@" - EOF - fperms +x /usr/bin/spotify - - local size - 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.32.ebuild b/media-sound/spotify/spotify-1.0.32.ebuild new file mode 100644 index 000000000000..7d974d649d34 --- /dev/null +++ b/media-sound/spotify/spotify-1.0.32.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +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/" +SRC_BASE="http://repository.spotify.com/pool/non-free/${PN:0:1}/${PN}-client/" +SRC_URI="amd64? ( ${SRC_BASE}${PN}-client_${PV}.96.g3c8a06e6-37_amd64.deb ) + x86? ( ${SRC_BASE}${PN}-client_${PV}.96.g3c8a06e6-3_i386.deb )" +LICENSE="Spotify" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome pax_kernel pulseaudio" +RESTRICT="mirror strip" + +DEPEND="" +# zenety needed for filepicker +RDEPEND=" + ${DEPEND} + dev-libs/nss + gnome-base/gconf + gnome-extra/zenity + media-libs/alsa-lib + media-libs/harfbuzz + media-libs/fontconfig + media-libs/mesa + net-misc/curl + net-print/cups[ssl] + x11-libs/gtk+:2 + x11-libs/libXScrnSaver + x11-libs/libXtst + dev-python/pygobject:3 + dev-python/dbus-python + pulseaudio? ( media-sound/pulseaudio ) + gnome? ( gnome-extra/gnome-integration-spotify )" + #sys-libs/glibc + +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 + default +} + +src_install() { + dodoc usr/share/doc/spotify-client/changelog.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 || die + #! /bin/sh + exec ${SPOTIFY_HOME}/spotify "\$@" + EOF + fperms +x /usr/bin/spotify + + local size + 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.3-65-gdbad