Commit Graph

4 Commits

Author SHA1 Message Date
jim wang
62aa449299
[fdk-aac] Add restriction feature he-aac does not support Android platform (#36891)
Fixes https://github.com/microsoft/vcpkg/issues/36868
According to the upstream author's
[comment](https://github.com/mstorsjo/fdk-aac/issues/124#:~:text=This%20project%20isn%27t,the%20MediaCodec%20API.),
this feature does not support the Android platform.

- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~~SHA512s are updated for each updated download.~~
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~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.

All features passed with following triplets:

```
x86-windows
x64-windows
x64-windows-static
```
2024-02-22 10:23:06 -08:00
Marc
a9f6994ced
[fdk-aac] add license field and use vcpkg_install_copyright() (#32467)
* [fdk-aac] add license field and use vcpkg_install_copyright()

* Update version database
2023-07-10 09:53:25 -07:00
Be
d306ab43c7
[fdk-aac] make patent-encumbered HE-AAC optional (#16007)
* [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.
2021-08-12 15:56:51 -07:00
Matthew Oliver
0b54c4604e
[fdk-aac] Update to version 2.0.2. (#18549)
* [fdkaac] Update to version 2.0.2.

* [fdk-aac] Remove unused files.

* Update fdk-aac.json

* Update ports/fdk-aac/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* test uwp|arm compilation.

* Update fdk-aac.json

* Convert to json.

* Update vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2021-06-24 13:16:59 -07:00