Changes between Version 9 and Version 10 of CompilationGuide/vcpkg
- Timestamp:
- Nov 9, 2020, 10:10:25 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompilationGuide/vcpkg
v9 v10 22 22 }}} 23 23 24 Edit {{{ports\ffmpeg\CONTROL}}} file 25 and change this line: 26 {{{ 27 Default-Features: avresample, avcodec, avformat, avdevice, avfilter, postproc, swresample, swscale 28 }}} 24 ffmpeg package description can be found from {{{ports/ffmpeg/CONTROL}}} file - including what is build by default - 25 see {{{Default-Features}}} tag, and feature list. 29 26 30 to something you want to build, for example - I wanted to build only ffmpeg with with scaling / resizing support, so I've changed this line to: 31 32 {{{ 33 Default-Features: ffmpeg, swresample, swscale 34 }}} 35 36 37 After that build ffmpeg using command line like this: 27 Build ffmpeg using command line like this: 38 28 39 29 {{{ … … 46 36 - Builds release only version 47 37 48 vcpkg install ffmpeg[ffplay,avcodec]:x64-windows-rel38 vcpkg install vcpkg install ffmpeg[core,ffmpeg,swresample,swscale,avdevice]:x64-windows-rel 49 39 50 - Add more features (listed in CONTROL file), which you want to build - in this case I have added ffplay and avcodec packages. 40 - Using 'core' overrides features <Default-Features> list, after which you can list features which you want. 41 42 As feature list I have added ffmpeg with resize, scale / etc features - other features can be found from CONTROL file. 51 43 52 44 Please note that adding new feature reflects to for example ffmpeg compilation options, so better to figure out full feature 53 list right away - no need to rebuild same libraries later on 54 45 list right away - no need to rebuild same libraries later on. 55 46 }}} 56 47 … … 58 49 59 50 {{{ 60 >vcpkg install ffmpeg :x64-windows-rel --dry-run51 >vcpkg install ffmpeg[core,ffmpeg,swresample,swscale,avdevice]:x64-windows-rel --dry-run 61 52 Computing installation plan... 62 The following packages will be built andinstalled:63 ffmpeg[avcodec,av filter,avformat,core,ffmpeg,swresample,swscale]:x64-windows-rel53 The following packages are already installed: 54 ffmpeg[avcodec,avdevice,avfilter,avformat,core,ffmpeg,swresample,swscale]:x64-windows-rel 64 55 }}} 65 56
