Package Details: spotify 1:1.2.31.1205-2

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: 149
Popularity: 12.68
First Submitted: 2023-02-09 22:51 (UTC)
Last Updated: 2024-02-21 23:20 (UTC)

Pinned Comments

gromit commented on 2024-01-24 14:22 (UTC) (edited on 2024-02-22 23:00 (UTC) by gromit)

Please make sure to import the correct GPG key first:

$ curl -sS https://download.spotify.com/debian/pubkey_6224F9941A8AA6D1.gpg  | gpg --import -

And always build in a clean chroot. It is as easy as:

pacman -S devtools
git clone https://aur.archlinux.org/spotify.git
cd spotify
pkgctl build
pacman -U <path-to-spotify-package>

It is expected that the package will break now and then, as spotify continuously changes download binaries, gpg 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-2 that now allows you to set custom launch flags in a spotify-flags.conf file under $XDG_CONFIG_HOME or ~/.config :)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 Next › Last »

gromit commented on 2023-06-28 11:28 (UTC)

Uh interesting! I also sometimes have it but it is mostly fixed by a restart so far :)

figue commented on 2023-06-28 09:38 (UTC)

I have to delete my cache to use the new version (UI was black):

rm -rf ~/.cache/spotify

Antiz commented on 2023-06-20 13:46 (UTC)

@MarsSeed I personally don't recommend using web.archive.org.
Apart from being considerably slower, I don't think downloading sources anywhere else than the official ones is a good solution. That sounds like a workaround to "patch" the fact that the package isn't actively maintained.
We are working on fixing the latter part instead ;)

MarsSeed commented on 2023-06-20 13:26 (UTC)

@gromit, thank you for the update!

Would you consider my recommendation to use web.archive.org to host the source files? In order to prevent Spotify breaking new installs of this package when they update to a new version and delete the old version.

MarsSeed commented on 2023-06-20 10:02 (UTC)

@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.

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