mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-08 05:23:25 -05:00
6f0fef6179
Select use of either libspotify or librespot-c as streaming backend via config option. librespot-c (renamed/improved spotifyc) impl has the following: - sync interface - seek support - honor bitrate config, set client and thread name - use web access token with "streaming" scope for login - fix issue with podcast playback Also say goodbye to file-based Spotify login.
27 lines
726 B
Makefile
27 lines
726 B
Makefile
SUBDIRS = tests
|
|
|
|
noinst_LIBRARIES = librespot-c.a
|
|
|
|
SHANNON_SRC = \
|
|
src/shannon/ShannonFast.c src/shannon/Shannon.h src/shannon/ShannonInternal.h
|
|
|
|
PROTO_SRC = \
|
|
src/proto/keyexchange.pb-c.c src/proto/keyexchange.pb-c.h \
|
|
src/proto/authentication.pb-c.c src/proto/authentication.pb-c.h \
|
|
src/proto/mercury.pb-c.c src/proto/mercury.pb-c.h \
|
|
src/proto/metadata.pb-c.c src/proto/metadata.pb-c.h
|
|
|
|
CORE_SRC = \
|
|
src/librespot-c.c src/connection.c src/channel.c src/crypto.c src/commands.c
|
|
|
|
librespot_c_a_SOURCES = \
|
|
$(CORE_SRC) \
|
|
$(SHANNON_SRC) \
|
|
$(PROTO_SRC)
|
|
|
|
noinst_HEADERS = \
|
|
librespot-c.h src/librespot-c-internal.h src/connection.h \
|
|
src/channel.h src/crypto.h src/commands.h
|
|
|
|
EXTRA_DIST = README.md LICENSE
|