Commit Graph

192 Commits

Author SHA1 Message Date
Andrew Kaster
ba7070b86a
[ffmpeg] Only enable NASM for x86 and x64 (#42038) 2024-11-11 00:23:59 -08:00
Kai Pastor
f9f2b55c85
[ffmpeg] Update to 7.1 (#41856) 2024-11-03 17:26:30 -08:00
Kai Pastor
cff6ed4571
[ffmpeg] Decouple from automake1.16 (#41678) 2024-10-24 22:40:07 -07:00
Kai Pastor
07b30b49e5
[libdvdnav,libdvdread] New ports, with ffmpeg integration (#40898) 2024-10-23 00:05:17 -07:00
lemourin
2ed7067db9
[ffmpeg] fix cross builds on windows. (#41535) 2024-10-15 00:20:50 -07:00
Cheney Wang
134bc22be8
[ffmpeg] Fixes error when building in path with spaces in manifest mode (#40698) 2024-09-04 22:42:43 -07:00
gaoshan
a00ea194fa
[ffmpeg] reenable osx platform support for ffmpeg[sdl2] (#40391)
Co-authored-by: gs <gaoshan_yy@migu.cn>
Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com>
Co-authored-by: Monica <liuyumei01@beyondsoft.com>
2024-08-20 23:37:38 -07:00
Kai Pastor
c2a2189c1e
[ffmpeg] Fix build on windows (#40420) 2024-08-19 10:03:00 -07:00
jim wang
eaef71b136
[ffmpeg] Add feature harfbuzz (#40105) 2024-08-17 01:35:28 -07:00
Kadir
402bfa3a80
[ffmpeg] Update to version 7.0.2 (#40238)
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
2024-08-12 16:27:28 -07:00
Matthew Oliver
c66e3c2eea
[ffmpeg] Update to 7.0. (#38011) 2024-08-02 10:56:16 -07:00
Kai Pastor
f00e89ae19
[vcpkg-ci-ffmpeg, ffmpeg] Require CI pass on all triplets, fix dependencies (#39703) 2024-07-15 14:02:16 -04:00
Paolo Forni
293dded403
[ffmpeg] Fix iOS build on macos x64 (#39320) 2024-06-28 22:29:15 -07:00
gerard-ryan-immersaview
6db51d86a9
[vcpkg_replace_string] warn unchanged by call (#34719)
If a call to `vcpkg_replace_string` makes no changes i.e doesn't
effectively replace a string, A warning is logged.

This should also help identify ports that no longer need these calls to
fix things in `.pc` files etc.
2024-06-19 14:07:05 -07:00
jim wang
48d9ad4f0c
[ffmpeg] Fix build error on arm64-linux (#39268) 2024-06-17 11:42:28 -07:00
Kai Pastor
2017886818
[alsa,fdk-aac,ffmpeg,libsrt,snappy,x265] Code cleanup, fix and use pkg-config (#39077)
- Setup and use pkg-config for ffmpeg dependencies.
https://github.com/microsoft/vcpkg/pull/38011#discussion_r1623174355.
- Export actual c++ link libraries for fdk-aac via pkg-config. (Same
pattern as lerc, geos.)
- Rectify link libraries in pkg-config  for alsa, libsrt, snappy, x265.
- Burn-in dllimport for libsrt and x265.
- Pass detected STRIP to ffmpeg. Fixes
https://github.com/microsoft/vcpkg/issues/36852.
2024-06-06 00:48:31 -07:00
Billy O'Neal
a4275b7eee
Update macOS machines for May 2024 (#38834)
* Run through the macOS update instructions one more time. I think
they're in a pretty good state now since this is the first attempt to
rerun them since we dropped Vagrant.
* Removed Parallels references for arm64.
* Removed references to removing Vagrant because it's no longer on any
of the hosts.
* Update macOS to 14.5.
* Update XCode CLT to 14.3.
2024-06-04 13:35:41 -07:00
Alexander Neumann
9828b5b935
[FFmpeg] chromium patch (#38683)
Required to build qtwebengine and probably chromium itself with ffmpeg
on linux-dynamic
2024-05-27 23:10:28 -07:00
Kai Pastor
d201e6513b
[ffmpeg] Handle -F from libs (#38858)
Cherry-picked from #38658: Fixes errors like
~~~
CMake Error at
/Users/vcpkg/Data/installed/x64-osx/share/ffmpeg/FindFFMPEG.cmake:70
(find_library):
  Could not find

FFMPEG_DEPENDENCY_-F/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/System/Library/Frameworks_RELEASE
  using the following names:

-F/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/System/Library/Frameworks
Call Stack (most recent call first):
/Users/vcpkg/Data/installed/x64-osx/share/ffmpeg/FindFFMPEG.cmake:144
(append_dependencies)

/Users/vcpkg/Data/installed/x64-osx/share/ffmpeg/vcpkg-cmake-wrapper.cmake:25
(_find_package)
/Users/vcpkg/Data/work/1/s/scripts/buildsystems/vcpkg.cmake:813
(include)
  CMakeLists.txt:32 (find_package)
~~~
2024-05-22 23:44:41 -07:00
Alexander Neumann
c591ac6466
[Qt] Update to 6.6.3 (#37731)
Fixes https://github.com/microsoft/vcpkg/issues/37766
2024-04-30 11:50:26 -07:00
Martin Hořeňovský
ed325ed277
[ffmpeg] OpenSSL feature requires LGPL v3, not non-free license (#36879)
OpenSSL has moved to Apache 2 license, which is clearly compatible with
LGPL v3 (but not v2.1, which is ffmpeg's default). Note that FFmpeg devs
believe that the previous license is also compatible with LGPL (any
version), but not GPL.

See
37702e2066/LICENSE.md (incompatible-libraries)
for more details.

Note that the upstream also believes that Fraunhofer FDK AAC is also
compatible with LGPL, but IANAL and fdk-aac uses its own custom license.

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] ~~SHA512s are updated for each updated download.~~
- [x] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [x] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [x] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-02-28 17:21:05 -08:00
Vinogradov Daniil
47a132e8ed
[FFMpeg] better iOS support (#36835)
<!-- If your PR fixes issues, please note that here by adding "Fixes
#NNNNNN." for each fixed issue on separate lines. -->

<!-- If you are still working on the PR, open it as a Draft:
https://github.blog/2019-02-14-introducing-draft-pull-requests/. -->

If this PR updates an existing port, please uncomment and fill out this
checklist:

- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [X] SHA512s are updated for each updated download.
- [X] The "supports" clause reflects platforms that may be fixed by this
new version.
- [X] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [X] Any patches that are no longer applied are deleted from the port's
directory.
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.

<!-- If this PR adds a new port, please uncomment and fill out this
checklist:

- [ ] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] The name of the port matches an existing name for this component
on https://repology.org/ if possible, and/or is strongly associated with
that component on search engines.
- [ ] Optional dependencies are resolved in exactly one way. For
example, if the component is built with CMake, all `find_package` calls
are REQUIRED, are satisfied by `vcpkg.json`'s declared dependencies, or
disabled with
[CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html).
- [ ] The versioning scheme in `vcpkg.json` matches what upstream says.
- [ ] The license declaration in `vcpkg.json` matches what upstream
says.
- [ ] The installed as the "copyright" file matches what upstream says.
- [ ] The source code of the component installed comes from an
authoritative source.
- [ ] The generated "usage text" is accurate. See
[adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md)
for context.
- [ ] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [ ] Only one version is in the new port's versions file.
- [ ] Only one version is added to each modified port's versions file.

END OF NEW PORT CHECKLIST (delete this line) -->
2024-02-21 09:54:06 -08:00
JonLiu1993
5a58e645ce
[FFmpeg] update to 6.1.1 (#36443)
* [FFmpeg] update to 6.1.1

* update version

---------

Co-authored-by: Jon <v-zhli17@microsoft.com>
2024-01-30 12:39:15 -08:00
Mathieu Pellerin
6a0137291e
[ffmpeg] Enable JNI and MediaCodec backends on Android (#35985) 2024-01-03 17:40:43 -08:00
Lily Wang
599b80d352
[ffmpeg] Support cross compile with QNX (#35228)
* [ffmpeg] Support cross compile with QNX

* update version
2023-11-29 01:12:59 -08:00
Julian Xhokaxhiu
b58df11608
[ffmpeg] Bump to 6.1 (#35042)
* [ffmpeg] Bump to 6.1

* [ffnvcodec] Bump to 11.1.5.3

* vcpkg x-add-version --all

* [avisynthplus] Bump to 3.7.3

* vcpkg x-add-version --all

* [avisynthplus] Remove no more required patch

* vcpkg x-add-version --all

* Apply suggestions from code review

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* vcpkg x-add-version --all

---------

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
2023-11-14 12:54:21 -08:00
Paweł Wegner
7a6f366cef
[ffmpeg] fix cross builds on windows host (#34657)
Two issues:

* we should get msys2 when building on windows, not targeting windows.
* removed usage of LIBRARY_PATH since it is ignored when cross-compiling [1].

Tested building for android on windows and works fine.

[1]: https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html#index-LIBRARY_005fPATH
2023-10-24 11:53:01 -07:00
Martin Hořeňovský
d79815eed6
[ffmpeg] Enable dav1d feature on osx (#34421) 2023-10-13 10:56:49 -07:00
Matthew Oliver
1b4d69f302
[ffmpeg] Update to 6.0 (#30135)
* [amd-amf] Update to 1.4.29

* [ffnvcodec] Update to 11.1.5.2

* [mfx-dispatch] Fix pkgconfig

* [ffmpeg] Update to 6.0

* update versions

* [amd-amd] Fix merge

* Update ffmpeg.json

* ffmpeg: Remove libpng dependency.

Ffmpeg doesnt have a libpng dependency. All thats needed for png support is zlib which has its own option already

* Update ffmpeg.json

* [ignition-common3] patch for ffmpeg3

* [freerdp] Update to 2.11.1

* Revert "Merge pull request #1 from autoantwort/ffmpeg"

This reverts commit b52416c67d, reversing
changes made to 8fdd44e901.

* Update ffmpeg.json

* Update ffmpeg.json

---------

Co-authored-by: Leander Schulten <Leander.Schulten@rwth-aachen.de>
2023-09-26 14:59:05 -07:00
Paweł Wegner
c67a3059bb
[ffmpeg] Fix android build on macOS host. (#33943)
ranlib from xcode, which is picked up by default by FFmpeg build system, breaks the .a files.
Explicitly point to ranlib from NDK.
2023-09-25 23:55:39 -07:00
autoantwort
335c1d1029
[ffmpeg] fix feature vpx (#33796) 2023-09-19 09:48:22 -07:00
Sander Cox
8413fd7fc2
[ffmpeg] enable a feature to support libpng (#33561) 2023-09-06 13:06:03 -07:00
LeenHawk
d383622653
fix ffmpeg build failed with GCC13 or binutils (#32812) 2023-07-31 11:34:15 -07:00
Daniel Schürmann
7f59e00136
[ffmpeg] Osx cross fix (#30692)
* [ffmpeg] Fix off-by-one issue when looping over the OSX_ARCHS

This fixes crosscompiling e.g. arm64 on x64

* [ffmpeg] Remove redundant --enable-cross-compile flag

* [ffmpeg] Bump port version
2023-04-06 17:29:23 -07:00
Paweł Wegner
62578200ab
[ffmpeg] don't enable asm on android for all archs. (#30020)
It doesn't build.
2023-03-08 15:02:23 -08:00
Leonid Pospelov
5d572fd456
[ffmpeg] fix emscripten build (#29510)
* [ffmpeg] do not require nasm for wasm32 build

* addver

* Update ffmpeg.json

* .

* .
2023-02-13 08:36:50 -08:00
omartijn
37fce29a26
Don't set incorrect arch flag for multi-arch build (#29524)
Co-authored-by: Martijn Otto <martijn@resolume.com>
2023-02-09 14:59:00 -08:00
Paweł Wegner
11fbf278cc
ffmpeg: don't request schannel on uwp. (#29337)
schannel is not available on uwp.
2023-02-06 10:15:24 -08:00
Matthew Oliver
e5143067da
[ffmpeg] Enable openmpt and update feature platforms. (#29216)
* [ffmpeg] Enable openmpt and update feature platforms.

* [ffmpeg] Update versions.
2023-01-31 18:10:57 -08:00
Matthew Oliver
5962fd3c53
[ffmpeg] Update to 5.1.2. (#28955)
* [opencv4] Update t 4.7.0.

* update versions.

* [rtabmap] Support opencv 4.7.

* Update versions.

* [ffmpeg] Update to 5.1.2.

* [ffmpeg] Use $VERSION

* [ffmpeg] Update versions.

* [nasm] Update to 2.16.01.

* [ffmpeg] Fix linker crash with nasm.

* [discordapi] Update to 2023-01-02 version.

* Update versions.

* [pangolin] Fix issue with ffmpeg 5.1.

* Update versions

* [ffmpeg] Fix nasm compilation with x86.

* Update ffmpeg.json

* Update ffmpeg.json

* Update portfile.cmake

* Update ffmpeg.json

* Update baseline.json

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-26 19:59:17 -08:00
Paweł Wegner
47a020d619
[ffmpeg] add android support (#29092)
* [ffmpeg] add android support

* [ffmpeg] bump port version
2023-01-23 16:52:20 -08:00
MonicaLiu
e51afe4695
[ffmpeg] Install the usage file (#28894)
* update ffmpeg

* update version

Co-authored-by: MonicaLiu <v-liumonica@microsoft.com>
2023-01-17 00:05:47 -08:00
Alexander Neumann
c2a2bf5673
[ffmpeg] use toolchain (#28758)
* [ffmpeg] setup toolchain more completly.

* v db

* fix build issues?

* only use ld for windows

* add SAVE_LOG_FILES

* add pkgconf.exe

* v db
2023-01-09 10:35:09 -08:00
Matthew Oliver
989e976a1e
[ffmpeg] Update to 5.0.2. (#28711)
* [ffmpeg] Update to 5.0.2

* [ffmpeg] Update versions.

* [ffmpeg] Fix FindFFmpeg atomic.

* Add back yasm fallback

* Update ffmpeg.json

* [ffmpeg] Enable core OSX features.

* Update ffmpeg.json

* [ffmpeg] Fix unavailable core OS features.

* Update ffmpeg.json

* [ffmpeg] Fix Linux default OS features.

* Update ffmpeg.json
2023-01-05 05:20:29 -08:00
Matthew Oliver
0f719b3fdf
[ffmpeg] Update to 5.0 (#23312)
* [ffmpeg] Update to 5.0

* update versions

* Fix after merge.

* ffmpeg: Fix lzma debug lib naming.

* Update ffmpeg.json

* Update ffmpeg.json

* Update ffmpeg.json

* fixup versions.

* fixup

* version fixup

* Update ffmpeg.json

* [ffmpeg] Disable autodetect.

* [ffmpeg] Update version.

* [ffmpeg] fixup autodetect on linux/uwp.

* Update ffmpeg.json

* [avcpp] Update to 2.1.0.

* [pangolin] Update to 0.8.

* Update versions.

* [pangolin] Fixup port file.

* Update pangolin.json

* [aubio] Update to latest git master.

* Update pangolin.json

* [avcpp] Add license field.

* [avcpp] Fix pkgconf detection of ffmpeg.

* [ignition-cmake] Update to 2.16.0.

* [ignition-math6] Update to 6.13.0.

* [ignition-common3] Update to 3.14.1.

* [avcpp] Reformat.

* Update versions.

* [avcpp] Fix pkgconfig cross compile.

* [discordcoreapi] Disable on uwp.

* Update versions

* [aubio] Fix deprecated portfile functions.

* Update versions.

* [ffmpeg] Fix amf/mfx feature.

* [ignition-math6] Require python 3.10.

* Update versions.

* fixup

* [ignition-math6] Change version to last known good 6.9.2.

* [discordcoreapi] Properly Fix.

* Update versions.

* Update versions.

* Update ffmpeg.json

* Update ffmpeg.json
2023-01-03 10:32:17 -08:00
Frank
696faa8308
[ffmpeg] Add feature libopenmpt (#27884)
* [ffmpeg] Add feature libopenmpt

* update version

* Correct Dependency

* version

* version

* add port-version

* update version

* revert version
2022-12-31 01:36:38 -08:00
Francisco Facioni
2112a10f4a
x265 works on arm linux (#28458) 2022-12-28 13:09:32 -08:00
reito
6a19c0f10a
[ffmpeg/mfx-dispatch] Add mfx-dispatch port, add qsv support and amf support for ffmpeg 4.4.3 (#28263)
* add mfx-dispatch port

* add mfx-dispatch port - versions

* add mfx-dispatch port - versions

* add ffmpeg qsv support

* add ffmpeg qsv port

* add ffmpeg qsv port - versions

* add ffmpeg qsv port - versions

* add ffmpeg qsv port - versions

* add ffmpeg qsv port - versions

* add ffmpeg qsv port - versions

* add ffmpeg qsv port - fix qsv init bug

* add ffmpeg qsv port - versions

* add ffmpeg qsv port - versions

* add ffmpeg qsv port - fix patch 0023

* add ffmpeg qsv port - versions

* add ffmpeg qsv port - fix 0023

* add ffmpeg qsv port - fix 0023

* add ffmpeg qsv port - fix 0023

* add ffmpeg qsv port - fix 0023

* add ffmpeg qsv port - fix 0023

* add ffmpeg qsv port - fix PR

* add ffmpeg qsv port - versions

* add ffmpeg qsv port - simplify 0023

* add ffmpeg qsv port - 0023

* add ffmpeg qsv port - 0023

* add ffmpeg qsv port - 0023

* add ffmpeg qsv port - 0023

* add ffmpeg qsv + amf port

* add ffmpeg qsv + amf port

* add ffmpeg qsv + amf port

* Create fix-unresolved-symbol.patch

* Update mfx-dispatch.json
2022-12-20 09:46:08 -08:00
omartijn
5d7ad6b5ae
[ffmpeg] Update to 4.4.3 (#27713)
* Update ffmpeg to 4.4.3

- Backport fix for h.264 hardware decoding on M1 macs
- ffmpeg links against built-in atomic, not a findable lib

* add missing extension for new patch

* version!

Co-authored-by: Martijn Otto <martijn@resolume.com>
Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
2022-11-14 14:29:28 -08:00
Cheney Wang
48cc0c71ed
[ffmpeg] Remove the download address of gcc under windows arm (#26594)
* [ffmpeg] Update the download address of gcc under windows arm

* Never gcc download under windows arm

* update ffmpeg.json

* Removed download requirement for "cpp.exe" preprocessor

* x-add-version
2022-10-27 11:56:00 -07:00