@angusm please read my earlier comment, I've written a workable solution to that. The current files meant to go into source=() should be saved on web.archive.org, and then the archived copies should be linked to by this AUR package.
Search Criteria
Package Details: spotify 1:1.2.89.539-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/spotify.git (read-only, click to copy) |
|---|---|
| Package Base: | spotify |
| Description: | A proprietary music streaming service |
| Upstream URL: | https://www.spotify.com |
| Licenses: | custom |
| Submitter: | Foxboron |
| Maintainer: | gromit (Antiz) |
| Last Packager: | gromit |
| Votes: | 266 |
| Popularity: | 12.14 |
| First Submitted: | 2023-02-09 22:51 (UTC) |
| Last Updated: | 2026-05-18 14:53 (UTC) |
Dependencies (13)
- alsa-lib
- at-spi2-atk (at-spi2-core-gitAUR, at-spi2-core)
- desktop-file-utils (desktop-file-utils-gitAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classic-xfceAUR)
- libayatana-appindicator
- libcurl-gnutls (libcurl3-gnutlsAUR, libcurl-gnutls-gitAUR)
- libsm
- libxss
- nss (nss-hgAUR)
- openssl (openssl-gitAUR, openssl-staticAUR, openssl-aegisAUR)
- ffmpeg4.4 (optional) – Adds support for playback of local files
- libnotify (libnotify-gitAUR) (optional) – Desktop notifications
- zenity (zenity-gtk3AUR, zenity-gitAUR, qarma-gitAUR, zenity-rs-binAUR) (optional) – Adds support for importing local files
Required by (22)
- blockify-git
- i3blocks-contrib (optional)
- i3blocks-contrib-git (optional)
- mustream-git
- noon-optional
- polybar-spotify
- polybar-spotify-module
- sp
- spotify-adblock
- spotify-adblock-git
- spotify-adkiller-dns-block-git
- spotify-adkiller-git
- spotify-control
- spotify-fixer
- spotify-remove-ad-banner
- spotify-tray-git
- spotify-tray-wayland-bin (optional)
- spotify-tray-wayland-git (optional)
- spotifywm-git (optional)
- spotrec (optional)
- Show 2 more...
Sources (7)
Latest Comments
« First ‹ Previous 1 .. 17 18 19 20 21 22 23 24 25 26 27 Next › Last »
MarsSeed commented on 2023-06-20 10:02 (UTC)
angusm commented on 2023-06-20 09:52 (UTC)
Currently prepare() checks that the hash of Packages matches the one mentioned in Release, and that the hash of the deb package itself matches the one mentioned in Packages.
This is reasonable because it establishes a chain of trust from the deb package back to the PGP key that signed Release. It seems the problem is that Packages only contains the hash of the latest version, so this PKGBUILD breaks every time Spotify releases a new version (even if the old version is still available).
Not sure what to do to improve that situation.
angusm commented on 2023-06-20 09:40 (UTC)
New working patch:
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,9 +5,9 @@
# Contributor: Eothred <yngve.levinsen@gmail.com>
pkgname=spotify
-pkgver='1.2.9.743'
+pkgver='1.2.13.661'
epoch=1
-_commit=g85d9593d
+_commit=ga588f749
pkgrel=1
pkgdesc='A proprietary music streaming service'
arch=('x86_64')
@@ -34,7 +34,7 @@ source=('spotify.protocol'
"${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages::http://repository.spotify.com/dists/testing/non-free/binary-amd64/Packages")
sha512sums=('999abe46766a4101e27477f5c9f69394a4bb5c097e2e048ec2c6cb93dfa1743eb436bde3768af6ba1b90eaac78ea8589d82e621f9cbe7d9ab3f41acee6e8ca20'
'2e16f7c7b09e9ecefaa11ab38eb7a792c62ae6f33d95ab1ff46d68995316324d8c5287b0d9ce142d1cf15158e61f594e930260abb8155467af8bc25779960615'
- '3939213b1f7a2776000417e48fec84aebb8b1f4156b3521542c9b901b4e78f4ff00d9d20c77747ae67bde75a4a36dabc5a3e5e431aef66207b6a8b264e58c9e5'
+ '5ccac37274ca587414a9f4c5c427fd5d4b93bbde0b39efb94ccf79a1b5947df4a00a79e00686e59a4ccd097eca0bad88e6f030f2e236d86a82c37d8e011217e9'
'SKIP'
'SKIP'
'SKIP')
TaYaKi71751 commented on 2023-06-15 13:07 (UTC) (edited on 2023-06-15 13:07 (UTC) by TaYaKi71751)
Make a file version.patch:
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,9 +5,9 @@
# Contributor: Eothred <yngve.levinsen@gmail.com>
pkgname=spotify
-pkgver='1.2.9.743'
+pkgver='1.2.11.916'
epoch=1
-_commit=g85d9593d
+_commit=geb595a67
pkgrel=1
pkgdesc='A proprietary music streaming service'
arch=('x86_64')
@@ -34,7 +34,7 @@ source=('spotify.protocol'
"${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages::http://repository.spotify.com/dists/testing/non-free/binary-amd64/Packages")
sha512sums=('999abe46766a4101e27477f5c9f69394a4bb5c097e2e048ec2c6cb93dfa1743eb436bde3768af6ba1b90eaac78ea8589d82e621f9cbe7d9ab3f41acee6e8ca20'
'2e16f7c7b09e9ecefaa11ab38eb7a792c62ae6f33d95ab1ff46d68995316324d8c5287b0d9ce142d1cf15158e61f594e930260abb8155467af8bc25779960615'
- '3939213b1f7a2776000417e48fec84aebb8b1f4156b3521542c9b901b4e78f4ff00d9d20c77747ae67bde75a4a36dabc5a3e5e431aef66207b6a8b264e58c9e5'
+ '433b8cb271305c8bc64d33eb16452e7b3fed4afabbd3f374b9af4ad808999a595eedf87cc9415087715c9779fd24c6ae4332c557c9bc4b9f6546b043eb1e98f7'
'SKIP'
'SKIP'
'SKIP')
Run patch:
patch -p1 < ./version.patch
Install:
makepkg -Si && makepkg -i
Whey_Isolate commented on 2023-06-15 04:17 (UTC)
Also getting the same error as some other commenters:
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.2.9.743.g85d9593d_amd64.deb
mio-19 commented on 2023-06-14 12:50 (UTC)
curl: (22) The requested URL returned error: 404
kript66661 commented on 2023-06-11 14:43 (UTC) (edited on 2023-06-11 14:44 (UTC) by kript66661)
Getting an error:
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.2.9.743.g85d9593d_amd64.deb
seems like the spotify-client_1.2.9.743.g85d9593d_amd64.deb is no longer available on the server. need to update officialPKGBUILD for other official clients.
MarsSeed commented on 2023-06-10 19:13 (UTC)
I am reposting my last comment because it gets lost with the posted PKGBUILD spam (which does not even incorporate my suggestion to solve the missing source problems).
To avoid source 404 errors due to Spotify deleting old versions, I suggest to make web.archive.org save the actual source files whenever a new version is out, and link to those in PKGBUILD.
E.g., see available archived DEB files as of June 10, 2023.
With this solution, people could keep installing the non-latest version of Spotify until AUR package maintainer(s) had the chance to update to the newer release.
MarsSeed commented on 2023-06-10 19:12 (UTC)
It is not useful to spam the comment thread by posting full PKGBUILD versions.
Please submit only short deltas, or upload your PKGBUILD somewhere, e.g. PasteBin.
Pinned Comments
Antiz commented on 2025-11-23 18:37 (UTC) (edited on 2025-11-23 18:41 (UTC) by Antiz)
Please make sure to import the correct OpenPGP key first:
And always build in a clean chroot. It is as easy as:
It is expected that the package will break now and then, as spotify continuously changes download binaries, OpenPGP keys, etc (which is not appropriate, but we cannot change this). Please be patient if an update does not occur the next day, you can still use an existing spotify install or update the version yourself.
Antiz commented on 2023-09-13 13:21 (UTC)
@lightofpast Just pushed
v1:1.2.20.1210-2that now allows you to set custom launch flags in aspotify-flags.conffile under$XDG_CONFIG_HOMEor~/.config:)