* [ffmpeg] Block "tensorflow" for the "all" feature on non-x64.
In https://github.com/microsoft/vcpkg/pull/21980/ , we removed all the blocks for tensorflow which were merely replicating that upstream's "supports" expression. That is the correct behavior: if upstream adds support for a thing, it should start being tested downstream. However, the "all" and "all-nonfree" features of ffmpeg attempt to turn on what is really "all supported" rather than "all", so the feature-dependency needs to be guarded.
Note that the ffmpeg[tensorflow] feature remains unguarded! It is ffmpeg[all]'s *dependency* on ffmpeg[tensorflow] that is guarded.
* Also guard ass, tensorflow, and fontconfig for uwp
* Update HTTP to HTTPS links where it can be done safely.
This means that the HTTP-based link gave a 200 response with identical
content to the HTTPS version of the link. For links containing
variables, we checked the interpolated (real) link.
* Bump relevant vcpkg.json versions.
* Use version-date for cello.
* update version
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
* [ffmpeg] Update dependency support for recent changes.
Updates for changes in commits:
7bb175e [aom/libavif] Add support for ARM and UWP
a8204d9 [fribidi] Support new platform
* update
* [ffmpeg] update x264 supports.
* Fix version database.
* update
* Update all platform checks and error messages
* Update vcpkg.json
* Update ffmpeg.json
* fixup osx.
* another osx fixup
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [ffmpeg/opencv4] Update opencv4 feature dependency and remove ffmpeg feature 'postproc' from default feature
* Update the baseline version
* [opencv3] Update the feature dependency
* Update the baseline
* [opencv2] Update the feature dependency
* Update the baseline version
* Fix uwp build failures
* Update the baseline version
* Fix opencv2 version
* update the baseline version
* update the baseline version
* Un-edit git-tree.
* Update cuda feature
* Update the baseline
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [fdk-aac] make patent-encumbered HE-AAC optional
By default, use a fork of fdk-aac (which was originally written
by Fraunhofer for the Android Open Source Project) which has
support for the patent-encumbered HE-AAC, HE-AACv2, and xHE-AAC
profiles removed. This fork is used by Fedora and Arch Linux to
provide support for most AAC use cases without patent licensing
fees and to permit combining it with GPL software. The upstream
fdk-aac with support for all AAC profiles can be built with the
new 'he-aac' option for this port.
Fedora Legal's opinion, from
https://bugzilla.redhat.com/show_bug.cgi?id=1501522#c112 :
The Fedora Project is aware that the Free Software Foundation
has stated that the Fraunhofer FDK AAC license is GPL
incompatible, specifically, because of Clause 3.
We believe that the fdk-aac software codec implementation that we
wish to include in Fedora is no longer encumbered by AAC patents.
This fact means that Clause 3 in the FDK AAC license is a "no op",
or to put it plainly, if no patents are in play, there are no
patent licenses to disclaim. For this (and only this) specific
implementation of fdk-aac, we believe that the FDK AAC license is
GPL compatible.
Also:
* remove restriction on dynamic linking. Upstream has a .def
file which is used by CMake.
* replace deprecated vcpkg functions
* [ffmpeg] use fdk-aac[he-aac] for fdk-aac feature
There is no point to this feature without HE-AAC because FFmpeg has
its own AAC codec that does not support HE-AAC.
* [ffmpeg] fix cross compilation on mac arm64 to x86_64
* Bump port-version
* Bump port-version again.
Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
* [ffmpeg] do not pull in postproc for LGPL build
* [ffmpeg] disable avisynthplus on static builds (as it is not functional)
* [ffmpeg] bump port version
* [ffmpeg] x-add-version
* Expand Architecture list with escape chars
This expands the architecture lists with escape characters. When
building FAT binaries for macos using multiple architectures in the
values they need to be escaped otherwise they are passed on to CMake
incorrectly #14932
* Adding the architecture fix to vcpkg-cmake port
updating port vcpkg-cmake version
* updated version in baseline
* Allow building ffmpeg for multiple architectures on macOS
Since ffmpeg does _not_ support multi-arch builds due to their use of
autotools and config.h which then includes the wrong platform-dependent
functions, we must perform two separate builds and join them using lipo
* fixup! Allow building ffmpeg for multiple architectures on macOS
* fixup! Allow building ffmpeg for multiple architectures on macOS
Co-authored-by: Sander Cox <sander@paralleldimension.nl>
Co-authored-by: Martijn Otto <martijn@resolume.com>
* [ffmpeg] fix release-only builds
* [ffmpeg] bump port version
* [ffmpeg] x-add-version
* [ffmpeg] strequal: use quotes when comparing against strings
* [ffmpeg] x-add-version
* [ffmpeg] use ffbuild/config.mak to get dependencies
* [ffmpeg] bump port version
* [ffmpeg] x-add-version
* [ffmpeg] fix dependency issue on x64-linux
* [ffmpeg] x-add-version
* [ffmpeg] link order fix on linux
* [ffmpeg] x-add-version
* [ffmpeg] bump port version
* [ffmpeg] x-add-version
* [ffmpeg] exclude -lgcc and -lgcc_s (causes issues on azure for unknown reasons)
* [ffmpeg] x-add-version
* [ffmpeg] handle -lgcc and -lgcc_s appropriately
* [ffmpeg] x-add-version
* [ffmpeg] use x_vcpkg_pkgconfig_get_modules to get info, added some more fixes to generated for pkgconfig files
* [ffmpeg] report dependencies (for now, helps debugging)
* [vcpkg-pkgconfig-get-modules] bump port version
* [ffmpeg] [vcpkg-pkgconfig-get-modules] x-add-version
* [ffmpeg] fix variant issue
* [ffmpeg] x-add-version
* [ffmpeg] reformat manifest
* [ffmpeg] x-add-version
* [ffmpeg] remove duplicate avfilter library from dependencies
* [ffmpeg] fix -pthread / -pthreads on linux
* [ffmpeg] x-add-version
* [ffmpeg] fix dynamic builds when no libraries need to be linked
* [ffmpeg] x-add-version
* [ffmpeg] disable openh264 on uwp when building all
* [ffmpeg] x-add-version
* [avcpp] fix uwp build failure due to deprecations treated as errors
* [avcpp] bump port version
* [avcpp] x-add-version
* [avcpp] smaller patch
* [avcpp] x-add-version
* [ffmpeg] x-add-version
* [FFmpeg] Add support for arm64 on macOS
* [ffmpeg] x-add-version
* [ffmpeg] Rename version-string to version
* [ffmpeg] x-add-version
* minor fixes
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
* [ffmpeg] update to version 4.4
* [ffmpeg] format-manifest
* [ffmpeg] remove avresample as default feature (it is deprecated, not upstream default, and will be removed in 4.5)
* [ffmpeg] x-add-version
* [ffmpeg] add avresample under the all feature
* [ffmpeg] x-add-version
* [ffmpeg] remove unused patch
* [ffmpeg] x-add-version
* [ffmpeg] remove wavpack from FindFFMPEG
* [ffmpeg] x-add-version
* [ffmpeg] fix compile cuda issue
* [ffmpeg] x-add-version
* [ffmpeg] only apply cuda compile patch on windows targets
* [ffmpeg] x-add-version
* [ffmpeg] fix dnn dependency
The source file "libavfilter/dnn/dnn_backend_native.h" includes
"libavformat/avio.h", so avformat needs to be declared as a dependency.
This fixes the build of ffmpeg[core,avfilter]:x64-windows.
Posted upstream here:
http://ffmpeg.org/pipermail/ffmpeg-devel/2021-May/279926.html
Whilst at it, I've also added a link to the other avfilter patch:
http://ffmpeg.org/pipermail/ffmpeg-devel/2021-May/279927.html
* [ffmpeg] version bump
* [ffmpeg] x-add-version
* [openimageio] revert accidentally committed change that is meant for other PR
* [ffmpeg] no longer hardcode version strings in FindFFMPEG script
* [ffmpeg] bump port version
* [ffmpeg] x-add-version
* [ffmpeg] use OUTPUT_VARIABLE for extract_version_from_component
* [ffmpeg] x-add-version
* Apply suggestions from code review
* [ffmpeg] fix minor typo
* [ffmpeg] fix another minor typo
* [ffmpeg] x-add-version
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
* [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 94065bfe84.
* [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 2543be2edf
* update versions
* Correct port version after merge.
* update versions.
* [ffmpeg] Fix cmake dependency detection on non-windows.
* Revert "revert pangolin commit"
This reverts commit f59bc5a53e.
* [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>
* Fix FindFFMPEG lib versions for opencv[ffmpeg]
libavutil, libavdevice, etc. define their versions separate from FFMPEG main version in a version.h file located with each component headers.
This change fixes building opencv[ffmpeg] when it attempts to discover the individual versions of FFMPEG libs. Before this change opencv[ffmpeg] would build but the FFMPEG functionality was disabled since all the lib versions were set to 4.3.1
* Modified Port-Version of CONTROL to 13
Ran vcpkg.exe x-add-version ffmpeg
* Ran vcpkg.exe x-add-version ffmpeg --overwrite-version per Cheney-W's instructions
* Updated Port-Version of CONTROL to 1 for FFMPEG version 4.3.2
* Ran vcpkg x-add-version ffmpeg
* [ffmpeg] avfilter: fix library ordering on linux and fix feature dependencies
* [ffmpeg] bump port version
* [ffmpeg] add OpenGL, Foundation, CoreGraphics, AppKit and CoreImage for osx (needed for avfilter)
* [ffmpeg] update git-tree
* [ffmpeg] restrict new osx dependencies to avfilter feature
* [ffmpeg] update git-tree
* [ffmpeg] remove avfilter dependencies
Note this exposes a bug in upstream, will need fix in ffmpeg configure script itself.
* [ffmpeg] improve macos framework dependencies
* [ffmpeg] update git-tree
* [ffmpeg] patch for filter dependencies in configure script
* [ffmpeg] update git-tree
* [ffmpeg] apple framework fix: securetransport is part of avformat and not avdevice
* [ffmpeg] update git-tree
* [ffmpeg] use nasm instead of yasm
* [ffmpeg] bump port version
* [ffmpeg] remove old yasm path reference
* update baseline
* [ffmpeg] fall back to yasm on x86
* [ffmpeg] add comment in portfile about issue with ffmpeg nasm build for future reference
* [ffmpeg] update git-tree
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>