mirror of
https://github.com/videolan/vlc.git
synced 2025-01-21 15:18:11 +08:00
dcp: Use .pc files for asdcplib
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
This commit is contained in:
parent
4e02407880
commit
8fd68dcfe5
15
configure.ac
15
configure.ac
@ -1920,19 +1920,8 @@ AM_CONDITIONAL(HAVE_AVFOUNDATION, [test "${have_avfoundation}" != "no"])
|
||||
dnl
|
||||
dnl DCP plugin (using asdcplib)
|
||||
dnl
|
||||
AC_ARG_ENABLE(dcp,
|
||||
AS_HELP_STRING([--enable-dcp],[Digital Cinema Package support using asdcplib (default auto)]))
|
||||
have_asdcp="no"
|
||||
AS_IF([test "x${enable_dcp}" != "no"], [
|
||||
AC_LANG_PUSH(C++)
|
||||
AC_CHECK_HEADERS( [[AS@&t@_DCP.h]],
|
||||
[have_asdcp="yes"],
|
||||
[AS_IF( [test "x${enable_dcp}" = "yes"],
|
||||
[AC_MSG_ERROR( [ ASDCP library cannot be found (needed for dcp module). Either use --enable-dcp=no or install asdcp library: http://www.cinecert.com/asdcplib/download/] )])
|
||||
])
|
||||
AC_LANG_POP(C++)
|
||||
])
|
||||
AM_CONDITIONAL(HAVE_ASDCP, [test "${have_asdcp}" != "no"])
|
||||
PKG_WITH_MODULES([ASDCP], [asdcplib], [have_asdcp="yes"])
|
||||
AM_CONDITIONAL(HAVE_ASDCP, [test "${have_asdcp}" = "yes"])
|
||||
|
||||
dnl
|
||||
dnl Demux plugins
|
||||
|
@ -10,9 +10,9 @@ libattachment_plugin_la_SOURCES = access/attachment.c
|
||||
access_LTLIBRARIES += libattachment_plugin.la
|
||||
|
||||
libdcp_plugin_la_SOURCES = access/dcp/dcpparser.h access/dcp/dcp.cpp access/dcp/dcpparser.cpp
|
||||
libdcp_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
libdcp_plugin_la_LIBADD = $(AM_LIBADD) -lasdcp
|
||||
if HAVE_ASDCP
|
||||
libdcp_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(ASDCP_CFLAGS)
|
||||
libdcp_plugin_la_LIBADD = $(AM_LIBADD) $(ASDCP_LIBS)
|
||||
access_LTLIBRARIES += libdcp_plugin.la
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user