Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
be798998
Commit
be798998
authored
Mar 27, 2011
by
Simon Kagstrom
Committed by
Max Kellermann
Mar 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: Add despotify to build system
parent
c3b425d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
0 deletions
+42
-0
Makefile.am
Makefile.am
+27
-0
configure.ac
configure.ac
+15
-0
No files found.
Makefile.am
View file @
be798998
...
...
@@ -109,7 +109,9 @@ mpd_headers = \
src/input/curl_input_plugin.h
\
src/input/rewind_input_plugin.h
\
src/input/mms_input_plugin.h
\
src/input/despotify_input_plugin.h
\
src/input/cdio_paranoia_input_plugin.h
\
src/despotify_utils.h
\
src/text_file.h
\
src/text_input_stream.h
\
src/icy_server.h
\
...
...
@@ -181,6 +183,7 @@ mpd_headers = \
src/playlist/asx_playlist_plugin.h
\
src/playlist/rss_playlist_plugin.h
\
src/playlist/lastfm_playlist_plugin.h
\
src/playlist/despotify_playlist_plugin.h
\
src/playlist/cue_playlist_plugin.h
\
src/playlist/flac_playlist_plugin.h
\
src/poison.h
\
...
...
@@ -361,6 +364,11 @@ src_mpd_SOURCES = \
src/stored_playlist.c
\
src/timer.c
if
ENABLE_DESPOTIFY
src_mpd_SOURCES
+=
\
src/despotify_utils.c
endif
if
ENABLE_INOTIFY
src_mpd_SOURCES
+=
\
src/inotify_source.c
\
...
...
@@ -660,6 +668,10 @@ if ENABLE_MMS
INPUT_SRC
+=
src/input/mms_input_plugin.c
endif
if
ENABLE_DESPOTIFY
INPUT_SRC
+=
src/input/despotify_input_plugin.c
endif
OUTPUT_CFLAGS
=
\
$(AO_CFLAGS)
\
...
...
@@ -802,6 +814,10 @@ if ENABLE_LASTFM
PLAYLIST_SRC
+=
src/playlist/lastfm_playlist_plugin.c
endif
if
ENABLE_DESPOTIFY
PLAYLIST_SRC
+=
src/playlist/despotify_playlist_plugin.c
endif
if
HAVE_CUE
PLAYLIST_SRC
+=
src/playlist/cue_playlist_plugin.c
endif
...
...
@@ -995,6 +1011,17 @@ if HAVE_LIBSAMPLERATE
test_run_filter_SOURCES
+=
src/pcm_resample_libsamplerate.c
endif
if
ENABLE_DESPOTIFY
test_read_tags_SOURCES
+=
\
src/despotify_utils.c
test_run_input_SOURCES
+=
\
src/despotify_utils.c
test_dump_playlist_SOURCES
+=
\
src/despotify_utils.c
test_run_decoder_SOURCES
+=
\
src/despotify_utils.c
endif
if
ENABLE_ENCODER
noinst_PROGRAMS
+=
test
/run_encoder
test_run_encoder_SOURCES
=
test
/run_encoder.c
\
...
...
configure.ac
View file @
be798998
...
...
@@ -242,6 +242,11 @@ AC_ARG_ENABLE(lastfm,
[enable support for last.fm radio (default: disable)]),,
[enable_lastfm=no])
AC_ARG_ENABLE(despotify,
AS_HELP_STRING([--enable-despotify],
[enable support for despotify (default: disable)]),,
[enable_despotify=no])
AC_ARG_ENABLE(lame-encoder,
AS_HELP_STRING([--enable-lame-encoder],
[enable the LAME mp3 encoder]),,
...
...
@@ -649,6 +654,15 @@ if test x$enable_lastfm = xyes; then
fi
AM_CONDITIONAL(ENABLE_LASTFM, test x$enable_lastfm = xyes)
dnl --------------------------------- Despotify ---------------------------------
MPD_AUTO_PKG(despotify, DESPOTIFY, [despotify],
[libcurl HTTP streaming], [libcurl not found])
if test x$enable_despotify = xyes; then
AC_DEFINE(ENABLE_DESPOTIFY, 1, [Define when despotify is enabled])
MPD_LIBS="$MPD_LIBS $DESPOTIFY_LIBS"
fi
AM_CONDITIONAL(ENABLE_DESPOTIFY, test x$enable_despotify = xyes)
dnl ---------------------------------- libcue ---------------------------------
MPD_AUTO_PKG(cdio_paranoia, CDIO_PARANOIA, [libcdio_paranoia],
[libcdio_paranoia audio CD library], [libcdio_paranoia not found])
...
...
@@ -1625,6 +1639,7 @@ results(curl,[CURL])
results(lastfm,[Last.FM])
results(mms,[MMS])
results(cdio_paranoia, [CDIO_PARANOIA])
results(despotify,[Despotify])
printf '\n\n##########################################\n\n'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment