.libs/libesddsp.a ],
[ . ])
-PKG_3RD([fdk],[auto],
- [fdk-aac-0.1.5],
- [ .libs/libfdk-aac.a ],
- [ libAACdec/include libAACenc/include libSYS/include ])
-
PKG_3RD([ffmpeg],[yes],
[ffmpeg-4.0],
[ libavutil/libavutil.a \
CHECK_HEADERS([encore], [encore headers], [encore.h])
CHECK_LIB([giflib], [gif], [DGifOpen])
CHECK_HEADERS([giflib], [gif lib headers], [gif_lib.h])
-CHECK_LIB([fdk], [fdk-aac], [faacDecInit])
-CHECK_HEADERS([fdk], [fdk headers], [fdk-aac/genericStds.h])
CHECK_LIB([jbig], [jbig], [jbg_dec_init])
CHECK_LIB([vdpau], [vdpau], [vdp_device_create_x11])
# order matters
for dep in \
ffmpeg/twolame ffmpeg/lame ffmpeg/openjpeg \
- ffmpeg/libvorbis ffmpeg/libtheora ffmpeg/x264 ffmpeg/x265 ffmpeg/fdk \
+ ffmpeg/libvorbis ffmpeg/libtheora ffmpeg/x264 ffmpeg/x265 \
libiec61883/libraw1394 libavc1394/librom1394 \
openexr/ilmbase ilmbase/libogg \
libtheora/libogg libtheora/libvorbis ; do
AC_DEFUN([PKG_PROVIDE],[
if test "x$BUILD_$1" = "x" ; then
- if test "x$2" = "xno" -o "x$PKG_$1" = "xno"; then
- PKG_DISABLED([$1])
- elif test "x$PKG_$1" = "xyes"; then
+ if test "x$PKG_$1" = "xyes"; then
PKG_FORCED([$1])
+ elif test "x$2" = "xno" -o "x$PKG_$1" = "xno"; then
+ PKG_DISABLED([$1])
elif test "x$WANT_STATIC_BUILD" = "xyes"; then
PKG_STATIC([$1],[static])
elif test "x$HAVE_$1" = "xyes"; then
PKG_PROVIDE([encore])
PKG_PROVIDE([audiofile],[$WANT_ESOUND])
PKG_PROVIDE([esound],[$WANT_ESOUND])
-PKG_PROVIDE([fdk])
PKG_PROVIDE([ffmpeg])
PKG_PROVIDE([fftw])
PKG_PROVIDE([flac])