| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 | 
							- [settings]
 
- build_type=Release
 
- [platform_tool_requires]
 
- cmake/3.31.6
 
- ninja/1.12.1
 
- [replace_requires]
 
- # TODO: remove after https://github.com/conan-io/conan-center-index/pull/27125 is merged
 
- # Qt 5 depends on 0.4.8, but it doesn't build for iOS
 
- md4c/0.4.8: md4c/0.5.2
 
- [conf]
 
- tools.cmake.cmaketoolchain:generator=Ninja
 
- [options]
 
- # shared (dynamic) libs
 
- boost/*:shared=True
 
- bzip2/*:shared=True
 
- libiconv/*:shared=True
 
- libpng/*:shared=True
 
- minizip/*:shared=True
 
- ogg/*:shared=True
 
- opus/*:shared=True
 
- qt/*:shared=True
 
- sdl/*:shared=True
 
- sdl_image/*:shared=True
 
- sdl_mixer/*:shared=True
 
- sdl_ttf/*:shared=True
 
- xz_utils/*:shared=True
 
- zlib/*:shared=True
 
- # Boost
 
- # we need only the following parts:
 
- # date_time filesystem iostreams locale program_options system
 
- # some other parts are also enabled because they're dependents
 
- # see e.g. conan-center-index/recipes/boost/all/dependencies
 
- boost/*:without_context=True
 
- boost/*:without_contract=True
 
- boost/*:without_coroutine=True
 
- boost/*:without_fiber=True
 
- boost/*:without_graph=True
 
- boost/*:without_graph_parallel=True
 
- boost/*:without_json=True
 
- boost/*:without_log=True
 
- boost/*:without_math=True
 
- boost/*:without_mpi=True
 
- boost/*:without_nowide=True
 
- boost/*:without_process=True
 
- boost/*:without_python=True
 
- boost/*:without_serialization=True
 
- boost/*:without_stacktrace=True
 
- boost/*:without_test=True
 
- boost/*:without_timer=True
 
- boost/*:without_type_erasure=True
 
- boost/*:without_wave=True
 
- boost/*:without_url=True
 
- # FFmpeg
 
- ffmpeg/*:avcodec=True
 
- ffmpeg/*:avdevice=False
 
- ffmpeg/*:avfilter=False
 
- ffmpeg/*:avformat=True
 
- ffmpeg/*:postproc=False
 
- # for resampling of audio in 'planar' formats
 
- ffmpeg/*:swresample=True
 
- # for video scaling
 
- ffmpeg/*:swscale=True
 
- ffmpeg/*:disable_all_bitstream_filters=True
 
- ffmpeg/*:disable_all_decoders=True
 
- ffmpeg/*:disable_all_demuxers=True
 
- ffmpeg/*:disable_all_encoders=True
 
- ffmpeg/*:disable_all_filters=True
 
- ffmpeg/*:disable_all_hardware_accelerators=True
 
- ffmpeg/*:disable_all_muxers=True
 
- ffmpeg/*:disable_all_parsers=True
 
- ffmpeg/*:disable_all_protocols=True
 
- ffmpeg/*:with_asm=False
 
- ffmpeg/*:with_freetype=False
 
- ffmpeg/*:with_libaom=False
 
- ffmpeg/*:with_libdav1d=False
 
- ffmpeg/*:with_libfdk_aac=False
 
- ffmpeg/*:with_libiconv=False
 
- ffmpeg/*:with_libmp3lame=False
 
- ffmpeg/*:with_libsvtav1=False
 
- ffmpeg/*:with_libvpx=False
 
- ffmpeg/*:with_libwebp=False
 
- ffmpeg/*:with_libx264=False
 
- ffmpeg/*:with_libx265=False
 
- ffmpeg/*:with_lzma=True
 
- ffmpeg/*:with_openh264=False
 
- ffmpeg/*:with_openjpeg=False
 
- ffmpeg/*:with_programs=False
 
- ffmpeg/*:with_sdl=False
 
- ffmpeg/*:with_ssl=False
 
- ffmpeg/*:with_vorbis=False
 
- # We want following options supported:
 
- # H3:SoD - .bik and .smk
 
- # H3:HD  -  ogg container / theora video / vorbis sound (not supported by VCMI at the moment, but might be supported in future)
 
- # and for mods - webm container / vp8 or vp9 video / opus sound
 
- # TODO: add av1 support for mods (requires enabling libdav1d)
 
- {% set ffDecoders = [
 
-     'bink',
 
-     'binkaudio_dct',
 
-     'binkaudio_rdft',
 
-     'opus',
 
-     'smackaud',
 
-     'smacker',
 
-     'theora',
 
-     'vorbis',
 
-     'vp8',
 
-     'vp9',
 
- ] %}
 
- {% set ffDemuxers = [
 
-     'bink',
 
-     'binka',
 
-     'ogg',
 
-     'smacker',
 
-     'webm_dash_manifest',
 
- ] %}
 
- {% set ffParsers = [
 
-     'opus',
 
-     'vorbis',
 
-     'vp8',
 
-     'vp9',
 
-     'webp',
 
- ] %}
 
- {% set ffProtocols = [
 
-     'file',
 
- ] %}
 
- ffmpeg/*:enable_decoders={{ ffDecoders|join(',') }}
 
- ffmpeg/*:enable_demuxers={{ ffDemuxers|join(',') }}
 
- ffmpeg/*:enable_parsers={{ ffParsers|join(',') }}
 
- ffmpeg/*:enable_protocols={{ ffProtocols|join(',') }}
 
- # optionally, for testing - enable ffplay/ffprobe binaries:
 
- # ffmpeg/*:avfilter=True
 
- # ffmpeg/*:enable_filters=aresample,scale
 
- # ffmpeg/*:with_programs=True
 
- # ffmpeg/*:with_sdl=True
 
- # oneTBB
 
- onetbb/*:tbbbind=False
 
- onetbb/*:tbbmalloc=False
 
- onetbb/*:tbbproxy=False
 
- # Qt
 
- # xpm format is required for Drag'n'Drop support
 
- # we need only win/macdeployqt
 
- # TODO: disabling these doesn't disable generation of CMake targets
 
- # TODO: in Qt 6.3 it's a part of qtbase
 
- # '-no-feature-assistant',
 
- # '-no-feature-designer',
 
- # '-no-feature-distancefieldgenerator',
 
- # '-no-feature-kmap2qmap',
 
- # '-no-feature-linguist',
 
- # '-no-feature-makeqpf',
 
- # '-no-feature-pixeltool',
 
- # '-no-feature-qdbus',
 
- # '-no-feature-qev',
 
- # '-no-feature-qtattributionsscanner',
 
- # '-no-feature-qtdiag',
 
- # '-no-feature-qtpaths',
 
- # '-no-feature-qtplugininfo',
 
- {% set qtConfig = [
 
-     '-no-gif',
 
-     '-no-ico',
 
-     '-no-feature-imageformat_bmp',
 
-     '-no-feature-imageformat_jpeg',
 
-     '-no-feature-imageformat_ppm',
 
-     '-no-feature-imageformat_xbm',
 
- ] %}
 
- qt/*:config={{ qtConfig|join(' ') }}
 
- qt/*:essential_modules=False
 
- qt/*:openssl=True
 
- qt/*:qttools=True
 
- qt/*:with_freetype=False
 
- qt/*:with_libjpeg=False
 
- qt/*:with_mysql=False
 
- qt/*:with_odbc=False
 
- qt/*:with_openal=False
 
- qt/*:with_pq=False
 
- # SDL
 
- sdl/*:iconv=True
 
- sdl/*:sdl2main=True
 
- sdl/*:vulkan=False
 
- # SDL_image
 
- # bmp, png are the only ones that needs to be supported
 
- # dds support may be useful for HD edition, but not supported by sdl_image at the moment
 
- sdl_image/*:gif=False
 
- sdl_image/*:lbm=False
 
- sdl_image/*:pcx=False
 
- sdl_image/*:pnm=False
 
- sdl_image/*:qoi=False
 
- sdl_image/*:svg=False
 
- sdl_image/*:tga=False
 
- sdl_image/*:with_libjpeg=False
 
- sdl_image/*:with_libtiff=False
 
- sdl_image/*:with_libwebp=False
 
- sdl_image/*:xcf=False
 
- sdl_image/*:xpm=False
 
- sdl_image/*:xv=False
 
- # SDL_mixer
 
- # mp3, ogg and wav are the only ones that needs to be supported, flac is a bonus
 
- sdl_mixer/*:mad=False
 
- sdl_mixer/*:mikmod=False
 
- sdl_mixer/*:modplug=False
 
- sdl_mixer/*:nativemidi=False
 
- sdl_mixer/*:tinymidi=False
 
- # transitive deps, stuff that's not needed
 
- # doesn't link to bzip2 & zlib from "system" recipes
 
- pcre2/*:build_pcre2grep=False
 
- sqlite3/*:build_executable=False
 
- opusfile/*:http=False
 
- zstd/*:build_programs=False
 
 
  |