.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
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])
esound.cfg_params= --enable-shared=no --with-pic
esound.mak_vars+= CFLAGS=""
esound.ldflags=" -lm -lstdc++"
-#fdk.cfg_vars= ./autogen.sh ; CFLAGS+=" -Wno-narrowing" CXXFLAGS+=" -Wno-narrowing"
-fdk.cfg_params= --enable-shared=no
-fdk.mak_params= ; for f in $(call bld_path,fdk,/lib*/include); do ln -s . $$$$f/fdk-aac; done
fftw.cfg_params= --disable-fortran --enable-shared=no
ffmpeg.cfg_params= \
--enable-pthreads --enable-gpl \
--disable-ffplay --disable-vaapi \
- $(call if_pkg,fdk,--enable-libfdk-aac) \
$(call if_pkg,twolame,--enable-libtwolame) \
$(call if_pkg,openjpeg,--enable-libopenjpeg) \
$(call if_pkg,lame,--enable-libmp3lame) \
$(call if_pkg,libvpx,--enable-libvpx) \
$(call if_pkg,x264,--enable-libx264) \
$(call if_pkg,x265,--enable-libx265) \
- --enable-nonfree \
--extra-cflags="\
$(call inc_path,twolame,libtwolame) \
$(call inc_path,lame,include) \
$(call inc_path,libvpx) \
$(call inc_path,x264) \
$(call inc_path,x265) \
- $(call inc_path,x265,source) \
- $(call inc_path,fdk,libAACdec) \
- $(call inc_path,fdk,libAACenc) \
- $(call inc_path,fdk,libSYS) \
- $(call inc_path,fdk,libSYS/include)" \
+ $(call inc_path,x265,source)" \
--extra-cxxflags="-D__STDC_CONSTANT_MACROS" \
--pkg-config=true \
--extra-libs="-Wl,--start-group \
$(call ld_path,libvpx) \
$(call ld_path,x264) \
$(call ld_path,x265) \
- $(call ld_path,fdk,.libs) \
-Wl,--end-group -lm -lstdc++ -pthread \
$(EXTRA_LIBS)" $(FFMPEG_EXTRA_CFG) \
$(call rules,$(call std-build,audiofile))
$(call rules,$(call std-build,encore))
$(call rules,$(call std-build,esound,audiofile))
-$(call rules,$(call std-build,fdk))
-$(call rules,$(call std-build,ffmpeg, fdk twolame lame openjpeg opus libtheora x264 x265 libvpx))
+$(call rules,$(call std-build,ffmpeg, twolame lame openjpeg opus libtheora x264 x265 libvpx))
$(call rules,$(call std-build,fftw))
$(call rules,$(call std-build,flac,libogg))
$(call rules,$(call std-build,giflib))