diff options
| -rw-r--r-- | ports/ffmpeg/CONTROL | 8 | ||||
| -rw-r--r-- | ports/ffmpeg/portfile.cmake | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/ports/ffmpeg/CONTROL b/ports/ffmpeg/CONTROL index 2b85582d5..fb55a07ef 100644 --- a/ports/ffmpeg/CONTROL +++ b/ports/ffmpeg/CONTROL @@ -1,5 +1,5 @@ Source: ffmpeg -Version: 4.2-10 +Version: 4.2-11 Build-Depends: zlib Homepage: https://ffmpeg.org Description: a library to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. @@ -56,4 +56,8 @@ Description: Libav audio resampling library support in ffmpeg Feature: nvcodec Build-Depends: ffnvcodec, cuda -Description: Hardware accelerated codecs
\ No newline at end of file +Description: Hardware accelerated codecs + +Feature: avisynthplus +Build-Depends: avisynthplus +Description: avisynthplus support in ffmpeg
\ No newline at end of file diff --git a/ports/ffmpeg/portfile.cmake b/ports/ffmpeg/portfile.cmake index dc1bff6ae..91f162365 100644 --- a/ports/ffmpeg/portfile.cmake +++ b/ports/ffmpeg/portfile.cmake @@ -141,6 +141,12 @@ else() set(OPTIONS "${OPTIONS} --disable-cuda --disable-nvenc --disable-cuvid --disable-libnpp") endif() +if("avisynthplus" IN_LIST FEATURES) + set(OPTIONS "${OPTIONS} --enable-avisynth --enable-gpl") +else() + set(OPTIONS "${OPTIONS} --disable-avisynth --disable-gpl") +endif() + set(OPTIONS_CROSS "") if (VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64") |
