Skip to content

Update Meson options for 4.4.3

amyspark requested to merge amyspark/ffmpeg:amyspark/krita-options into meson-4.4

👋

This PR is to synchronize the current options listings with the data in the 4.4.3 configure script.

I've also patched depgraph.py to automatically insert and preserve the explanation blob.

Fixes #17 (closed)

Review notes

  • there are many libraries that were moved between categories or had their options implemented
  • the new libraries had their detection scripts ported manually, please review for correctness
  • most of them had their options switched to disabled by default, matching the configure script's defaults

In the Macbook I'm building on at present, this MR ensures no libraries other than compression (xz/LZMA, bzip2, zlib) and input/output are picked up by default:

❯ grep 'Build Options' meson-logs/meson-log.txt 
Build Options: -Dcli=enabled -Dtests=enabled -Ddefault_library=shared -Dbuildtype=debugoptimized
❯ ls -1 *.??.dylib | xargs -I % objdump --macho --dylibs-used %
libavcodec.58.dylib:
        @rpath/libavcodec.58.dylib (compatibility version 58.0.0, current version 58.0.0)
        @rpath/libavutil.56.dylib (compatibility version 56.0.0, current version 56.0.0)
        @rpath/libswresample.3.dylib (compatibility version 3.0.0, current version 3.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
        /usr/local/opt/xz/lib/liblzma.5.dylib (compatibility version 8.0.0, current version 8.6.0)
libavdevice.58.dylib:
        @rpath/libavdevice.58.dylib (compatibility version 58.0.0, current version 58.0.0)
        @rpath/libavutil.56.dylib (compatibility version 56.0.0, current version 56.0.0)
        @rpath/libavformat.58.dylib (compatibility version 58.0.0, current version 58.0.0)
        @rpath/libavfilter.7.dylib (compatibility version 7.0.0, current version 7.0.0)
        @rpath/libavcodec.58.dylib (compatibility version 58.0.0, current version 58.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)
        /usr/local/opt/libxcb/lib/libxcb.1.dylib (compatibility version 3.0.0, current version 3.0.0)
        /usr/local/opt/libxcb/lib/libxcb-shm.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/opt/libxcb/lib/libxcb-shape.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/opt/libxcb/lib/libxcb-xfixes.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.0.0)
libavformat.58.dylib:
        @rpath/libavformat.58.dylib (compatibility version 58.0.0, current version 58.0.0)
        @rpath/libavutil.56.dylib (compatibility version 56.0.0, current version 56.0.0)
        @rpath/libavcodec.58.dylib (compatibility version 58.0.0, current version 58.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
        /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.8)
libavutil.56.dylib:
        @rpath/libavutil.56.dylib (compatibility version 56.0.0, current version 56.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)
libpostproc.55.dylib:
        @rpath/libpostproc.55.dylib (compatibility version 55.0.0, current version 55.0.0)
        @rpath/libavutil.56.dylib (compatibility version 56.0.0, current version 56.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)
Edited by amyspark

Merge request reports