mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-31 04:13:47 +01:00
FFmpeg test
This commit is contained in:
parent
c15896fa64
commit
9b0df8652e
@ -35,6 +35,12 @@ PKG_CHECK_MODULES(MPG123, [libmpg123], have_libmpg123=yes,
|
||||
)
|
||||
AM_CONDITIONAL(HAVE_LIBMPG123, test "$have_libmpg123" = yes)
|
||||
|
||||
#have_ffmpeg=no
|
||||
#PKG_CHECK_MODULES(FFMPEG, [libavformat-dev libavcodec-dev libavutil-dev libswresample-dev], have_ffmpeg=yes,
|
||||
# [AC_MSG_WARN([Cannot find ffmpeg - will not enable FFmpeg formats])]
|
||||
#)
|
||||
#AM_CONDITIONAL(HAVE_FFMPEG, test "$have_ffmpeg" = yes)
|
||||
|
||||
have_audacious=no
|
||||
PKG_CHECK_MODULES(AUDACIOUS, [audacious >= 3.5.0], have_audacious=yes,
|
||||
[AC_MSG_WARN([Cannot find audacious >= 3.5.0 correctly installed - will not build Audacious plugin])]
|
||||
@ -55,6 +61,7 @@ then
|
||||
CFLAGS="$CFLAGS -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unused-but-set-variable"
|
||||
fi
|
||||
|
||||
#plugindir=`pkg-config audacious --define-variable=prefix="$prefix" --variable=plugin_dir`
|
||||
plugindir=`pkg-config audacious --variable=plugin_dir`
|
||||
AC_SUBST(plugindir)
|
||||
|
||||
|
@ -23,7 +23,13 @@ AM_CFLAGS += -DVGM_USE_VORBIS
|
||||
libvgmstream_la_LIBADD += $(VORBISFILE_LIBS) $(VORBIS_LIBS)
|
||||
endif
|
||||
endif
|
||||
|
||||
if HAVE_LIBMPG123
|
||||
AM_CFLAGS += -DVGM_USE_MPEG
|
||||
libvgmstream_la_LIBADD += $(MPG123_LIBS)
|
||||
endif
|
||||
|
||||
if HAVE_FFMPEG
|
||||
AM_CFLAGS += -DVGM_USE_FFMPEG
|
||||
libvgmstream_la_LIBADD += $(FFMPEG_LIBS)
|
||||
endif
|
||||
|
@ -17,6 +17,11 @@ if HAVE_VORBISFILE
|
||||
AM_CFLAGS += -DVGM_USE_VORBIS
|
||||
endif
|
||||
endif
|
||||
|
||||
if HAVE_LIBMPG123
|
||||
AM_CFLAGS += -DVGM_USE_MPEG
|
||||
endif
|
||||
|
||||
if HAVE_FFMPEG
|
||||
AM_CFLAGS += -DVGM_USE_FFMPEG
|
||||
endif
|
||||
|
@ -17,6 +17,11 @@ if HAVE_VORBISFILE
|
||||
AM_CFLAGS += -DVGM_USE_VORBIS
|
||||
endif
|
||||
endif
|
||||
|
||||
if HAVE_LIBMPG123
|
||||
AM_CFLAGS += -DVGM_USE_MPEG
|
||||
endif
|
||||
|
||||
if HAVE_FFMPEG
|
||||
AM_CFLAGS += -DVGM_USE_FFMPEG
|
||||
endif
|
||||
|
@ -17,6 +17,11 @@ if HAVE_VORBISFILE
|
||||
AM_CFLAGS += -DVGM_USE_VORBIS
|
||||
endif
|
||||
endif
|
||||
|
||||
if HAVE_LIBMPG123
|
||||
AM_CFLAGS += -DVGM_USE_MPEG
|
||||
endif
|
||||
|
||||
if HAVE_FFMPEG
|
||||
AM_CFLAGS += -DVGM_USE_FFMPEG
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user