Changes between Version 166 and Version 167 of CompilationGuide/Ubuntu


Ignore:
Timestamp:
Sep 20, 2020, 5:29:27 AM (10 months ago)
Author:
micgeri
Comment:

Remove "--depth 1" on git-clone for libx265 because repository informations seems necessary to generate x265.pc file (search for "X265_LATEST_TAG" pattern in repository)

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/Ubuntu

    v166 v167  
    150150{{{
    151151#!div style="border: 1px solid #e5c7c7; margin: 1em; background-color: #fdd;"
    152 '''Warning:''' Manual x265 builds are currently broken and cannot be used by ffmpeg. Please use the version provided by `apt` instead.
     152'''Warning:''' Currently and unlike other libraries, you have to get the full libx265 repository (so remove `--depth 1` argument in git clone). Indeed, it will be longer, but it is necessary to allow generating x265.pc file, which is needed to build ffmpeg with `--enable-libx265`. Without this, ffmpeg build will be broken.
     153
     154If you cannot, or don't want to get the full libx265 repository, please use the version provided by `apt` instead.
    153155}}}
    154156
     
    159161sudo apt-get install libnuma-dev && \
    160162cd ~/ffmpeg_sources && \
    161 git -C x265_git pull 2> /dev/null || git clone --depth 1 https://bitbucket.org/multicoreware/x265_git && \
     163git -C x265_git pull 2> /dev/null || git clone https://bitbucket.org/multicoreware/x265_git && \
    162164cd x265_git/build/linux && \
    163165PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED=off ../../source && \