From e78b220bc6e97a6e98f566718b930c3c0c2c1712 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Sat, 4 Jun 2016 10:34:44 -0500 Subject: media-sound/spotify: bup Package-Manager: portage-2.2.28 --- media-sound/spotify/Manifest | 4 +- media-sound/spotify/spotify-1.0.29.ebuild | 117 ------------------------------ media-sound/spotify/spotify-1.0.31.ebuild | 117 ++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+), 119 deletions(-) delete mode 100644 media-sound/spotify/spotify-1.0.29.ebuild create mode 100644 media-sound/spotify/spotify-1.0.31.ebuild diff --git a/media-sound/spotify/Manifest b/media-sound/spotify/Manifest index 452091f9a856..8d040598ab05 100644 --- a/media-sound/spotify/Manifest +++ b/media-sound/spotify/Manifest @@ -1,2 +1,2 @@ -DIST spotify-client_1.0.29.92.g67727800-21_amd64.deb 81296792 SHA256 c44fee4e687e73906760e008c863f2166f1f715d130329ef5621047bef548188 SHA512 df2358cc6b7e5c20e45278a89a06a616d22f90178ecdfcffdd0433209dd713d78ce746687e173b1565caa564616e5ca209f9dbcd72014aa60d09835b344bd04d WHIRLPOOL 17fb7b3b4bd76534fab6d9be8d32705dc33b901de19fc510665602efee86e96c902d06bde7a1206ae33a403fcee73c2500a5f9d0be7566f4cd3ecb99e33bff0e -DIST spotify-client_1.0.29.92.g67727800-3_i386.deb 84402500 SHA256 9b888e112f02be43566e343d032552c5e8b82ad8e75adc3f8409dc5f8a87e4b9 SHA512 a32c470265db61719ad5617b780749017aed893c2ce02c9197c9a5f73fa05c208d89981737b4195446974c57a0706c531e74658841c63a8be34bb23fb8e44448 WHIRLPOOL 97d007fe6f982fc05a9f81ad127d0410fa29101e83833cd4bfb09e926668d48a04da2d85497111aae181f263a167f4ea2be48ce0dc602ea718b5091e747929dc +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 diff --git a/media-sound/spotify/spotify-1.0.29.ebuild b/media-sound/spotify/spotify-1.0.29.ebuild deleted file mode 100644 index 887676f0cca0..000000000000 --- a/media-sound/spotify/spotify-1.0.29.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}.92.g67727800-21_amd64.deb ) - x86? ( ${SRC_BASE}${PN}-client_${PV}.92.g67727800-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 -} diff --git a/media-sound/spotify/spotify-1.0.31.ebuild b/media-sound/spotify/spotify-1.0.31.ebuild new file mode 100644 index 000000000000..17975d696a67 --- /dev/null +++ b/media-sound/spotify/spotify-1.0.31.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}.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 +} -- cgit v1.2.3-65-gdbad