From 02684b685ae4300a82b10f7ad41c73c911698351 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Wed, 21 Dec 2016 15:22:48 -0600 Subject: media-sound/spotify: new spotify bump Package-Manager: portage-2.3.0 RepoMan-Options: --force --- media-sound/spotify/Manifest | 4 +- media-sound/spotify/spotify-1.0.45-r1.ebuild | 118 +++++++++++++++++++++++++++ media-sound/spotify/spotify-1.0.45.ebuild | 118 --------------------------- 3 files changed, 120 insertions(+), 120 deletions(-) create mode 100644 media-sound/spotify/spotify-1.0.45-r1.ebuild delete mode 100644 media-sound/spotify/spotify-1.0.45.ebuild diff --git a/media-sound/spotify/Manifest b/media-sound/spotify/Manifest index 4df4bc78d66..4750e3dd79e 100644 --- a/media-sound/spotify/Manifest +++ b/media-sound/spotify/Manifest @@ -1,2 +1,2 @@ -DIST spotify-client_1.0.45.182.gbbd5909f-21_i386.deb 73429858 SHA256 54dda72db35a1771c95ff05e8b8ffeae13f826632737fd26caea55e8905cfa0c SHA512 4f75c6f044d5d8c2f0a11d86c5475ec4fda2d09eb5f37594c220e5c2dafa4db9ccd6da35ade1a690ee7496d888fa630822225378ab8725c8b110f990a6d5804a WHIRLPOOL 2603f55913dd27fdc7bf9e39ddb0963da11b8388b3d27289beec2e7576dff24b3037a6c6682dda436f5b690d5903f2dbabd6587c4d8d17dc0596a0b7d3943abb -DIST spotify-client_1.0.45.182.gbbd5909f-72_amd64.deb 72229688 SHA256 dadf68c2cf1d09479632312301fb0ef9b18da841449141bacfa5e75d14e5fc6e SHA512 f266b22f2921d1a3f2ff4e71a6fd9b81f590c302b22f398bfc399ae97e6cb18442804b2bf663df9a4cf07116cd9007a014a086382811eb20568c3ebaf4e0e91a WHIRLPOOL a94cb705cd4b3b30823e8ffdc9dd758db3142bbadfba5dd21e4a3a2e03de7aaa1ab006a3ccf1c954fdd7f242c70e57e6c061043bd50dd5fd0e0f857a6b4f7de7 +DIST spotify-client_1.0.45.186.g3b5036d6-28_i386.deb 73486180 SHA256 8cf17f8938173bd3f5c3092345c8421c5d391aaa46839502ec547e5a57fcedf9 SHA512 d513ffe435a41d03b02a0b4efb49e69af40e496488199d4996b54086f46996d531ad6bd38e101e95b1e0ed7946d7c2e81c0fd25088a42a47c99f2f1d947e40a9 WHIRLPOOL 13775bf42728896ec68d46038202c2f2523fb15837c88e2262d4f124a50ff0c6e5628bfadb64db58c927399e223314aa18bbc12a56213b8ec0785dc558a7296a +DIST spotify-client_1.0.45.186.g3b5036d6-95_amd64.deb 72182494 SHA256 e19a5277ea7dee8796edcc49de07036b32cac0ce553ef2aed7416dff6bf8fb3a SHA512 a33c5517d27a6eef445dbfc13006189a82b6a3362bd2b40b81a040f60870e5700e45ba288c9caef1848f1f36d197627b8c2c7f81c48dc00d0bce32f1a7a34cb1 WHIRLPOOL 6d0ba8cb606a6c01f275c9710af3fc7b596bcfd1dc5005a2174a3e75364a9ff33c813d377b4cc7c38e54a8de3b263e2d1480cdd696b5e2d7d31a41072a7d2361 diff --git a/media-sound/spotify/spotify-1.0.45-r1.ebuild b/media-sound/spotify/spotify-1.0.45-r1.ebuild new file mode 100644 index 00000000000..847c41b102c --- /dev/null +++ b/media-sound/spotify/spotify-1.0.45-r1.ebuild @@ -0,0 +1,118 @@ +# 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/" +BUILD_ID="186.g3b5036d6" +SRC_BASE="http://repository.spotify.com/pool/non-free/${PN:0:1}/${PN}-client/" +SRC_URI="amd64? ( ${SRC_BASE}${PN}-client_${PV}.${BUILD_ID}-95_amd64.deb ) + x86? ( ${SRC_BASE}${PN}-client_${PV}.${BUILD_ID}-28_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[ssl,curl_ssl_openssl] + 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.45.ebuild b/media-sound/spotify/spotify-1.0.45.ebuild deleted file mode 100644 index b8b913ff1a3..00000000000 --- a/media-sound/spotify/spotify-1.0.45.ebuild +++ /dev/null @@ -1,118 +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/" -BUILD_ID="182.gbbd5909f" -SRC_BASE="http://repository.spotify.com/pool/non-free/${PN:0:1}/${PN}-client/" -SRC_URI="amd64? ( ${SRC_BASE}${PN}-client_${PV}.${BUILD_ID}-72_amd64.deb ) - x86? ( ${SRC_BASE}${PN}-client_${PV}.${BUILD_ID}-21_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[ssl,curl_ssl_openssl] - 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.1