aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2020-06-24 04:40:35 +0800
committerGitHub <noreply@github.com>2020-06-23 13:40:35 -0700
commit5058547304a553493f32924786fec9d4208df458 (patch)
tree6aeb2b3d96c7d8a8b62b851b4cb5b0ebe90107e2
parent8714f0d82945e9819dee7579aaf3fe6bab53914d (diff)
downloadvcpkg-5058547304a553493f32924786fec9d4208df458.tar.gz
vcpkg-5058547304a553493f32924786fec9d4208df458.zip
[ffmpeg] Add avisynthplus support (#11946)
-rw-r--r--ports/ffmpeg/CONTROL8
-rw-r--r--ports/ffmpeg/portfile.cmake6
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")