Skip to content

Commit

Permalink
[FFMpeg] better iOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
XITRIX committed Feb 18, 2024
1 parent 13bde2f commit f1f3387
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ports/ffmpeg/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ elseif(VCPKG_TARGET_IS_WINDOWS)
string(APPEND OPTIONS " --target-os=win32 --enable-w32threads --enable-d3d11va --enable-dxva2 --enable-mediafoundation")
elseif(VCPKG_TARGET_IS_OSX)
string(APPEND OPTIONS " --target-os=darwin --enable-appkit --enable-avfoundation --enable-coreimage --enable-audiotoolbox --enable-videotoolbox")
elseif(VCPKG_TARGET_IS_IOS)
string(APPEND OPTIONS " --enable-avfoundation --enable-coreimage --enable-videotoolbox")
elseif(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Android")
string(APPEND OPTIONS " --target-os=android --enable-jni --enable-mediacodec")
elseif(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "QNX")
Expand Down Expand Up @@ -398,6 +400,8 @@ else()
string(APPEND OPTIONS " --enable-schannel")
elseif(VCPKG_TARGET_IS_OSX)
string(APPEND OPTIONS " --enable-securetransport")
elseif(VCPKG_TARGET_IS_IOS)
string(APPEND OPTIONS " --enable-securetransport")
endif()
endif()

Expand Down
1 change: 1 addition & 0 deletions ports/ffmpeg/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "ffmpeg",
"version": "6.1.1",
"port-version": 1,
"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."
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2638,7 +2638,7 @@
},
"ffmpeg": {
"baseline": "6.1.1",
"port-version": 0
"port-version": 1
},
"ffnvcodec": {
"baseline": "11.1.5.3",
Expand Down
5 changes: 5 additions & 0 deletions versions/f-/ffmpeg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [

Check failure on line 2 in versions/f-/ffmpeg.json

View check run for this annotation

Azure Pipelines / microsoft.vcpkg.pr (x86_windows)

versions/f-/ffmpeg.json#L2

versions/f-/ffmpeg.json(2,): error : while parsing versions for ffmpeg from version/f-/ffmpeg.json

Check failure on line 2 in versions/f-/ffmpeg.json

View check run for this annotation

Azure Pipelines / microsoft.vcpkg.pr

versions/f-/ffmpeg.json#L2

versions/f-/ffmpeg.json(2,): error : while parsing versions for ffmpeg from version/f-/ffmpeg.json
{
"git-tree": "cde9944f0f87e8bf96b08bdfd42215b1ef77e26d",
"version": "6.1.1",
"port-version": 1
},
{
"git-tree": "1bb35d5c0d560a56e6429ca412c7bc5f3e55e930",
"version": "6.1.1",
Expand Down

0 comments on commit f1f3387

Please sign in to comment.