aboutsummaryrefslogtreecommitdiff
path: root/ports/ffmpeg/CONTROL
diff options
context:
space:
mode:
authorMatthew Oliver <protogonoi@gmail.com>2021-04-08 03:06:55 +1000
committerGitHub <noreply@github.com>2021-04-07 10:06:55 -0700
commit85a48c1ed558210cab67a03209510c4bf6e5e285 (patch)
treea09d9080713e8979579d35e8540eb59bbafeadb0 /ports/ffmpeg/CONTROL
parent4278a5f9eafbdadfaa65d7aafd914964841cba42 (diff)
downloadvcpkg-85a48c1ed558210cab67a03209510c4bf6e5e285.tar.gz
vcpkg-85a48c1ed558210cab67a03209510c4bf6e5e285.zip
[ffmpeg] Add support for dav1d,fontconfig,freetype,fribidi,ilbc,modplug,opengl,openjpeg,libssh,tensorflow,tesseract,webp,libxml2 dependencies. (#15787)
* [tesseract] Use vcpkg_fixup_pkgconfig. * [libxml2] Correct pkgconfig lib name. * [libwebp] Use vcpkg_fixup_pkgconfig. * [libssh] Export pkgconfig on windows. Also move to using git to get source. * [modplug] Export pkgconfig on windows. * [ffmpeg] Add support for fontconfig,freetype,fribidi,modplug,openjpeg,libssh,tesseract,libxml2 dependencies. * [openjpeg] Correct required static link libs in pkgconfig. * [modplug] Combine vcpkg_from_github using variable. * Update ports/libssh/CONTROL * Improve portfile.cmake * update version records. * [openjpeg] Update libs in pkgcfg. Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * update version records * [libssh] Add pthread to pkgconfig when using mbedtls. * [libssh] Correct pthread naming on windows. * [fontconfig] Add libintl to pkgconfig on windows. * update version records * [ffmpeg] Fixup FindFFmpeg. * [ffmpeg] speex now supports non-windows. * [ffmpeg] Add feature libass. * [ffmpeg] Add dav1d feature. * [ffmpeg] Add feature ilbc. * [ffmpeg] Add tensorflow feature. * [ffmpeg] update version record. * [ffmpeg] Add CI feature test. * [ffmpeg] Limit features based on CI failures. * [ffmpeg] Update version record. * [ffmpeg] limit features based on ci.baseline. * [various ports] Update supports field. * [ffmpeg] Limit features more based on CI. * update version records. * [ffmpeg] Add detection of additional non target deps.. select_library_configurations_from_names currently detects the debug libs even for release builds as _IMPORT_PREFIX was not being set. * [aubio] Silence warning about FindFFMPEG. * [pangolin] Use vcpkg supplied FindFFMPEG. * update version files. * [ffnvcodec] Set as not supporting uwp. ffnvcodec will build under uwp as its a header only lib, but it can not be used as it requires dynamic dll loading. * [ffmpeg] Update feature all. * update version records * [tesseract] Wrap debug pkgcfg update. * [libssh,libxml2,openjpeg,fontconfig] Fix pkg-config for release only triplets. * [libssh] Correct port version after merge. * [ffmpeg] Fixup after merge. * Update version files. * [ffmpeg] Add opengl support. * [ffmpeg] Update package version. * [ffmpeg] Fix ffnvcodec support. * [ffmpeg] Fix x265 detection on osx. * [libvpx] Enable arm-uwp build. * [ffmpeg] Fixup x265 patch. * trigger sdl rebuild * [ffmpeg] Disable opengl on osx. * Revert "trigger sdl rebuild" This reverts commit 94065bfe8414259ad5a5576bd4ac0b7ab4b97c6b. * [ffmpeg] Disable failing features on osx. * Update ports/ffmpeg/FindFFMPEG.cmake.in Co-authored-by: Matthias C. M. Troffaes <matthias.troffaes@gmail.com> * [ffmpeg] Add ass dependencies to FindFFmpeg. * Update ports/ffmpeg/FindFFMPEG.cmake.in Co-authored-by: Matthias C. M. Troffaes <matthias.troffaes@gmail.com> * update version * [fontconfig] disable pthread/json as they are not needed for lib builds. Only used for tests. * [ffmpeg] Enable fontconfig on static+windows. * update versions * update versions. * Fix incorrectly included commits * revert pangolin commit Reverts most of 2543be2edf60bf38511c2d477bb17b617398a108 * update versions * Correct port version after merge. * update versions. * [ffmpeg] Fix cmake dependency detection on non-windows. * Revert "revert pangolin commit" This reverts commit f59bc5a53ea74fd9df17fc368886e9d1a80ac42f. * [ffmpeg] Fix dependency loading that does not define separate debug/release libs. * update versions. * [ffmpeg] set CMP0072 policy. * [wavpack] Fix cmake config export. * [ffmpeg] Add optional system dependent libraries. * update versions after merge. * update versions. Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Matthias C. M. Troffaes <matthias.troffaes@gmail.com>
Diffstat (limited to 'ports/ffmpeg/CONTROL')
-rw-r--r--ports/ffmpeg/CONTROL140
1 files changed, 104 insertions, 36 deletions
diff --git a/ports/ffmpeg/CONTROL b/ports/ffmpeg/CONTROL
index 9d7162faf..2548dc301 100644
--- a/ports/ffmpeg/CONTROL
+++ b/ports/ffmpeg/CONTROL
@@ -1,6 +1,6 @@
Source: ffmpeg
Version: 4.3.2
-Port-Version: 1
+Port-Version: 2
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.
FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations.
@@ -8,132 +8,200 @@ Default-Features: avresample, avcodec, avformat, avdevice, avfilter, postproc, s
Feature: ffmpeg
Build-Depends: ffmpeg[core,avcodec,avfilter,avformat]
-Description: build the ffmpeg.exe application
+Description: Build the ffmpeg application
Feature: ffplay
Build-Depends: ffmpeg[core,avcodec,avfilter,avformat,swscale,swresample,sdl2]
-Description: ffplay application support in ffmpeg
+Description: Build the ffplay application
Feature: ffprobe
Build-Depends: ffmpeg[core,avcodec,avformat]
-Description: ffprobe application support in ffmpeg
+Description: Build the ffprobe application
Feature: avcodec
-Description: Codec support in ffmpeg
+Description: Build the avcodec library
Feature: avformat
Build-Depends: ffmpeg[core,avcodec]
-Description: Format support in ffmpeg
+Description: Build the avformat library
Feature: avdevice
Build-Depends: ffmpeg[core,avcodec,avformat]
-Description: Device support in ffmpeg
+Description: Build the avdevice library
Feature: avfilter
-Description: Filter support in ffmpeg
+Description: Build the avfilter library
Feature: postproc
Build-Depends: ffmpeg[core,gpl]
-Description: Postproc support in ffmpeg
+Description: Build the postproc library
Feature: swresample
-Description: Swresample support in ffmpeg
+Description: Build the swresample library
Feature: swscale
-Description: Swscale support in ffmpeg
+Description: Build the swscale library
Feature: avresample
-Description: Libav audio resampling library support in ffmpeg
+Description: Build the avresample library
Feature: nonfree
-Description: allow nonfree and unredistributable libraries
+Description: Allow use of nonfree code, the resulting libs and binaries will be unredistributable
Feature: gpl
-Description: allow GPL licensed libraries
+Description: Allow use of GPL code, the resulting libs and binaries will be under GPL
Feature: version3
-Description: upgrade (L)GPL to version 3
+Description: Upgrade (L)GPL to version 3
+
+Feature: all
+Build-Depends: ffmpeg[bzip2,iconv,freetype,lzma,mp3lame,openjpeg,opus,snappy,soxr,speex,theora,vorbis,vpx,webp,zlib], ffmpeg[ass] (!(uwp | arm)), ffmpeg[dav1d] (!(uwp | arm | x86 | osx)), ffmpeg[fontconfig] (!(windows & static) & !(uwp | arm)), ffmpeg[fribidi] (!(uwp | arm)), ffmpeg[ilbc] (!(arm & uwp)), ffmpeg[modplug] (!(windows & static) & !uwp), ffmpeg[nvcodec] ((windows | linux) & !uwp & !arm), ffmpeg[opencl] (!uwp), ffmpeg[ssh] (!(uwp | arm) & !static), ffmpeg[opengl] (!uwp & !(windows & arm) & !osx), ffmpeg[sdl2] (!osx), ffmpeg[tensorflow] (!(x86 | arm | uwp) & !static), ffmpeg[tesseract] (!uwp & !(windows & arm) & !static), ffmpeg[wavpack] (!arm), ffmpeg[xml2] (!static)
+Description: Build with all allowed dependencies selected that are compatible with the lgpl license
+
+Feature: all-gpl
+Build-Depends: ffmpeg[gpl,all], ffmpeg[avisynthplus] (windows & !arm & !uwp & !static), ffmpeg[x264] (!arm), ffmpeg[x265] (!arm & !uwp)
+Description: Build with all allowed dependencies selected that are compatible with the gpl license
+
+Feature: all-nonfree
+Build-Depends: ffmpeg[nonfree,all-gpl,openssl], ffmpeg[fdk-aac] (!arm & !uwp)
+Description: Build with all allowed dependencies selected with a non-redistributable license
+
+Feature: ass
+Build-Depends: libass
+Description: Libass subtitles rendering, needed for subtitles and ass filter support in ffmpeg
Feature: avisynthplus
Build-Depends: avisynthplus, ffmpeg[core,gpl]
-Description: avisynthplus support in ffmpeg
+Description: Reading of AviSynth script files
Feature: bzip2
Build-Depends: bzip2
-Description: bzip2 support in ffmpeg
+Description: Bzip2 support
+
+Feature: dav1d
+Build-Depends: dav1d
+Description: AV1 decoding via libdav1d
Feature: iconv
Build-Depends: libiconv
-Description: iconv support in ffmpeg
+Description: Iconv support
+
+Feature: ilbc
+Build-Depends: libilbc
+Description: iLBC de/encoding via libilbc
Feature: fdk-aac
Build-Depends: fdk-aac, ffmpeg[core,nonfree]
-Description: AAC de/encoding via libfdk-aac support in ffmpeg
+Description: AAC de/encoding via libfdk-aac
+
+Feature: fontconfig
+Build-Depends: fontconfig
+Description: Useful for drawtext filter
+
+Feature: freetype
+Build-Depends: freetype
+Description: Needed for drawtext filter
+
+Feature: fribidi
+Build-Depends: fribidi
+Description: Improves drawtext filter
Feature: lzma
Build-Depends: liblzma
-Description: lzma support in ffmpeg
+Description: lzma support
+
+Feature: modplug
+Build-Depends: libmodplug
+Description: ModPlug via libmodplug
Feature: mp3lame
Build-Depends: mp3lame
-Description: MP3 encoding via libmp3lame support in ffmpeg
+Description: MP3 encoding via libmp3lame
Feature: nvcodec
Build-Depends: ffnvcodec
-Description: Hardware accelerated codecs
+Description: Nvidia video decoding/encoding acceleration
Feature: opencl
Build-Depends: opencl
-Description: OpenCL processing support in ffmpeg
+Description: OpenCL processing
+
+Feature: opengl
+Build-Depends: opengl, opengl-registry
+Description: OpenGL rendering
+
+Feature: openjpeg
+Build-Depends: openjpeg
+Description: JPEG 2000 de/encoding via OpenJPEG
Feature: openssl
Build-Depends: openssl, ffmpeg[core,nonfree]
-Description: openssl support in ffmpeg
+Description: Needed for https support if gnutls, libtls or mbedtls is not used
Feature: opus
Build-Depends: opus
-Description: Opus de/encoding via libopus support in ffmpeg
+Description: Opus de/encoding via libopus
Feature: sdl2
Build-Depends: sdl2
-Description: sdl2 support in ffmpeg
+Description: Sdl2 support
Feature: snappy
Build-Depends: snappy
-Description: Snappy compression, needed for hap encoding support in ffmpeg
+Description: Snappy compression, needed for hap encoding
Feature: soxr
Build-Depends: soxr
-Description: libsoxr resampling support in ffmpeg
+Description: Include libsoxr resampling
Feature: speex
Build-Depends: speex
-Description: Speex de/encoding via libspeex support in ffmpeg
+Description: Speex de/encoding via libspeex
+
+Feature: ssh
+Build-Depends: libssh
+Description: SFTP protocol via libssh
+
+Feature: tensorflow
+Build-Depends: tensorflow
+Description: TensorFlow as a DNN module backend for DNN based filters like sr
+
+Feature: tesseract
+Build-Depends: tesseract
+Description: Tesseract, needed for ocr filter
Feature: theora
Build-Depends: libtheora
-Description: Theora encoding via libtheora support in ffmpeg
+Description: Theora encoding via libtheora
Feature: vorbis
Build-Depends: libvorbis
-Description: Vorbis en/decoding via libvorbis support in ffmpeg
+Description: Vorbis en/decoding via libvorbis, native implementation exists
Feature: vpx
Build-Depends: libvpx
-Description: VP8 and VP9 de/encoding via libvpx support in ffmpeg
+Description: VP8 and VP9 de/encoding via libvpx
Feature: wavpack
Build-Depends: wavpack
-Description: wavpack encoding via libwavpack support in ffmpeg
+Description: Wavpack encoding via libwavpack
+
+Feature: webp
+Build-Depends: libwebp
+Description: WebP encoding via libwebp
Feature: x264
Build-Depends: x264, ffmpeg[core,gpl]
-Description: H.264 encoding via x264 support in ffmpeg
+Description: H.264 encoding via x264
Feature: x265
Build-Depends: x265, ffmpeg[core,gpl]
-Description: HEVC encoding via x265 support in ffmpeg
+Description: HEVC encoding via x265
+
+Feature: xml2
+Build-Depends: libxml2
+Description: XML parsing using the C library libxml2, needed for dash demuxing support
Feature: zlib
Build-Depends: zlib
-Description: zlib support in ffmpeg
+Description: zlib support