From 677b7ba5c317778df2ad7e70df94b9b7eec4adbc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 10 Sep 2021 04:21:55 +0100 Subject: gentoo resync : 10.09.2021 --- media-sound/spotify/Manifest | 4 +- media-sound/spotify/spotify-1.1.56.ebuild | 117 --------------------------- media-sound/spotify/spotify-1.1.67-r1.ebuild | 116 ++++++++++++++++++++++++++ 3 files changed, 118 insertions(+), 119 deletions(-) delete mode 100644 media-sound/spotify/spotify-1.1.56.ebuild create mode 100644 media-sound/spotify/spotify-1.1.67-r1.ebuild (limited to 'media-sound/spotify') diff --git a/media-sound/spotify/Manifest b/media-sound/spotify/Manifest index 7d9ce956f88a..a5a35e8184c5 100644 --- a/media-sound/spotify/Manifest +++ b/media-sound/spotify/Manifest @@ -1,5 +1,5 @@ DIST spotify-client_1.0.72.117.g6bd7cc73-35_i386.deb 95135550 BLAKE2B ad4587dd6b3c64a0398e0790203a7826e290a27542fa39ebbd6c7198d8ad1fd3fb06e8b030b64e1e61e0624ef20aafda08189266486cd073cb779ebff62ef502 SHA512 51d60f7592e5f31ea4b7e67736a85271cb48d4108459630da61c4ab67d2a470038240c1d6ff577280cb4498cf44f14d7bc7e0312f63d34265bcd1e70cd13142f -DIST spotify-client_1.1.56.595.g2d2da0de_amd64.deb 134092920 BLAKE2B a1b836a8c7627254203326c6168dd8351d1c0e527a94e26ec96f9437b72196a717e2cc460b4c89da4098d19d5de4c6f7df150b039a32240b9edc978253590d16 SHA512 4a270461d07c339a3fdf49cd0a8728d4fc7300be001a1ba59c74f05bf273b79a61bde6d046c27a6af38dfb6af58963fbd8b8cd7468c91b91e48b0d32b3dcc2b5 +DIST spotify-client_1.1.67.586.gbb5ef64e_amd64.deb 118938508 BLAKE2B 41239d0c67e3f9e1e4ef2b437320307f1cf947e022635b7c3b9103bfe5fe33f0b1465e9384e78cbb4684b0dec2efd974aa2ac4d1a15860907d66be0b04b14246 SHA512 d105eed1f013be2704ad7f0aaeb80ab2f8f19a0cfe69782f32fc95241d2900560996ec17101222365e1ad3b02ff9fa866da3f0709277a5bb40d032f5a58f7062 EBUILD spotify-1.0.72-r1.ebuild 3208 BLAKE2B dbe0adc8f45c8c83d2a6734b36439ac0ce67b48ea518ae9153a5006c1ef4e923cd768a983495c35bac8d1469d4e7f5b5c26e73284f43ff9d5d84dd23e80c6740 SHA512 8955f11f24a1a50827b2dc9c37e03ac0c24ad8d352cf91598a3d39c65679f54cd3b8660f21e5a8f1347e408ec1fea8e23a962fd7e2c93b64f034d74a9304ae26 -EBUILD spotify-1.1.56.ebuild 3465 BLAKE2B a4ea3b094b9fe077a20464597f3a405055a748669cccd3ae06fa58c3d30f8ef57b951398e1b87bcc26161c8b926f961b1f7bfa3c97a6d0e1e3417598dbbbc022 SHA512 5af2b45f1816174eb8fbbaa7796b6b86acca2e5bc5c82e7ba576d7323300f4290ef8e23e4000c77f354c6742fa7aafb488b0050028c865b8af27701334cecdc0 +EBUILD spotify-1.1.67-r1.ebuild 3441 BLAKE2B 523420d1b4dd8d4d7192d589492a149f2b95eca72fb7f24362e5d3b6919ca8d28747c4d7f55a5b1bfd6e3e3a58c22ce1ac8b844a106686091bfc0ccec9d15f77 SHA512 40f93d1a80ddec16e9da90bad56be60bd9e3d6b3c0395fe8be35ad7de20c58e9caaabd042de4ae2c5a5c5f7b1d1c264c2ee2152265a73c2e79a542fc4ba6d01c MISC metadata.xml 632 BLAKE2B 48e631444ca05aa703c62720ca7f04e57095f32dcf134a1d8dfbab5276a71efebe3fa9d4ec211cd7a5b0b261186af61f78ecf3512fbb8c6da77d2b3c4e97038c SHA512 64f9f4f073b9f48436b4ea62a4d3d0cfba3057dddaffa986bdaa3ad56cfacfec21ef59618b06389f71d85ed1255bf639a755134dfea111b24e4cb7719d21dd80 diff --git a/media-sound/spotify/spotify-1.1.56.ebuild b/media-sound/spotify/spotify-1.1.56.ebuild deleted file mode 100644 index 0b02e6e47079..000000000000 --- a/media-sound/spotify/spotify-1.1.56.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit desktop pax-utils unpacker xdg - -DESCRIPTION="Spotify is a social music platform" -HOMEPAGE="https://www.spotify.com/download/linux/" -SRC_BASE="http://repository.spotify.com/pool/non-free/s/${PN}-client/" -BUILD_ID_AMD64="595.g2d2da0de" -SRC_URI="${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb" -LICENSE="Spotify" -SLOT="0" -KEYWORDS="amd64" -IUSE="libnotify local-playback pax-kernel pulseaudio systray" -RESTRICT="mirror strip" - -BDEPEND=">=dev-util/patchelf-0.10" -RDEPEND=" - dev-libs/nss - dev-python/dbus-python - dev-python/pygobject:3 - libnotify? ( x11-libs/libnotify ) - dev-libs/openssl:0= - media-libs/alsa-lib - media-libs/fontconfig - media-libs/harfbuzz - media-libs/mesa[X(+)] - net-misc/curl[ssl] - net-print/cups[ssl] - pulseaudio? ( media-sound/pulseaudio ) - !pulseaudio? ( media-sound/apulse ) - local-playback? ( media-video/ffmpeg:0/56.58.58 ) - systray? ( gnome-extra/gnome-integration-spotify ) - x11-libs/gtk+:2 - app-accessibility/at-spi2-atk - x11-libs/libxkbcommon - x11-libs/libXScrnSaver - x11-libs/libXtst - x11-libs/libSM - x11-libs/libICE -" - #sys-libs/glibc - -S=${WORKDIR}/ - -QA_PREBUILT=" - opt/spotify/spotify-client/spotify - opt/spotify/spotify-client/libEGL.so - opt/spotify/spotify-client/libGLESv2.so - opt/spotify/spotify-client/libcef.so - opt/spotify/spotify-client/swiftshader/libEGL.so - opt/spotify/spotify-client/swiftshader/libGLESv2.so -" - -src_prepare() { - # Fix desktop entry to launch spotify-dbus.py for systray integration - if use systray ; then - sed -i \ - -e 's/spotify \%U/spotify-dbus.py \%U/g' \ - usr/share/spotify/spotify.desktop || die "sed failed" - fi - default - - # Spotify links against libcurl-gnutls.so.4, which does not exist in Gentoo. - patchelf --replace-needed libcurl-gnutls.so.4 libcurl.so.4 usr/bin/spotify \ - || die "failed to patch libcurl library dependency" -} - -src_install() { - gunzip usr/share/doc/spotify-client/changelog.gz || die - dodoc usr/share/doc/spotify-client/changelog - - 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 - LD_LIBRARY_PATH="/usr/$(get_libdir)/apulse" \\ - 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_postinst() { - xdg_pkg_postinst - - ewarn "If Spotify crashes after an upgrade its cache may be corrupt." - ewarn "To remove the cache:" - ewarn "rm -rf ~/.cache/spotify" -} diff --git a/media-sound/spotify/spotify-1.1.67-r1.ebuild b/media-sound/spotify/spotify-1.1.67-r1.ebuild new file mode 100644 index 000000000000..a723919517c8 --- /dev/null +++ b/media-sound/spotify/spotify-1.1.67-r1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit desktop pax-utils unpacker xdg + +DESCRIPTION="Spotify is a social music platform" +HOMEPAGE="https://www.spotify.com/download/linux/" +SRC_BASE="http://repository.spotify.com/pool/non-free/s/${PN}-client/" +BUILD_ID_AMD64="586.gbb5ef64e" +SRC_URI="${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb" +LICENSE="Spotify" +SLOT="0" +KEYWORDS="amd64" +IUSE="libnotify local-playback pax-kernel pulseaudio systray" +RESTRICT="mirror strip" + +BDEPEND=">=dev-util/patchelf-0.10" +RDEPEND=" + dev-libs/nss + dev-python/dbus-python + libnotify? ( x11-libs/libnotify ) + dev-libs/openssl:0= + media-libs/alsa-lib + media-libs/fontconfig + media-libs/harfbuzz + media-libs/mesa[X(+)] + net-misc/curl[ssl] + net-print/cups[ssl] + pulseaudio? ( media-sound/pulseaudio ) + !pulseaudio? ( media-sound/apulse ) + local-playback? ( media-video/ffmpeg:0/56.58.58 ) + systray? ( gnome-extra/gnome-integration-spotify ) + x11-libs/gtk+:3 + app-accessibility/at-spi2-atk + x11-libs/libxkbcommon + x11-libs/libXScrnSaver + x11-libs/libXtst + x11-libs/libSM + x11-libs/libICE +" + #sys-libs/glibc + +S=${WORKDIR}/ + +QA_PREBUILT=" + opt/spotify/spotify-client/spotify + opt/spotify/spotify-client/libEGL.so + opt/spotify/spotify-client/libGLESv2.so + opt/spotify/spotify-client/libcef.so + opt/spotify/spotify-client/swiftshader/libEGL.so + opt/spotify/spotify-client/swiftshader/libGLESv2.so +" + +src_prepare() { + # Fix desktop entry to launch spotify-dbus.py for systray integration + if use systray ; then + sed -i \ + -e 's/spotify \%U/spotify-dbus.py \%U/g' \ + usr/share/spotify/spotify.desktop || die "sed failed" + fi + default + + # Spotify links against libcurl-gnutls.so.4, which does not exist in Gentoo. + patchelf --replace-needed libcurl-gnutls.so.4 libcurl.so.4 usr/bin/spotify \ + || die "failed to patch libcurl library dependency" +} + +src_install() { + gunzip usr/share/doc/spotify-client/changelog.gz || die + dodoc usr/share/doc/spotify-client/changelog + + 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 + LD_LIBRARY_PATH="/usr/$(get_libdir)/apulse" \\ + 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_postinst() { + xdg_pkg_postinst + + ewarn "If Spotify crashes after an upgrade its cache may be corrupt." + ewarn "To remove the cache:" + ewarn "rm -rf ~/.cache/spotify" +} -- cgit v1.2.3