mirror of
https://github.com/microsoft/vcpkg
synced 2024-11-21 16:09:03 -07:00
[ffmpeg] Only enable NASM for x86 and x64 (#42038)
This commit is contained in:
parent
54e04ebab6
commit
ba7070b86a
4 changed files with 8 additions and 2 deletions
|
@ -23,7 +23,7 @@ if(SOURCE_PATH MATCHES " ")
|
|||
message(FATAL_ERROR "Error: ffmpeg will not build with spaces in the path. Please use a directory with no spaces")
|
||||
endif()
|
||||
|
||||
if(NOT VCPKG_TARGET_ARCHITECTURE STREQUAL "wasm32")
|
||||
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
||||
vcpkg_find_acquire_program(NASM)
|
||||
get_filename_component(NASM_EXE_PATH "${NASM}" DIRECTORY)
|
||||
vcpkg_add_to_path("${NASM_EXE_PATH}")
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "ffmpeg",
|
||||
"version": "7.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."
|
||||
|
|
|
@ -2746,7 +2746,7 @@
|
|||
},
|
||||
"ffmpeg": {
|
||||
"baseline": "7.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"ffnvcodec": {
|
||||
"baseline": "12.2.72.0",
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "8bf6bad9b522d47e259a13d9033a825a6abd41a9",
|
||||
"version": "7.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "2f0b2eabf82953dfedabf9ed344318d5d411373f",
|
||||
"version": "7.1",
|
||||
|
|
Loading…
Reference in a new issue