Search Criteria
Package Details: librespot-git 1:1435.e5fd7d6-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/librespot-git.git (read-only, click to copy) |
---|---|
Package Base: | librespot-git |
Description: | Open Source Spotify client library |
Upstream URL: | https://github.com/librespot-org/librespot |
Licenses: | MIT |
Conflicts: | librespot |
Provides: | librespot |
Submitter: | christoph.gysin |
Maintainer: | christoph.gysin |
Last Packager: | christoph.gysin |
Votes: | 12 |
Popularity: | 0.000000 |
First Submitted: | 2016-09-05 20:30 (UTC) |
Last Updated: | 2021-12-19 12:01 (UTC) |
Dependencies (4)
- alsa-lib
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- rust (rust-nightlyAUR, rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup-stubAUR, rustup) (make)
Required by (6)
- gm-companion (requires librespot) (optional)
- raspotify-git (requires librespot)
- spotify-qt (requires librespot) (optional)
- spotify-qt-git (requires librespot) (optional)
- tauon-music-box (requires librespot) (optional)
- tauon-music-box-git (requires librespot) (optional)
Latest Comments
« First ‹ Previous 1 2 3 4 Next › Last »
christoph.gysin commented on 2021-10-05 09:46 (UTC)
@whynothugo Thanks, I added a
prepare()
step to fetch all dependencies. Let me know if that works for you.I'm undecided about
--all-features
. I'd prefer to be able to build a single binary that works for all. Unfortunately that does not currently seem to be possible.The only issue seems to be
--with-dns-sd
, which overrides the defaultmDNS
implementation: https://github.com/librespot-org/librespot/blob/dev/discovery/src/lib.rs#L106From the wiki: https://github.com/librespot-org/librespot/wiki/Compiling#with-dns-sd "If with-dns-sd is enabled, librespot will crash if Avahi or Bonjour is not running. On the other hand, if with-dns-sd was not enabled, librespot might interfere with Avahi, Bonjour or other librespot instances if running, or even crash on some OSs."
If we add it, we break people without avahi. If we don't we break people with avahi.
I feel like staying with
--all-features
, and suggest everyone to run avahi. Could you elaborate if that's an option for you, or why not?IMO this should be reported upstream, with a PR adding a CLI parameter to choose mDNS even if dns-sd is built in.
whynothugo commented on 2021-10-05 08:54 (UTC)
The
--frozen
flag is problematic. This flag indicates that no network access should happen so build fails:This probably worked for you since you have everything in local cache -- building on a clean chroot (or cleaning up all cache and alike) will surface the error too.
I also noticed you added
--all-features
. This flag is also problematic, since it causes librespot to crash at startup if usingsystemd-resolved
instead ofavahi
. The upstream default is safe, in that it works on any environment.I think what @leonardder intended was for this to be built with pulseaudio support (or some other specific feature maybe?), but a blanked
--all-features
just makes this unusable for some of us. Generally following upstream as close as possible is the best practice.christoph.gysin commented on 2021-10-02 19:02 (UTC)
@leonardder Updated, builds now with all features.
leonardder commented on 2021-10-02 06:50 (UTC)
Could you consider making this package more similar to https://aur.archlinux.org/packages/librespot/ in how it builds (i.e. with all features instead of only Alsa)?
christoph.gysin commented on 2021-08-03 10:35 (UTC)
@whynothugo: Done, thanks for the patch.
whynothugo commented on 2021-08-03 10:17 (UTC)
Can you also install the systemd user service file?
christoph.gysin commented on 2018-02-22 13:36 (UTC)
@jack_slayton: Done, thanks!
jack_slayton commented on 2018-02-18 21:03 (UTC)
As https://github.com/plietar/librespot is not longer actively maintained, you could consider switching to https://github.com/librespot-org/librespot
christoph.gysin commented on 2018-01-26 12:15 (UTC)
@aerosq Thanks, added aarch64.
aerosq commented on 2018-01-25 04:15 (UTC)
Successfully compiled on ODROID C2. You may add aarch64 to the architecture list.
« First ‹ Previous 1 2 3 4 Next › Last »