Package Details: librespot-git 1:523.3ce2211-1

Git Clone URL: (read-only, click to copy)
Package Base: librespot-git
Description: Open Source Spotify client library
Upstream URL:
Licenses: MIT
Conflicts: librespot
Provides: librespot
Submitter: christoph.gysin
Maintainer: christoph.gysin
Last Packager: christoph.gysin
Votes: 10
Popularity: 0.122900
First Submitted: 2016-09-05 20:30
Last Updated: 2018-02-22 13:35

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

sekret commented on 2017-10-08 21:05

Sorry for the late reply. I just built the now current version 1:363.8971d3a-1 and it worked fine, looks like this was fixed upstream.

So thanks for the updates in the PKGBUILD. Just so you know, here's the output of namcap:

Checking librespot-git-1:363.8971d3a-1-x86_64.pkg.tar
librespot-git E: Missing custom license directory (usr/share/licenses/librespot-git)
librespot-git W: Unused shared library '/usr/lib/' by file ('usr/bin/librespot')
librespot-git W: Unused shared library '/usr/lib/' by file ('usr/bin/librespot')
librespot-git W: Unused shared library '/usr/lib/' by file ('usr/bin/librespot')
librespot-git W: Dependency included and not needed ('protobuf')

The custom license should be provided with
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

I just tried it, the protobuf dependency really isn't required. Maybe it's just a make-dependency?

The other warnings can be ignored I guess.

christoph.gysin commented on 2017-10-01 18:48

It seems that indeed, the latest version is currently broken in upstream master. Also --holdver does not seem to work (or I don't understand how it is supposed to be used).

@sekret Could you please open an issue upstream?

christoph.gysin commented on 2017-10-01 18:39

Since this is a -git package, the version it builds is always changing. What git revision were you using? Does it compile if you build against the version in the PKGBUILD (ddfc28f), buy using makepkg --holdver?

sekret commented on 2017-10-01 17:33

I just tried to compile your latest version on my x86_64 laptop. Unfortunately it doesn't run though, it aborts with this message:

Compiling rand v0.3.16
error: failed to run custom build command for `librespot-protocol v0.1.0 (file:///build/librespot-git/src/librespot/protocol)`
process didn't exit successfully: `/build/librespot-git/src/librespot/target/release/build/librespot-protocol-392493ad54b8928e/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Checksum for "proto/metadata.proto" does not match. Try running', protocol/
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in build().

I'll try to investigate, but maybe you already have an idea. Smells like a missing dependency to me. I build in a clean chroot, so I really only have the dependencies provided in the package + base + base-devel

christoph.gysin commented on 2017-09-23 09:55

Package updated:
- switched to use the alsa-backend only, getting rid of the portaudio dependency
- made rust a build dependency
- removed cargo, as it's provided by rust now
- removed unused config file
- added arch armv7h

Let me know if there are any issues.

sekret commented on 2017-09-20 11:09

I just built this package on my raspberry pi which has ArchlinuxARM installed. So you could add 'armv7h' to the supported architectures.

Also, the only real dependency is portaudio, please adjust the depends and makedepends lines accordingly. Especially having the big rust package installed for no reason isn't very pleasant ;-)

christoph.gysin commented on 2017-09-15 18:31

@sekret Fixed, thanks.

sekret commented on 2017-09-10 08:31

Please add git to makedepends.

christoph.gysin commented on 2017-08-16 21:13

@hobarrera Updated to use the provided service file.

I'll try to build librespot without the portaudio backend to get rid of that dependency completely.

WhyNotHugo commented on 2017-06-20 18:04

portaudio is also a runtime dependency (librespot won't start if you uninstall it).