Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
bd17d395
Commit
bd17d395
authored
Sep 22, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc: avoid genmf in some simple cases
Also do not hard-code -lm for the fingerprinter.
parent
7117de51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
configure.ac
configure.ac
+2
-3
modules/misc/Modules.am
modules/misc/Modules.am
+10
-7
No files found.
configure.ac
View file @
bd17d395
...
@@ -602,7 +602,7 @@ AC_CHECK_FUNCS([if_nameindex if_nametoindex])
...
@@ -602,7 +602,7 @@ AC_CHECK_FUNCS([if_nameindex if_nametoindex])
VLC_RESTORE_FLAGS
VLC_RESTORE_FLAGS
AS_IF([test -n "$SOCKET_LIBS"], [
AS_IF([test -n "$SOCKET_LIBS"], [
VLC_ADD_LIBS([access_rtmp access_output_shout sap stream_out_standard stream_out_rtp stream_out_raop vod_rtsp rtp oldrc netsync gnutls ts
audioscrobbler
remoteosd audiobargraph_a],[${SOCKET_LIBS}])
VLC_ADD_LIBS([access_rtmp access_output_shout sap stream_out_standard stream_out_rtp stream_out_raop vod_rtsp rtp oldrc netsync gnutls ts remoteosd audiobargraph_a],[${SOCKET_LIBS}])
])
])
AC_SUBST(SOCKET_LIBS)
AC_SUBST(SOCKET_LIBS)
...
@@ -3656,10 +3656,9 @@ dnl chromaprint audio track fingerprinter
...
@@ -3656,10 +3656,9 @@ dnl chromaprint audio track fingerprinter
dnl
dnl
m4_pushdef([libchromaprint_version], 0.6.0)
m4_pushdef([libchromaprint_version], 0.6.0)
PKG_WITH_MODULES([CHROMAPRINT],[libchromaprint >= libchromaprint_version],
PKG_WITH_MODULES([CHROMAPRINT],[libchromaprint >= libchromaprint_version],
VLC_ADD_PLUGIN([stream_out_chromaprint
fingerprinter
])
VLC_ADD_PLUGIN([stream_out_chromaprint])
VLC_ADD_CFLAGS([stream_out_chromaprint],[${CHROMAPRINT_CFLAGS}] [-I./webservices -I../stream_out])
VLC_ADD_CFLAGS([stream_out_chromaprint],[${CHROMAPRINT_CFLAGS}] [-I./webservices -I../stream_out])
VLC_ADD_LIBS([stream_out_chromaprint],[${CHROMAPRINT_LIBS}])
VLC_ADD_LIBS([stream_out_chromaprint],[${CHROMAPRINT_LIBS}])
VLC_ADD_LIBS([fingerprinter],[-lm]),
AS_IF([test "${enable_chromaprint}" = "yes"],
AS_IF([test "${enable_chromaprint}" = "yes"],
[AC_MSG_ERROR(Library [libchromaprint >= libchromaprint_version] needed for [chromaprint] was not found)],
[AC_MSG_ERROR(Library [libchromaprint >= libchromaprint_version] needed for [chromaprint] was not found)],
[AC_MSG_WARN(Library [libchromaprint >= libchromaprint_version] needed for [chromaprint] was not found)]
[AC_MSG_WARN(Library [libchromaprint >= libchromaprint_version] needed for [chromaprint] was not found)]
...
...
modules/misc/Modules.am
View file @
bd17d395
SOURCES_vod_rtsp = rtsp.c
SOURCES_vod_rtsp = rtsp.c
SOURCES_audioscrobbler = audioscrobbler.c
SOURCES_fingerprinter = fingerprinter.c \
webservices/acoustid.c \
webservices/acoustid.h \
webservices/json.c \
webservices/json.h
SOURCES_xml = xml/libxml.c
SOURCES_xml = xml/libxml.c
libaudioscrobbler_plugin_la_SOURCES = audioscrobbler.c
libaudioscrobbler_plugin_la_LIBADD = $(SOCKET_LIBS)
misc_LTLIBRARIES += libaudioscrobbler_plugin.la
libexport_plugin_la_SOURCES = \
libexport_plugin_la_SOURCES = \
playlist/html.c \
playlist/html.c \
playlist/m3u.c \
playlist/m3u.c \
...
@@ -15,6 +13,12 @@ libexport_plugin_la_SOURCES = \
...
@@ -15,6 +13,12 @@ libexport_plugin_la_SOURCES = \
playlist/export.c
playlist/export.c
misc_LTLIBRARIES += libexport_plugin.la
misc_LTLIBRARIES += libexport_plugin.la
libfingerprinter_plugin_la_SOURCES = fingerprinter.c \
webservices/acoustid.c webservices/acoustid.h \
webservices/json.c webservices/json.h
libfingerprinter_plugin_la_LIBADD = $(LIBM)
misc_LTLIBRARIES += libfingerprinter_plugin.la
libgnutls_plugin_la_SOURCES = gnutls.c dhparams.h
libgnutls_plugin_la_SOURCES = gnutls.c dhparams.h
libgnutls_plugin_la_CFLAGS = $(AM_CFLAGS) $(GNUTLS_CFLAGS)
libgnutls_plugin_la_CFLAGS = $(AM_CFLAGS) $(GNUTLS_CFLAGS)
libgnutls_plugin_la_LIBADD = $(GNUTLS_LIBS)
libgnutls_plugin_la_LIBADD = $(GNUTLS_LIBS)
...
@@ -45,7 +49,6 @@ endif
...
@@ -45,7 +49,6 @@ endif
libstats_plugin_la_SOURCES = stats.c
libstats_plugin_la_SOURCES = stats.c
misc_LTLIBRARIES += \
misc_LTLIBRARIES += \
libaudioscrobbler_plugin.la \
liblogger_plugin.la \
liblogger_plugin.la \
libstats_plugin.la
libstats_plugin.la
...
...
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