Username: Password: Remember me
Search + Advanced
Package Details

A proprietary music streaming service

Category: multimedia

Submitter: danyf90
Maintainer: James_Che
Votes: 21

License: custom

Last Updated: 2019/04/20 - 18:38:41 +0000
First Submitted: 2013/02/22 - 08:11:55 +0000

Tarball :: PKGBUILD
This package has been flagged out of date.

Dependenciesalsa-lib>=1.0.14 desktop-file-utils gconf glib2 gtk2 libsystemd libx11 libxss libxtst nss openssl rtmpdump 

Required by blockify


Comment by: Tux83 on Thu, 10 Jan 2019 23:15:21 +0000

Updated !   

Comment by: elfasito on Sat, 24 Mar 2018 15:45:16 +0000

Hello I cant install spotify.
Have a problem with curl dependency, Is outdated.

Comment by: James_Che on Sun, 13 Aug 2017 21:35:49 +0000

Hello @ahjolinna, if you want I'll leave it for you to maintain the package.
But I would like to know how you compile libcurl-compat, because I tried to download it from Arch repositories but it gives me a gpg error

Comment by: ahjolinna on Sun, 13 Aug 2017 18:35:26 +0000

@James_Che: I don't know why you haven't been able to update spotify and libcurl-compat, if this is a more of "permanent" thing for you I can re-maintain them again as I got chakraOS working on my ultrabook...

Comment by: ahjolinna on Mon, 05 Jun 2017 15:13:39 +0000

unfortunately I have to disown as I don't use chakra currently, my installation broke over ½ year ago and the current ISO wont work with (my) GTX970 ( … /issues/34)

for the one who will adopt this plz remember to adopt/update libcurl-compat also

Comment by: andramos on Mon, 29 May 2017 16:22:17 +0000

A 404 error is happening again, I have installed in mi PC the spotify in AUR repositories (ignoring openssl and libsystemd dependencies). Hope it helps somebody wink

Comment by: iyanmv on Thu, 12 Jan 2017 10:49:07 +0000

I get a segmentation fault error when I try to login.

Comment by: ahjolinna on Sun, 11 Sep 2016 19:54:50 +0000

According to Spotify the Linux version was never even covered by official support, it never left the "preview" mode...
they don't even have a full time dev working on the the linux version anymore.

Comment by: ahjolinna on Sat, 03 Sep 2016 05:30:21 +0000

SERIOUSLY! if there is a new version just press the "Flag Out-of-date" button and I will update it when I notice it, there is no need to tell me in the comment section about it, because there is a less chance I will notice it .......only if you have problems or have new ideas or modifcation  for the pkgbuild then u can put it

Comment by: omarmalave on Sun, 14 Aug 2016 05:11:29 +0000

Hi, the spotify version at download site is updated: 


it work for me.

Comment by: ahjolinna on Mon, 06 Jun 2016 18:18:57 +0000

@shevchenko1987: plz dont paste the whole PKGBUILD use instead or and paste the link .

also there is no need if to do that if there isnt any big changes to the pkgbuild other than version number and checksum or source

Comment by: shevchenko1987 on Sat, 04 Jun 2016 13:18:41 +0000

# Maintainer: ahjolinna <>
# Contributor: Eothred <>
# Contributor: Ashley Whetter <(firstname) @>

pkgdesc="A proprietary music streaming service"
license=('custom:"Copyright (c) 2006-2013 Spotify Ltd"')
options=('!strip' '!upx')
conflicts=('spotify-beta' 'spotify-old-qt4')
replaces=('spotify-beta' 'spotify-old-qt4')


depends=("alsa-lib>=1.0.14" "gconf" "gtk2" "glib2" "nss" "systemd" "libxtst" "libx11" "libxss" "libcurl-compat" "desktop-file-utils" "rtmpdump")
optdepends=('ffmpeg0.10: Adds support for playback of local files'
            'zenity: Adds support for importing local files'
package() {
    cd "${srcdir}"
	tar -xzf data.tar.gz -C "${pkgdir}"
    rm -r ${pkgdir}/usr/share/doc
	install -d "${pkgdir}"/usr/share/applications
	install -d "${pkgdir}"/usr/share/pixmaps
	install "${pkgdir}"/usr/share/spotify/spotify.desktop "${pkgdir}"/usr/share/applications/spotify.desktop
	install "${pkgdir}"/usr/share/spotify/icons/spotify-linux-512.png "${pkgdir}"/usr/share/pixmaps/spotify-client.png
    rm "${pkgdir}"/usr/bin/spotify
	echo -en '#!/bin/ /usr/share/spotify/spotify "$@"' > ${pkgdir}/usr/bin/spotify
    chmod +x ${pkgdir}/usr/bin/spotify
    echo "Installing with KDE support"
    install -Dm644 "${srcdir}/spotify.protocol" "${pkgdir}/usr/share/kservices5/spotify.protocol"
    find ${pkgdir}/usr -type d -exec chmod 755 {} ;

Comment by: saulonio on Sat, 04 Jun 2016 10:06:22 +0000

Doesn't install. Turns out … _amd64.deb goes to a 404 page.

Comment by: iyanmv on Wed, 01 Jun 2016 16:19:50 +0000

Also, I just noticed that lyrics stop working with last update...

Comment by: iyanmv on Sun, 22 May 2016 00:51:26 +0000

Last update is a sh**!! It's like they only change the font to a shity one... it looks horrible now sad

Comment by: ahjolinna on Fri, 15 Apr 2016 01:03:18 +0000

v1.0.27.71 is for 64bit and v1.0.27.73 is for 32bit, plz flag out only when new 64bit version has arrived

Comment by: ahjolinna on Fri, 19 Feb 2016 22:48:08 +0000

@george: the spotify app is rewriten now as gtk webapp...instead of as native qt app (like the previous was) there is still a lot of problems and features missing, I would complain/ask the spotify forum: … -p/1192307

Comment by: ahjolinna on Fri, 19 Feb 2016 22:40:01 +0000

there is

Comment by: george on Thu, 11 Feb 2016 04:28:07 +0000

Spotify segfaults whenever I try to play local files. ffmpeg-compat is installed. Any ideas?

Comment by: ahjolinna on Mon, 07 Dec 2015 15:27:15 +0000

tray icon is missing because the new web app version is so horrible, it has also other features missing (compare to the Qt4 version). we have to see if this web app version will get the kde sys-tray support, I doubt it

Comment by: Diels-Alder on Mon, 07 Dec 2015 09:14:40 +0000

Ok, crashed after click play on each song. But I fixed yesterday. I used your PKGBUILD and the new version in repos. Before installing new version I deleted ~/.config/spotify and ~/.cache/spotify. Now it works. We still have problem on tray icon in KDE5. Any suggestion?Other GTK app works fine but spotify don't. I don't have the menu to set up that.

Thnx you all

Comment by: Eothred on Mon, 07 Dec 2015 08:25:09 +0000

Could you be more specific? Does it crash immediately upon startup? Is there any more output printed? You could try to rename/remove the folder ~/.config/spotify and see if the problem persist? I do not see a segfault but maybe there is a library or two I have installed which is needed but not in the PKGBUILD..

Comment by: Diels-Alder on Sun, 06 Dec 2015 09:53:47 +0000

Hi guys, 

Here we are, /usr/bin/spotify: line 6: 19226 Segmentation fault      (core dumped) /usr/share/spotify/spotify "$@"

Could you provide any suggestion? Crash continuosly!

Comment by: iyanmv on Fri, 13 Nov 2015 14:16:19 +0000

Spotify icon is not shown in the new system tray of Plasma 5 even with sni-qt installed :S

Comment by: Eothred on Mon, 02 Nov 2015 16:09:31 +0000

forgot I had a functioning VM with me, updated

Comment by: Eothred on Mon, 02 Nov 2015 11:14:58 +0000

hey thanks for the update. unfortunately I am away this week and will probably not be able to update before the weekend. if anyone with more time than me want to take over maintenance let me know and I can disown..

Comment by: grusta on Fri, 30 Oct 2015 14:07:07 +0000

New spotify version,
Here is the corrected PKGBUILD : … p27GAjXbk=

Comment by: ahjolinna on Sat, 24 Oct 2015 17:34:44 +0000

spotify's linux client is now a horrible web app-_- sigh

Comment by: Eothred on Thu, 11 Jun 2015 06:36:03 +0000


Please prepend your command with "LC_ALL=C" when you submit logs (so they are in English which most understand). That would mean for example "LC_ALL=C ccr -S spotify"

Regarding your error, the downloaded .deb package is wrong I suspect. Please delete it and try again. I checked just now and the sha512 sum seems to be correct.

Comment by: wholeeo on Wed, 10 Jun 2015 22:38:41 +0000

I received the following error:

Validando las fuentes con sha512sums...
    spotify-client-0.9.17_0.9.17.8.gd06432d.31-1_amd64.deb ... HA FALLADO
    spotify ... Aprobado
    spotify.protocol ... Aprobado
==> ERROR: ¡Uno o más archivos no superaron el control de validación!
The build failed.

Comment by: Eothred on Sun, 31 May 2015 19:29:15 +0000


Anyone knows a better icon file url?

Comment by: UtG on Sat, 30 May 2015 11:17:49 +0000

available v0.9.17.8

Comment by: Eothred on Tue, 07 Apr 2015 13:06:42 +0000

Taken awfully long to update this, thanks to Skool182 for giving the working PKGBUILD meanwhile.

Comment by: Skool182 on Sun, 29 Mar 2015 16:05:59 +0000

A working PKGBUILD is :

# Maintainer:  danyf90 <>
# Contributor: Gadget3000 <>
# Contributor: Eothred <>

pkgdesc="A proprietary peer-to-peer music streaming service"
license=('custom:"Copyright (c) 2006-2013 Spotify Ltd"')
depends=("alsa-lib" "gconf" "glibc" "libgcrypt15" "libxss" "qtwebkit" "nspr<5.0")
optdepends=('desktop-file-utils: Adds URI support to compatible desktop environments'
            'ffmpeg-spotify: Adds playback support for local files')

package() {
  cd $srcdir

  ar x $pkgname-client_$pkgver.${_pkgver}_amd64.deb > /dev/null
  tar -xJf data.tar.xz -C $pkgdir

  install -d $pkgdir/usr/share/
  mv $pkgdir/opt/spotify $pkgdir/usr/share/
  rm -r $pkgdir/opt

  # Bin Script
  install -Dm755 $srcdir/spotify $pkgdir/usr/bin/spotify

  install -d $pkgdir/usr/share/spotify/libs/
  ln -s /usr/lib/ $pkgdir/usr/share/spotify/libs/

  # Copy license
  install -Dm644 $pkgdir/usr/share/doc/$pkgname-client/copyright $pkgdir/usr/share/licenses/$pkgname/copyright

  install -Dm644 $srcdir/spotify.protocol $pkgdir/usr/share/kde4/services/spotify.protocol

Comment by: Skool182 on Sun, 29 Mar 2015 16:04:19 +0000

the version is not available in the spotify directory, the new one is

we need to change the PKGBUILD during the installation.

Also, the new version is compressed as tar.xz not tar.gz, so we need to update the PKGBUILD as it :

in package ()
+ tar xJf data.tar.xz -C $pkgdir

Comment by: shadow on Thu, 26 Feb 2015 18:03:26 +0000

I'm getting a segfault, looks like it's related to with gtk2 being updated to 2.24.26:

/usr/bin/spotify: line 6: 2665 Segmentation fault (core dumped) LD_LIBRARY_PATH=/usr/share/spotify/libs/ /usr/share/spotify/spotify-client/spotify "$@"

I've been checking on AUR, same issue. It's been posted on Spotify forums already.

Comment by: ahjolinna on Mon, 12 Jan 2015 19:57:10 +0000

spotify needs these dependency: 'alsa-lib' 'atk' 'cairo' 'dbus-core' 'elfutils' 'expat' 'fontconfig' 'freetype2' 'gcc-libs' 'gconf' 'gdk-pixbuf2' 'glib2' 'gtk2' 'libcap' 'libcups' 'libgcrypt15' libx11' 'libxcomposite' 'libxdamage' 'libxext' 'libxfixes' 'libxi' 'libxrender' 'nspr' 'nss' 'pango'

Comment by: ChakraHeaven on Wed, 31 Dec 2014 18:52:10 +0000

Please update PKGBUILD dependency libgcrypt15 to chakra provided core package libgcrypt.

Comment by: ahjolinna on Wed, 17 Dec 2014 15:09:01 +0000

future notice, this will happen :
/usr/share/spotify/spotify-client/spotify: error while loading shared libraries: cannot open shared object file: No such file or directory

pls add libgcrypt15 as Dependencies

Comment by: ahjolinna on Wed, 23 Jul 2014 17:04:07 +0000

please add a screenshot

Comment by: Eothred on Tue, 11 Feb 2014 12:32:21 +0000

Works again now, not sure what changed.

Comment by: Eothred on Fri, 07 Feb 2014 14:50:00 +0000

Looks like the "web browser" in the current version is not working for me? E.g. the apps and the discover page just show the "loading wheel" forever... Anyone else with the same issue?

Comment by: Ram-Z on Mon, 24 Jun 2013 13:55:48 +0000

$ LC_ALL=C ccr [...] 

should do the trick

Comment by: ChakraHeaven on Sun, 23 Jun 2013 22:05:36 +0000

thank you, installed without flaw.

Don't know how to set ccr output to C, can someone instruct me? I remember having read a debugging howto on chakra bugs(?) how to switch from "foreign" locale to "C" output, but i can not find it anymore.

Comment by: danyf90 on Sat, 22 Jun 2013 22:44:52 +0000

now it should work, please post error message in english

Comment by: ChakraHeaven on Sat, 22 Jun 2013 19:11:02 +0000

Did not install

X86_64, installed versions:
[miga@nb03 tmp]$ pacman -Qs spotify
local/ffmpeg-spotify 0.5.7-1
    Legacy FFMPEG (0.5.7) for Spotify for Linux, that adds support for playback local files.
    A proprietary peer-to-peer music streaming service
[miga@nb03 tmp]$
Sorry for german output:
[miga@nb03 tmp]$ ccr -Syu --ccronly
:: Synchronizing ccr database...
 ccr                                        51  51 [###################################################################################################] 100%
:: Starting full ccr upgrade...

Ccr Targets    (1): spotify

Proceed with installation? [Y/n] 

uRL: … ify.tar.gz
Edit spotify PKGBUILD with $EDITOR? [Y/n] n
Edit spotify.install with $EDITOR? [Y/n] n
==> Erstelle Paket: spotify (Sa 22. Jun 20:09:01 CEST 2013)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
  -> Lade spotify-client_0.9.1.55.gbdd3b79.203-1_amd64.deb herunter...
--2013-06-22 20:09:02-- … _amd64.deb
Auflösen des Hostnamen » («...
Verbindungsaufbau zu (||:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 41726600 (40M) [application/x-debian-package]
In »»spotify-client_0.9.1.55.gbdd3b79.203-1_amd64.deb.part«« speichern.

100%[===================================================================================================================>] 41.726.600   676KB/s   in 70s    

2013-06-22 20:10:12 (585 KB/s) - »»spotify-client_0.9.1.55.gbdd3b79.203-1_amd64.deb.part«« gespeichert [41726600/41726600]

  -> spotify gefunden
  -> spotify.protocol gefunden
==> Überprüfe Gültigkeit der Quell-Dateien mit sha512sums...
    spotify-client_0.9.1.55.gbdd3b79.203-1_amd64.deb ... Durchgelaufen
    spotify ... Durchgelaufen
    spotify.protocol ... Durchgelaufen
==> Entpacke Quellen ...
  -> Entpacke spotify-client_0.9.1.55.gbdd3b79.203-1_amd64.deb mit bsdtar 
==> Betrete fakeroot Umgebung...
==> Beginne package()...                                                                                                                                     
ar: spotify-client_0.9.1.55.amd64.deb: Datei oder Verzeichnis nicht gefunden                                                                                 
==> FEHLER: Ein Fehler geschah in package().                                                                                                                 
    Breche ab ...                                                                                                                                            
The build failed.                                                                                                                                            
 local database is up to date                                                                                                                                
[miga@nb03 ~]$ find /tmp/ccrbuild-1000/
[miga@nb03 ~]$ 

Comment by: danyf90 on Mon, 20 May 2013 18:50:51 +0000

dep. removed

Comment by: Ram-Z on Mon, 20 May 2013 15:58:28 +0000

the lib32-gtk2 dep doesn't seem to be necessary.

Comment by: thomson on Tue, 14 May 2013 17:54:52 +0000

Nachdem ich gconf über CCR installiert habe, hat es funktioniert

Comment by: thomson on Mon, 13 May 2013 18:23:07 +0000

opt/spotify/spotify-client/spotify: error while loading shared libraries: 
cannot open shared object file: No such file or directory 

Comment by: danyf90 on Mon, 13 May 2013 16:03:18 +0000

thank you for reporting, now it should work

Comment by: dimmer on Mon, 13 May 2013 10:11:07 +0000

/opt/spotify/spotify-client/spotify: error while loading shared libraries: cannot open shared object file: No such file or directory

Comment by: danyf90 on Thu, 02 May 2013 19:42:24 +0000

i've already updated it. the deb spotify-client-qt package doesn't contain anything...

Comment by: AlmAck on Thu, 02 May 2013 19:17:52 +0000

new .deb file here: … _amd64.deb
I saw now in the repo the pkg spotify-client-qt?? danyf90, maybe you can prepare this new pkg?